public function InfoParserUnitTest::providerCoreVersionRequirementInvalid in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php \Drupal\Tests\Core\Extension\InfoParserUnitTest::providerCoreVersionRequirementInvalid()
Data provider for testCoreVersionRequirementInvalid().
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ InfoParserUnitTest.php, line 450
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',
],
];
}