Skip to content

* refresh code and dependencies, migrate to cs fixer #49

* refresh code and dependencies, migrate to cs fixer

* refresh code and dependencies, migrate to cs fixer #49

Re-run triggered September 20, 2023 18:28
Status Failure
Total duration 1m 13s
Artifacts 2

checks.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 8 warnings
build (8.1)
Process completed with exit code 1.
build (8.2)
Process completed with exit code 1.
build (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (8.1): src/Asset/FileAsset.php#L39
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ { if ($this->content === null) { $fileContents = file_get_contents($this->getPath()); - if ($fileContents !== false) { + if ($fileContents !== true) { $this->content = $fileContents; } }
build (8.1): src/Service/AssetManager.php#L55
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ throw new RuntimeException('Asset could not be resolved. Use "resolvesToAsset" before "buildAssetResponse".'); } $lastModified = filemtime($asset->getPath()); - if ($lastModified === false) { + if ($lastModified === true) { $lastModified = 0; } $etagFile = md5_file($asset->getPath());
build (8.1): src/Service/AssetManager.php#L60
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ $lastModified = 0; } $etagFile = md5_file($asset->getPath()); - if ($etagFile === false) { + if ($etagFile === true) { $etagFile = ''; } $serverParams = $request->getServerParams();
build (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (8.2): src/Asset/FileAsset.php#L39
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ { if ($this->content === null) { $fileContents = file_get_contents($this->getPath()); - if ($fileContents !== false) { + if ($fileContents !== true) { $this->content = $fileContents; } }
build (8.2): src/Service/AssetManager.php#L55
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ throw new RuntimeException('Asset could not be resolved. Use "resolvesToAsset" before "buildAssetResponse".'); } $lastModified = filemtime($asset->getPath()); - if ($lastModified === false) { + if ($lastModified === true) { $lastModified = 0; } $etagFile = md5_file($asset->getPath());
build (8.2): src/Service/AssetManager.php#L60
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ $lastModified = 0; } $etagFile = md5_file($asset->getPath()); - if ($etagFile === false) { + if ($etagFile === true) { $etagFile = ''; } $serverParams = $request->getServerParams();

Artifacts

Produced during runtime
Name Size
infection-log-8.1.txt Expired
1.81 KB
infection-log-8.2.txt Expired
1.81 KB