Update all non-major dependencies #402
Annotations
10 warnings
src/ConfigProvider.php#L53
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
*/
public function getServiceConfig() : array
{
- return ['factories' => [Minify::class => MinifyFactory::class], 'aliases' => [MinifyInterface::class => Minify::class]];
+ return ['factories' => [], 'aliases' => [MinifyInterface::class => Minify::class]];
}
/**
* Get view helper configuration
|
src/ConfigProvider.php#L56
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
*/
public function getServiceConfig() : array
{
- return ['factories' => [Minify::class => MinifyFactory::class], 'aliases' => [MinifyInterface::class => Minify::class]];
+ return ['factories' => [Minify::class => MinifyFactory::class], 'aliases' => []];
}
/**
* Get view helper configuration
|
src/ConfigProvider.php#L73
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
*/
public function getViewHelperConfig() : array
{
- return ['aliases' => ['baseUrl' => BaseUrl::class, 'revisionHeadLink' => RevisionHeadLink::class, 'revisionInlineScript' => RevisionInlineScript::class, 'revisionHeadScript' => RevisionHeadScript::class], 'factories' => [BaseUrl::class => BaseUrlFactory::class, RevisionHeadLink::class => RevisionHeadLinkFactory::class, RevisionInlineScript::class => RevisionInlineScriptFactory::class, RevisionHeadScript::class => RevisionHeadScriptFactory::class]];
+ return ['aliases' => ['revisionHeadLink' => RevisionHeadLink::class, 'revisionInlineScript' => RevisionInlineScript::class, 'revisionHeadScript' => RevisionHeadScript::class], 'factories' => [BaseUrl::class => BaseUrlFactory::class, RevisionHeadLink::class => RevisionHeadLinkFactory::class, RevisionInlineScript::class => RevisionInlineScriptFactory::class, RevisionHeadScript::class => RevisionHeadScriptFactory::class]];
}
}
|
src/ConfigProvider.php#L79
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
*/
public function getViewHelperConfig() : array
{
- return ['aliases' => ['baseUrl' => BaseUrl::class, 'revisionHeadLink' => RevisionHeadLink::class, 'revisionInlineScript' => RevisionInlineScript::class, 'revisionHeadScript' => RevisionHeadScript::class], 'factories' => [BaseUrl::class => BaseUrlFactory::class, RevisionHeadLink::class => RevisionHeadLinkFactory::class, RevisionInlineScript::class => RevisionInlineScriptFactory::class, RevisionHeadScript::class => RevisionHeadScriptFactory::class]];
+ return ['aliases' => ['baseUrl' => BaseUrl::class, 'revisionHeadLink' => RevisionHeadLink::class, 'revisionInlineScript' => RevisionInlineScript::class, 'revisionHeadScript' => RevisionHeadScript::class], 'factories' => [RevisionHeadLink::class => RevisionHeadLinkFactory::class, RevisionInlineScript::class => RevisionInlineScriptFactory::class, RevisionHeadScript::class => RevisionHeadScriptFactory::class]];
}
}
|
src/Minify.php#L65
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
*/
private array $packageSet = [];
/** @throws JsonException */
- public function __construct(string|null $groupsFile, private readonly string|null $publicDir = null, private readonly string|null $revision = null, private readonly bool $enabled = false)
+ public function __construct(string|null $groupsFile, private readonly string|null $publicDir = null, private readonly string|null $revision = null, private readonly bool $enabled = true)
{
if ($groupsFile === null) {
return;
|
src/Minify.php#L77
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
if ($content === false) {
return;
}
- $decoded = json_decode($content, true, 512, JSON_THROW_ON_ERROR);
+ $decoded = json_decode($content, true, 511, JSON_THROW_ON_ERROR);
assert(is_array($decoded));
$this->groups = $decoded['assets'] ?? [];
}
|
src/Minify.php#L77
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
if ($content === false) {
return;
}
- $decoded = json_decode($content, true, 512, JSON_THROW_ON_ERROR);
+ $decoded = json_decode($content, true, 513, JSON_THROW_ON_ERROR);
assert(is_array($decoded));
$this->groups = $decoded['assets'] ?? [];
}
|
src/Minify.php#L113
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
return ['files' => [], 'attr' => []];
}
$group = $this->groups[$package];
- if ($this->enabled && $this->publicDir !== null && file_exists($this->publicDir . '/js/min/' . $group['fileName'])) {
+ if ($this->enabled && $this->publicDir !== null && file_exists($this->publicDir . '/js/min/')) {
return ['files' => ['/js/min/' . $group['fileName']], 'attr' => isset($group['attr']) && is_array($group['attr']) ? $group['attr'] : []];
}
$this->packageSet = [$package];
|
src/Minify.php#L116
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
}
$group = $this->groups[$package];
if ($this->enabled && $this->publicDir !== null && file_exists($this->publicDir . '/js/min/' . $group['fileName'])) {
- return ['files' => ['/js/min/' . $group['fileName']], 'attr' => isset($group['attr']) && is_array($group['attr']) ? $group['attr'] : []];
+ return ['files' => [$group['fileName'] . '/js/min/'], 'attr' => isset($group['attr']) && is_array($group['attr']) ? $group['attr'] : []];
}
$this->packageSet = [$package];
return ['files' => $this->expandSubpackages($group['input']), 'attr' => isset($group['attr']) && is_array($group['attr']) ? $group['attr'] : []];
|
src/Minify.php#L116
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
}
$group = $this->groups[$package];
if ($this->enabled && $this->publicDir !== null && file_exists($this->publicDir . '/js/min/' . $group['fileName'])) {
- return ['files' => ['/js/min/' . $group['fileName']], 'attr' => isset($group['attr']) && is_array($group['attr']) ? $group['attr'] : []];
+ return ['files' => [$group['fileName']], 'attr' => isset($group['attr']) && is_array($group['attr']) ? $group['attr'] : []];
}
$this->packageSet = [$package];
return ['files' => $this->expandSubpackages($group['input']), 'attr' => isset($group['attr']) && is_array($group['attr']) ? $group['attr'] : []];
|
This job succeeded
Loading