Skip to content

Update all non-major dependencies #403

Update all non-major dependencies

Update all non-major dependencies #403

Triggered via pull request June 15, 2024 09:48
Status Success
Total duration 4m 17s
Artifacts

continuous-integration.yml

on: pull_request
Matrix: Validate Project / Check with editorconfig-checker
Matrix: Validate Project / Check composer dependencies with composer-dependency-analyser
Matrix: Validate Project / Check composer with composer-normalize
Matrix: Validate Project / Check composer dependencies with composer-unused
Matrix: Validate Project / Lint PHP
Matrix: Validate Project / Validate markdown files
Matrix: Validate Project / Linting with overtrue/phplint
Matrix: Validate Project / Validate composer
Matrix: Validate Project / Validate yaml
Validate Project  /  Lint & Validate Status
0s
Validate Project / Lint & Validate Status
Matrix: Install Project / Install Node dependencies
Matrix: Install Project / Install PHP dependencies
Install Project  /  Install Status
0s
Install Project / Install Status
Matrix: Project Analysis / Check Coding Standards with PHP-CS-Fixer
Matrix: Project Analysis / Check Coding Standards with PHPCS
Matrix: Project Analysis / Check Rules with PHPMD
Matrix: Project Analysis / Checks with Rector
Matrix: Project Analysis / Static Code Analysis with PHPStan
Project Analysis  /  Status Analytics
0s
Project Analysis / Status Analytics
Matrix: Code Coverage with PHPUnit
Matrix: UnitTests & Code Coverage
finish-code-coverage
9s
finish-code-coverage
Unit & Integration Tests Status
0s
Unit & Integration Tests Status
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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]]; } }
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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]]; } }
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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;
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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'] ?? []; }
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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'] ?? []; }
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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];
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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'] : []];
Code Coverage with PHPUnit (ubuntu-22.04, 8.1, lowest): 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'] : []];