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.
2 parents 5b4bf80 + 43c44ee commit d9fe623Copy full SHA for d9fe623
src/Analyser/FileAnalyser.php
@@ -290,15 +290,15 @@ public function analyseFile(
290
InternalError::STACK_TRACE_METADATA_KEY => InternalError::prepareTrace($e),
291
InternalError::STACK_TRACE_AS_STRING_METADATA_KEY => $e->getTraceAsString(),
292
]);
293
+ } finally {
294
+ $this->restoreCollectErrorsHandler();
295
}
296
} elseif (is_dir($file)) {
297
$fileErrors[] = (new Error(sprintf('File %s is a directory.', $file), $file, canBeIgnored: false))->withIdentifier('phpstan.path');
298
} else {
299
$fileErrors[] = (new Error(sprintf('File %s does not exist.', $file), $file, canBeIgnored: false))->withIdentifier('phpstan.path');
300
301
- $this->restoreCollectErrorsHandler();
-
302
foreach ($linesToIgnore as $fileKey => $lines) {
303
if (count($lines) > 0) {
304
continue;
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments