comparison vendor/squizlabs/php_codesniffer/tests/Standards/AllSniffs.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
68 $testPath = realpath(__DIR__.'/../../src/Standards/'.$standard); 68 $testPath = realpath(__DIR__.'/../../src/Standards/'.$standard);
69 } else { 69 } else {
70 $testPath = $details['path']; 70 $testPath = $details['path'];
71 } 71 }
72 72
73 if (in_array($standard, $ignoreTestsForStandards) === true) { 73 if (in_array($standard, $ignoreTestsForStandards, true) === true) {
74 continue; 74 continue;
75 } 75 }
76 76
77 $testsDir = $testPath.DIRECTORY_SEPARATOR.'Tests'.DIRECTORY_SEPARATOR; 77 $testsDir = $testPath.DIRECTORY_SEPARATOR.'Tests'.DIRECTORY_SEPARATOR;
78 if (is_dir($testsDir) === false) { 78 if (is_dir($testsDir) === false) {