Skip to content

Commit fa5f462

Browse files
authored
Use phpstan.neon as default (#7)
Even though we fetch getProjectConfigFile from the $analysisResult, it's best to fallback to the standard filename. In our own projects, we use phpstan.php, but that's not the standard.
1 parent cee5a2b commit fa5f462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TicketSwapErrorFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function formatErrors(AnalysisResult $analysisResult, Output $output) : i
5757
);
5858
}
5959

60-
$projectConfigFile = 'phpstan.php';
60+
$projectConfigFile = 'phpstan.neon';
6161
if ($analysisResult->getProjectConfigFile() !== null) {
6262
$projectConfigFile = $this->relativePathHelper->getRelativePath($analysisResult->getProjectConfigFile());
6363
}

0 commit comments

Comments
 (0)