Skip to content

⬆️ Bump phpstan/phpstan from 1.12.0 to 1.12.5 #519

⬆️ Bump phpstan/phpstan from 1.12.0 to 1.12.5

⬆️ Bump phpstan/phpstan from 1.12.0 to 1.12.5 #519

Triggered via pull request October 1, 2024 09:37
Status Success
Total duration 58s
Artifacts

continuous_integration.yml

on: pull_request
continuous-integration
48s
continuous-integration
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
continuous-integration: src/Application.php#L29
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } protected function configure(): void { - parent::configure(); + $this->setVersion('1.0.0'); $this->addArgument('exercise-slug', InputArgument::REQUIRED, 'Slug of the exercise'); $this->addArgument('solution-dir', InputArgument::REQUIRED, 'Directory of the solution');
continuous-integration: src/NormalizeNodeVisitor.php#L155
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ */ private function normalizeInterpolatedString(InterpolatedString $string): Node { - $parts = array_map(static fn(Node $part) => $part instanceof InterpolatedStringPart ? new String_($part->value, ['kind' => String_::KIND_SINGLE_QUOTED]) : $part, $string->parts); + $parts = array_map(static fn(Node $part) => $part instanceof InterpolatedStringPart ? new String_($part->value, []) : $part, $string->parts); $left = array_shift($parts); assert($left !== null, 'Interpolated string had 0 part.'); while ($right = array_shift($parts)) {
continuous-integration: src/NormalizeNodeVisitor.php#L177
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ private function simplifyUselessConcat(Concat $concat): String_|null { if ($concat->left instanceof String_ && $concat->right instanceof String_) { - return new String_($concat->left->value . $concat->right->value, ['kind' => String_::KIND_SINGLE_QUOTED]); + return new String_($concat->left->value . $concat->right->value, []); } return null; }