function InfoParserUnitTest::providerInvalidCore

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',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.