You are here

public function InfoParserUnitTest::providerInvalidCore in Drupal 9

File

core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php, line 281

Class

InfoParserUnitTest
Tests InfoParser class and exception.

Namespace

Drupal\Tests\Core\Extension

Code

public function providerInvalidCore() {
  return [
    '^8' => [
      '^8',
      'caret8',
    ],
    '^9' => [
      '^9',
      'caret9',
    ],
    '7.x' => [
      '7.x',
      '7.x',
    ],
    '9.x' => [
      '9.x',
      '9.x',
    ],
    '10.x' => [
      '10.x',
      '10.x',
    ],
  ];
}