public function InfoParserUnitTest::providerCoreVersionRequirementInvalid in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php \Drupal\Tests\Core\Extension\InfoParserUnitTest::providerCoreVersionRequirementInvalid()
Dataprovider for testCoreVersionRequirementInvalid().
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ InfoParserUnitTest.php, line 321
Class
- InfoParserUnitTest
- Tests InfoParser class and exception.
Namespace
Drupal\Tests\Core\ExtensionCode
public function providerCoreVersionRequirementInvalid() {
return [
'8.0.0-alpha2' => [
'alpha2',
'8.0.0-alpha2',
],
'8.6.0-rc1' => [
'rc1',
'8.6.0-rc1',
],
'^8.7' => [
'8_7',
'^8.7',
],
'>8.6.3' => [
'gt8_6_3',
'>8.6.3',
],
];
}