We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5256703 commit d585384Copy full SHA for d585384
tests/ParserFrameworkValidationTests.php
@@ -19,7 +19,7 @@ public function frameworkErrorProvider() {
19
20
foreach (new RecursiveIteratorIterator($iterator) as $file) {
21
$pathName = $file->getPathname();
22
- if (preg_match('@\.php$@', $pathName) > 0) {
+ if (preg_match('/\.php$/', $pathName) > 0) {
23
// Include files ending in ".php", but don't include XML(foo.phpunit.xml) or binary files (foo.php.gz)
24
$totalSize += $file->getSize();
25
$testProviderArray[$frameworkName . "::" . $file->getBasename()] = [$pathName, $frameworkName];
0 commit comments