Skip to content

Commit 4a95206

Browse files
committed
PHPStan Pro - pass fixerTmpDir to PHPStan Pro executable
1 parent 6891738 commit 4a95206

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Command/FixerApplication.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ private function getFixerProcess(OutputInterface $output, int $serverPort): Proc
237237
}
238238

239239
$env = getenv();
240+
$env['PHPSTAN_PRO_TMP_DIR'] = $this->fixerTmpDir;
240241
$forcedPort = $_SERVER['PHPSTAN_PRO_WEB_PORT'] ?? null;
241242
if ($forcedPort !== null) {
242243
$env['PHPSTAN_PRO_WEB_PORT'] = $_SERVER['PHPSTAN_PRO_WEB_PORT'];

0 commit comments

Comments
 (0)