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 1e7ceae commit 1501229Copy full SHA for 1501229
compiler/build/scoper.inc.php
@@ -23,8 +23,13 @@
23
$stubs[] = $file->getPathName();
24
}
25
26
+exec('git rev-parse --short HEAD', $gitCommitOutputLines, $gitExitCode);
27
+if ($gitExitCode !== 0) {
28
+ die('Could not get Git commit');
29
+}
30
+
31
return [
- 'prefix' => null,
32
+ 'prefix' => sprintf('_PHPStan_%s', $gitCommitOutputLines[0]),
33
'finders' => [],
34
'files-whitelist' => $stubs,
35
'patchers' => [
0 commit comments