⬆️ Bump actions/cache from 4.0.2 to 4.1.2 #541
continuous_integration.yml
on: push
continuous-integration
48s
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;
}
|