bump phpstan #81
Annotations
8 warnings
PHP 8.3 test on ubuntu-24.04:
src/Arguments.php#L317
Escaped Mutant for Mutator "LogicalOr":
@@ @@
{
foreach ($cast as $key => $value) {
$key = strval($key);
- if (str_contains($key, "\x00") || in_array($key, $this->reflected, true)) {
+ if (str_contains($key, "\x00") && in_array($key, $this->reflected, true)) {
continue;
}
$array[$key] = $value;
|
PHP 8.3 test on ubuntu-24.04:
src/ReflectionParameterTyped.php#L81
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($this->type instanceof ReflectionUnionType) {
$types = [];
foreach ($this->type->getTypes() as $type) {
- if ($type instanceof ReflectionIntersectionType) {
+ if (false) {
continue;
}
$types[] = $type->getName();
|
PHP 8.4 test on ubuntu-24.04:
src/Arguments.php#L317
Escaped Mutant for Mutator "LogicalOr":
@@ @@
{
foreach ($cast as $key => $value) {
$key = strval($key);
- if (str_contains($key, "\x00") || in_array($key, $this->reflected, true)) {
+ if (str_contains($key, "\x00") && in_array($key, $this->reflected, true)) {
continue;
}
$array[$key] = $value;
|
PHP 8.4 test on ubuntu-24.04:
src/ReflectionParameterTyped.php#L81
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($this->type instanceof ReflectionUnionType) {
$types = [];
foreach ($this->type->getTypes() as $type) {
- if ($type instanceof ReflectionIntersectionType) {
+ if (false) {
continue;
}
$types[] = $type->getName();
|
PHP 8.2 test on ubuntu-24.04:
src/Arguments.php#L317
Escaped Mutant for Mutator "LogicalOr":
@@ @@
{
foreach ($cast as $key => $value) {
$key = strval($key);
- if (str_contains($key, "\x00") || in_array($key, $this->reflected, true)) {
+ if (str_contains($key, "\x00") && in_array($key, $this->reflected, true)) {
continue;
}
$array[$key] = $value;
|
PHP 8.2 test on ubuntu-24.04:
src/ReflectionParameterTyped.php#L81
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($this->type instanceof ReflectionUnionType) {
$types = [];
foreach ($this->type->getTypes() as $type) {
- if ($type instanceof ReflectionIntersectionType) {
+ if (false) {
continue;
}
$types[] = $type->getName();
|
PHP 8.1 test on ubuntu-24.04:
src/Arguments.php#L317
Escaped Mutant for Mutator "LogicalOr":
@@ @@
{
foreach ($cast as $key => $value) {
$key = strval($key);
- if (str_contains($key, "\x00") || in_array($key, $this->reflected, true)) {
+ if (str_contains($key, "\x00") && in_array($key, $this->reflected, true)) {
continue;
}
$array[$key] = $value;
|
PHP 8.1 test on ubuntu-24.04:
src/ReflectionParameterTyped.php#L81
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($this->type instanceof ReflectionUnionType) {
$types = [];
foreach ($this->type->getTypes() as $type) {
- if ($type instanceof ReflectionIntersectionType) {
+ if (false) {
continue;
}
$types[] = $type->getName();
|