function SystemRequirementsTest::providerTestPhpVersionWithPdoDisallowMultipleStatements

File

core/modules/system/tests/src/Unit/SystemRequirementsTest.php, line 24

Class

SystemRequirementsTest
@coversDefaultClass \Drupal\system\SystemRequirements @group system @group legacy

Namespace

Drupal\Tests\system\Unit

Code

public function providerTestPhpVersionWithPdoDisallowMultipleStatements() {
    $data = [];
    $data[] = [
        '5.4.2',
        FALSE,
    ];
    $data[] = [
        '5.4.21',
        FALSE,
    ];
    $data[] = [
        '5.5.9',
        FALSE,
    ];
    $data[] = [
        '5.5.20',
        FALSE,
    ];
    $data[] = [
        '5.5.21',
        TRUE,
    ];
    $data[] = [
        '5.5.30',
        TRUE,
    ];
    $data[] = [
        '5.6.2',
        FALSE,
    ];
    $data[] = [
        '5.6.5',
        TRUE,
    ];
    $data[] = [
        '5.5.21',
        TRUE,
    ];
    return $data;
}

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