Skip to content

Docs folder standardization and other fixes #297

Docs folder standardization and other fixes

Docs folder standardization and other fixes #297

Triggered via pull request April 18, 2024 21:58
@luizcmarinluizcmarin
synchronize #77
master
Status Success
Total duration 9m 30s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
mutation / PHP 8.1-ubuntu-latest: src/FileCache.php#L92
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ * * @throws CacheException If failed to create cache directory. */ - public function __construct(private string $cachePath, private int $directoryMode = 0775) + public function __construct(private string $cachePath, private int $directoryMode = 508) { if (!$this->createDirectoryIfNotExists($cachePath)) { throw new CacheException("Failed to create cache directory \"{$cachePath}\".");
mutation / PHP 8.1-ubuntu-latest: src/FileCache.php#L206
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public function deleteMultiple(iterable $keys) : bool { $keys = $this->iterableToArray($keys); - $this->validateKeys($keys); + foreach ($keys as $key) { $this->delete($key); }
mutation / PHP 8.1-ubuntu-latest: src/FileCache.php#L335
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ if (is_dir($path)) { return true; } - $result = !is_file($path) && mkdir(directory: $path, recursive: true) && is_dir($path); + $result = !is_file($path) && mkdir(directory: $path, recursive: true) || is_dir($path); if ($result) { chmod($path, $this->directoryMode); }