Skip to content

⬆️ Bump phpstan/phpstan from 1.10.33 to 1.10.34 #225

⬆️ Bump phpstan/phpstan from 1.10.33 to 1.10.34

⬆️ Bump phpstan/phpstan from 1.10.33 to 1.10.34 #225

Triggered via pull request September 14, 2023 09:08
Status Success
Total duration 1m 5s
Artifacts

continuous_integration.yml

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

Annotations

3 warnings
continuous-integration: src/Application.php#L29
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } 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/NodeVisitor.php#L154
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ private function normalizeEncapsedString(Encapsed $string) : Node { - $parts = array_map(static fn(Node $part) => $part instanceof EncapsedStringPart ? new String_($part->value, ['kind' => String_::KIND_SINGLE_QUOTED]) : $part, $string->parts); + $parts = array_map(static fn(Node $part) => $part instanceof EncapsedStringPart ? new String_($part->value, []) : $part, $string->parts); $left = array_shift($parts); assert($left !== null, 'Encapsed string had 0 part.'); while ($right = array_shift($parts)) {
continuous-integration: src/NodeVisitor.php#L176
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ 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; }