Skip to content

Commit d83934e

Browse files
committed
Issue bot - use FNSR
1 parent 283136a commit d83934e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

issue-bot/src/Console/RunCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use function implode;
2121
use function is_file;
2222
use function microtime;
23+
use function putenv;
2324
use function serialize;
2425
use function sha1;
2526
use function sprintf;
@@ -111,6 +112,7 @@ private function analyseHash(OutputInterface $output, int $phpVersion, Playgroun
111112
$output->writeln(sprintf('Starting analysis of %s', $hash));
112113

113114
$startTime = microtime(true);
115+
putenv('PHPSTAN_FNSR=1');
114116
exec(implode(' ', $commandArray), $outputLines, $exitCode);
115117
$elapsedTime = microtime(true) - $startTime;
116118
$output->writeln(sprintf('Analysis of %s took %.2f s', $hash, $elapsedTime));

0 commit comments

Comments
 (0)