function InfoParserUnitTest::providerCoreVersionRequirementInvalid
Same name 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',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.