Skip to content

Commit f92b17a

Browse files
committed
Merge remote-tracking branch 'origin/1.12.x' into 2.0.x
2 parents 08df07a + f61d324 commit f92b17a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

compiler/build/scoper.inc.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,12 @@ function (string $filePath, string $prefix, string $content): string {
236236

237237
return str_replace('#[\\JetBrains\\PhpStorm\\Language(\'RegExp\')] ', '', $content);
238238
},
239+
function (string $filePath, string $prefix, string $content): string {
240+
if ($filePath !== 'vendor/fidry/cpu-core-counter/src/Finder/WindowsRegistryLogicalFinder.php') {
241+
return $content;
242+
}
243+
return str_replace(sprintf('%s\\\\reg query', $prefix), 'reg query', $content);
244+
},
239245
],
240246
'exclude-namespaces' => [
241247
'PHPStan',

0 commit comments

Comments
 (0)