Move config to di instead of di-web #547
Annotations
4 warnings
Run roave infection.:
src/Debug/AssetCollector.php#L40
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
if (!$this->isActive()) {
return [];
}
- return ['asset' => ['bundles' => ['total' => count($this->assetBundles)]]];
+ return ['asset' => []];
}
private function reset() : void
{
|
Run roave infection.:
src/Debug/AssetCollector.php#L41
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
if (!$this->isActive()) {
return [];
}
- return ['asset' => ['bundles' => ['total' => count($this->assetBundles)]]];
+ return ['asset' => ['bundles' => []]];
}
private function reset() : void
{
|
Run roave infection.:
src/Debug/AssetCollector.php#L42
Escaped Mutant for Mutator "ArrayItem":
--- Original
+++ New
@@ @@
if (!$this->isActive()) {
return [];
}
- return ['asset' => ['bundles' => ['total' => count($this->assetBundles)]]];
+ return ['asset' => ['bundles' => ['total' > count($this->assetBundles)]]];
}
private function reset() : void
{
|
Run roave infection.:
src/Exporter/JsonAssetExporter.php#L35
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
try {
$data = Json::encode(AssetUtil::extractFilePathsForExport($assetBundles));
} catch (JsonException $e) {
- throw new RuntimeException('An error occurred during JSON encoding of asset bundles.', 0, $e);
+ throw new RuntimeException('An error occurred during JSON encoding of asset bundles.', 1, $e);
}
AssetUtil::exportToFile($this->targetFile, $data);
}
}
|
The logs for this run have expired and are no longer available.
Loading