Skip to content

Improve description in composer.json #3

Improve description in composer.json

Improve description in composer.json #3

Triggered via push September 7, 2024 07:12
Status Success
Total duration 1m 24s
Artifacts

check.yml

on: push
Matrix: psalm
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
infection: src/AliasId.php#L27
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->class->equals($this->class) && $value->name === $this->name; + return true && $value->class->equals($this->class) && $value->name === $this->name; } public function jsonSerialize(): array {
infection: src/AliasId.php#L27
Escaped Mutant for Mutator "LogicalAnd": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->class->equals($this->class) && $value->name === $this->name; + return ($value instanceof self || $value->class->equals($this->class)) && $value->name === $this->name; } public function jsonSerialize(): array {
infection: src/AliasId.php#L27
Escaped Mutant for Mutator "LogicalAnd": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->class->equals($this->class) && $value->name === $this->name; + return $value instanceof self && $value->class->equals($this->class) || $value->name === $this->name; } public function jsonSerialize(): array {
infection: src/AnonymousClassId.php#L112
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->file === $this->file && $value->line === $this->line && $value->column === $this->column; + return true && $value->file === $this->file && $value->line === $this->line && $value->column === $this->column; } public function reflect(): \ReflectionClass {
infection: src/AnonymousClassId.php#L112
Escaped Mutant for Mutator "LogicalAnd": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->file === $this->file && $value->line === $this->line && $value->column === $this->column; + return ($value instanceof self || $value->file === $this->file) && $value->line === $this->line && $value->column === $this->column; } public function reflect(): \ReflectionClass {
infection: src/AnonymousClassId.php#L112
Escaped Mutant for Mutator "LogicalAnd": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->file === $this->file && $value->line === $this->line && $value->column === $this->column; + return ($value instanceof self && $value->file === $this->file || $value->line === $this->line) && $value->column === $this->column; } public function reflect(): \ReflectionClass {
infection: src/AnonymousClassId.php#L112
Escaped Mutant for Mutator "LogicalAnd": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->file === $this->file && $value->line === $this->line && $value->column === $this->column; + return $value instanceof self && $value->file === $this->file && $value->line === $this->line || $value->column === $this->column; } public function reflect(): \ReflectionClass {
infection: src/AnonymousFunctionId.php#L41
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->file === $this->file && $value->line === $this->line && $value->column === $this->column; + return true && $value->file === $this->file && $value->line === $this->line && $value->column === $this->column; } public function jsonSerialize(): array {
infection: src/AnonymousFunctionId.php#L41
Escaped Mutant for Mutator "LogicalAnd": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->file === $this->file && $value->line === $this->line && $value->column === $this->column; + return ($value instanceof self || $value->file === $this->file) && $value->line === $this->line && $value->column === $this->column; } public function jsonSerialize(): array {
infection: src/AnonymousFunctionId.php#L41
Escaped Mutant for Mutator "LogicalAnd": @@ @@ } public function equals(mixed $value): bool { - return $value instanceof self && $value->file === $this->file && $value->line === $this->line && $value->column === $this->column; + return ($value instanceof self && $value->file === $this->file || $value->line === $this->line) && $value->column === $this->column; } public function jsonSerialize(): array {