Skip to content

Merge pull request #12 from volodymyr-hordiienko/patch-1 #45

Merge pull request #12 from volodymyr-hordiienko/patch-1

Merge pull request #12 from volodymyr-hordiienko/patch-1 #45

Triggered via push November 14, 2023 08:07
Status Success
Total duration 1m 4s
Artifacts

mutation.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
mutation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException($this->property->name . 'Parameter `' . '` expected type `' . $type . '`, `' . $providedType . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException($this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException('Parameter `' . '` expected type `' . $type . '`, `' . $providedType . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException('Parameter `' . '` expected type `' . $this->property->name . $type . '`, `' . $providedType . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException('Parameter `' . $this->property->name . $type . '`, `' . $providedType . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException('Parameter `' . $this->property->name . $type . '` expected type `' . '`, `' . $providedType . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . '`, `' . $providedType . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . '`, `' . $type . $providedType . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . $providedType . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation: src/ValueCasting.php#L93
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ { $providedType = gettype($value); if ($this->property->type->name !== TypeEnums::TYPE_MIXED && !in_array($providedType, ['integer', 'string', 'boolean', 'double'])) { - throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . '`, `' . $providedType . '` provided'); + throw new InvalidArgumentException('Parameter `' . $this->property->name . '` expected type `' . $type . $providedType . '`, `' . '` provided'); } return match ($type) { TypeEnums::TYPE_STRING => (string) $value,
mutation
Unexpected input(s) 'php', valid inputs are ['php-version', 'php-version-file', 'extensions', 'ini-file', 'ini-values', 'coverage', 'tools']