Skip to content

Merge pull request #1112 from ergebnis/dependabot/composer/ergebnis/p… #2503

Merge pull request #1112 from ergebnis/dependabot/composer/ergebnis/p…

Merge pull request #1112 from ergebnis/dependabot/composer/ergebnis/p… #2503

Triggered via push March 21, 2024 20:46
Status Success
Total duration 1m 7s
Artifacts

integrate.yaml

on: push
Matrix: Code Coverage
Matrix: Coding Standards
Matrix: Dependency Analysis
Matrix: Mutation Tests
Matrix: Refactoring
Matrix: Security Analysis
Matrix: Static Code Analysis
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Coding Standards (7.4, locked)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3.3.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Dependency Analysis (7.4, locked)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3.3.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Mutation Tests (7.4, locked): src/ChainNormalizer.php#L27
Escaped Mutant for Mutator "UnwrapArrayValues": --- Original +++ New @@ @@ private array $normalizers; public function __construct(Normalizer ...$normalizers) { - $this->normalizers = \array_values($normalizers); + $this->normalizers = $normalizers; } public function normalize(Json $json) : Json {
Mutation Tests (7.4, locked): src/Exception/InvalidIndentStyle.php#L39
Escaped Mutant for Mutator "UnwrapArrayValues": --- Original +++ New @@ @@ { $exception = new self(\sprintf('Style needs to be one of "%s", but "%s" is not.', \implode('", "', $allowedStyles), $style)); $exception->style = $style; - $exception->allowedStyles = \array_values($allowedStyles); + $exception->allowedStyles = $allowedStyles; return $exception; } public function style() : string
Mutation Tests (7.4, locked): src/Exception/NormalizedInvalidAccordingToSchema.php#L35
Escaped Mutant for Mutator "UnwrapArrayValues": --- Original +++ New @@ @@ { $exception = new self(\sprintf('Normalized JSON is not valid according to schema "%s".', $schemaUri)); $exception->schemaUri = $schemaUri; - $exception->errors = \array_values($errors); + $exception->errors = $errors; return $exception; } public function schemaUri() : string
Mutation Tests (7.4, locked): src/Exception/OriginalInvalidAccordingToSchema.php#L35
Escaped Mutant for Mutator "UnwrapArrayValues": --- Original +++ New @@ @@ { $exception = new self(\sprintf('Original JSON is not valid according to schema "%s".', $schemaUri)); $exception->schemaUri = $schemaUri; - $exception->errors = \array_values($errors); + $exception->errors = $errors; return $exception; } public function schemaUri() : string
Mutation Tests (7.4, locked): src/Vendor/Composer/PackageHashNormalizer.php#L105
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ if (1 === \preg_match(self::PLATFORM_PACKAGE_REGEX, $requirement)) { return \preg_replace(['/^php/', '/^hhvm/', '/^ext/', '/^lib/', '/^\\D/'], ['0-$0', '1-$0', '2-$0', '3-$0', '4-$0'], $requirement); } - return '5-' . $requirement; + return $requirement . '5-'; }; \uksort($packages, static function (string $a, string $b) use($prefix) : int { return \strnatcmp($prefix($a), $prefix($b));
Mutation Tests (7.4, locked): src/Vendor/Composer/PackageHashNormalizer.php#L105
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if (1 === \preg_match(self::PLATFORM_PACKAGE_REGEX, $requirement)) { return \preg_replace(['/^php/', '/^hhvm/', '/^ext/', '/^lib/', '/^\\D/'], ['0-$0', '1-$0', '2-$0', '3-$0', '4-$0'], $requirement); } - return '5-' . $requirement; + return $requirement; }; \uksort($packages, static function (string $a, string $b) use($prefix) : int { return \strnatcmp($prefix($a), $prefix($b));
Mutation Tests (7.4, locked): src/Vendor/Composer/PackageHashNormalizer.php#L105
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ if (1 === \preg_match(self::PLATFORM_PACKAGE_REGEX, $requirement)) { return \preg_replace(['/^php/', '/^hhvm/', '/^ext/', '/^lib/', '/^\\D/'], ['0-$0', '1-$0', '2-$0', '3-$0', '4-$0'], $requirement); } - return '5-' . $requirement; + return '5-'; }; \uksort($packages, static function (string $a, string $b) use($prefix) : int { return \strnatcmp($prefix($a), $prefix($b));
Mutation Tests (7.4, locked): src/Vendor/Composer/RepositoriesHashNormalizer.php#L53
Escaped Mutant for Mutator "CastArray": --- Original +++ New @@ @@ return $json; } /** @var array<string, mixed> $repositories */ - $repositories = (array) $decoded->repositories; + $repositories = $decoded->repositories; if ([] === $repositories) { return $json; }
Mutation Tests (7.4, locked): src/Vendor/Composer/RepositoriesHashNormalizer.php#L64
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ * @see https://getcomposer.org/doc/05-repositories.md#disabling-packagist-org */ if (!\is_array($repository) && !\is_object($repository)) { - continue; + break; } $repository = (array) $repository; foreach (self::PROPERTIES_WITH_WILDCARDS as $property) {
Mutation Tests (7.4, locked): src/Vendor/Composer/VersionConstraintNormalizer.php#L66
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $versionConstraint = self::trim($versionConstraint); $versionConstraint = self::removeExtraSpaces($versionConstraint); try { - $this->versionParser->parseConstraints($versionConstraint); + } catch (\UnexpectedValueException $exception) { return $versionConstraint; }