Upgrade phpstan to v2

This commit is contained in:
crazywhalecc
2026-02-03 11:22:32 +08:00
parent c536fedff7
commit 103b5b3585
9 changed files with 162 additions and 159 deletions

View File

@@ -247,6 +247,7 @@ class ArtifactExtractor
$artifact->emitAfterBinaryExtract($target_path, $platform);
logger()->debug("Emitted after-binary-extract hooks for [{$name}]");
/* @phpstan-ignore-next-line */
if ($hash !== null && $cache_info['cache_type'] !== 'file') {
FileSystem::writeFile("{$target_path}/.spc-hash", $hash);
}