⬆️ Bump phpstan/phpstan from 1.10.33 to 1.10.34 #225
Annotations
3 warnings
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');
|
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)) {
|
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;
}
|
The logs for this run have expired and are no longer available.
Loading