Skip to content

Commit d585384

Browse files
authored
Use slashes
1 parent 5256703 commit d585384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ParserFrameworkValidationTests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function frameworkErrorProvider() {
1919

2020
foreach (new RecursiveIteratorIterator($iterator) as $file) {
2121
$pathName = $file->getPathname();
22-
if (preg_match('@\.php$@', $pathName) > 0) {
22+
if (preg_match('/\.php$/', $pathName) > 0) {
2323
// Include files ending in ".php", but don't include XML(foo.phpunit.xml) or binary files (foo.php.gz)
2424
$totalSize += $file->getSize();
2525
$testProviderArray[$frameworkName . "::" . $file->getBasename()] = [$pathName, $frameworkName];

0 commit comments

Comments
 (0)