Repository navigation
feat(#11): per-file index cache, PhpStorm recipe, v0.1.0 docs - #12
Merged
Merged
Annotations
5 warnings
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Infection:
src/Index/Indexer.php#L88
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
$cached = $this->cache->get($file);
if ($cached !== null) {
- return $cached;
+
}
$fileIndex = $this->fileIndexer->index($file);
|
|
Infection:
src/Console/BoolFlags.php#L22
Escaped Mutant for Mutator "FalseValue":
@@ @@
public bool $help = false,
public bool $version = false,
public bool $failOnStale = false,
- public bool $noCache = false,
+ public bool $noCache = true,
) {
}
}
|
|
Infection:
src/Console/ArgvParser.php#L177
Escaped Mutant for Mutator "MatchArmRemoval":
@@ @@
'--version', '-V' => $this->bools->version = true,
'--fail-on-stale' => $this->bools->failOnStale = true,
'--no-cache' => $this->bools->noCache = true,
- default => throw new InvalidArgsException("unknown option: {$name}"),
};
}
|
|
Infection:
src/Cache/FileIndexCache.php#L76
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
return null;
}
- $data = @unserialize($payload, ['allowed_classes' => self::ALLOWED_CLASSES]);
+ $data = @unserialize($payload, []);
if (!is_array($data)) {
return null;
}
|
background
wait
wait-all
cancel
parallel
Loading