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 ecc403a commit 5ae87ffCopy full SHA for 5ae87ff
build/gen_stub.php
@@ -54,7 +54,7 @@ function processDirectory(string $dir, Context $context): array {
54
);
55
foreach ($it as $file) {
56
$pathName = $file->getPathName();
57
- if (preg_match('/\.stub\.php$/', $pathName)) {
+ if (substr($pathName, -9) === '.stub.php') {
58
$pathNames[] = $pathName;
59
}
60
0 commit comments