You are here

public function SystemRequirementsTest::providerTestPhpVersionWithPdoDisallowMultipleStatements in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/src/Unit/SystemRequirementsTest.php \Drupal\Tests\system\Unit\SystemRequirementsTest::providerTestPhpVersionWithPdoDisallowMultipleStatements()

File

core/modules/system/tests/src/Unit/SystemRequirementsTest.php, line 26
Contains \Drupal\Tests\system\Unit\SystemRequirementsTest.

Class

SystemRequirementsTest
@coversDefaultClass Drupal\system\SystemRequirements @group system

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;
}