Improve description in composer.json #3
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
{
|