Skip to content

CI

CI #950

Triggered via schedule December 17, 2024 00:49
Status Success
Total duration 1m 27s
Artifacts

ci.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
PHP 8.3: src/Accessor/MethodAccessor.php#L18
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ */ public function setValue(object $object, mixed $value): void { - $set = 'set' . ucfirst($this->property); + $set = 'set' . $this->property; if (!method_exists($object, $set)) { throw DeserializerLogicException::createMissingMethod($object::class, [$set]); }
PHP 8.3: src/Accessor/MethodAccessor.php#L20
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ { $set = 'set' . ucfirst($this->property); if (!method_exists($object, $set)) { - throw DeserializerLogicException::createMissingMethod($object::class, [$set]); + throw DeserializerLogicException::createMissingMethod($object::class, []); } $object->{$set}($value); }
PHP 8.3: src/Accessor/MethodAccessor.php#L33
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ */ public function getValue(object $object) { - $get = 'get' . ucfirst($this->property); + $get = 'get' . $this->property; $has = 'has' . ucfirst($this->property); $is = 'is' . ucfirst($this->property); if (method_exists($object, $get)) {
PHP 8.3: src/Accessor/MethodAccessor.php#L34
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ public function getValue(object $object) { $get = 'get' . ucfirst($this->property); - $has = 'has' . ucfirst($this->property); + $has = 'has' . $this->property; $is = 'is' . ucfirst($this->property); if (method_exists($object, $get)) { return $object->{$get}();
PHP 8.3: src/Accessor/MethodAccessor.php#L35
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ { $get = 'get' . ucfirst($this->property); $has = 'has' . ucfirst($this->property); - $is = 'is' . ucfirst($this->property); + $is = 'is' . $this->property; if (method_exists($object, $get)) { return $object->{$get}(); }
PHP 8.3: src/Accessor/MethodAccessor.php#L49
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ if (method_exists($object, $is)) { return $object->{$is}(); } - throw DeserializerLogicException::createMissingMethod($object::class, [$get, $has, $is]); + throw DeserializerLogicException::createMissingMethod($object::class, [$has, $is]); } }
PHP 8.3: src/Accessor/PropertyAccessor.php#L69
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $object->__load(); } $reflectionParentClass = (new \ReflectionObject($object))->getParentClass(); - if ($reflectionParentClass instanceof \ReflectionClass) { + if (true) { return $reflectionParentClass->getName(); } }
PHP 8.3: src/Denormalizer/DateTimeImmutableFieldDenormalizer.php#L49
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $dateTime = $dateTime->setTimezone($this->dateTimeZone); } $errors = \DateTimeImmutable::getLastErrors(); - if (false === $errors || 0 === $errors['warning_count'] && 0 === $errors['error_count']) { + if (false === $errors || -1 === $errors['warning_count'] && 0 === $errors['error_count']) { $value = $dateTime; } } catch (\Exception) {
PHP 8.3: src/Denormalizer/DateTimeImmutableFieldDenormalizer.php#L49
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $dateTime = $dateTime->setTimezone($this->dateTimeZone); } $errors = \DateTimeImmutable::getLastErrors(); - if (false === $errors || 0 === $errors['warning_count'] && 0 === $errors['error_count']) { + if (false === $errors || 0 === $errors['warning_count'] && -1 === $errors['error_count']) { $value = $dateTime; } } catch (\Exception) {
PHP 8.3: src/Denormalizer/DateTimeImmutableFieldDenormalizer.php#L49
Escaped Mutant for Mutator "Identical": @@ @@ $dateTime = $dateTime->setTimezone($this->dateTimeZone); } $errors = \DateTimeImmutable::getLastErrors(); - if (false === $errors || 0 === $errors['warning_count'] && 0 === $errors['error_count']) { + if (false === $errors || 0 === $errors['warning_count'] && 0 !== $errors['error_count']) { $value = $dateTime; } } catch (\Exception) {
PHP 8.2: src/Accessor/MethodAccessor.php#L18
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ */ public function setValue(object $object, mixed $value): void { - $set = 'set' . ucfirst($this->property); + $set = 'set' . $this->property; if (!method_exists($object, $set)) { throw DeserializerLogicException::createMissingMethod($object::class, [$set]); }
PHP 8.2: src/Accessor/MethodAccessor.php#L20
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ { $set = 'set' . ucfirst($this->property); if (!method_exists($object, $set)) { - throw DeserializerLogicException::createMissingMethod($object::class, [$set]); + throw DeserializerLogicException::createMissingMethod($object::class, []); } $object->{$set}($value); }
PHP 8.2: src/Accessor/MethodAccessor.php#L33
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ */ public function getValue(object $object) { - $get = 'get' . ucfirst($this->property); + $get = 'get' . $this->property; $has = 'has' . ucfirst($this->property); $is = 'is' . ucfirst($this->property); if (method_exists($object, $get)) {
PHP 8.2: src/Accessor/MethodAccessor.php#L34
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ public function getValue(object $object) { $get = 'get' . ucfirst($this->property); - $has = 'has' . ucfirst($this->property); + $has = 'has' . $this->property; $is = 'is' . ucfirst($this->property); if (method_exists($object, $get)) { return $object->{$get}();
PHP 8.2: src/Accessor/MethodAccessor.php#L35
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ { $get = 'get' . ucfirst($this->property); $has = 'has' . ucfirst($this->property); - $is = 'is' . ucfirst($this->property); + $is = 'is' . $this->property; if (method_exists($object, $get)) { return $object->{$get}(); }
PHP 8.2: src/Accessor/MethodAccessor.php#L49
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ if (method_exists($object, $is)) { return $object->{$is}(); } - throw DeserializerLogicException::createMissingMethod($object::class, [$get, $has, $is]); + throw DeserializerLogicException::createMissingMethod($object::class, [$has, $is]); } }
PHP 8.2: src/Accessor/PropertyAccessor.php#L69
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $object->__load(); } $reflectionParentClass = (new \ReflectionObject($object))->getParentClass(); - if ($reflectionParentClass instanceof \ReflectionClass) { + if (true) { return $reflectionParentClass->getName(); } }
PHP 8.2: src/Denormalizer/DateTimeImmutableFieldDenormalizer.php#L49
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $dateTime = $dateTime->setTimezone($this->dateTimeZone); } $errors = \DateTimeImmutable::getLastErrors(); - if (false === $errors || 0 === $errors['warning_count'] && 0 === $errors['error_count']) { + if (false === $errors || -1 === $errors['warning_count'] && 0 === $errors['error_count']) { $value = $dateTime; } } catch (\Exception) {
PHP 8.2: src/Denormalizer/DateTimeImmutableFieldDenormalizer.php#L49
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $dateTime = $dateTime->setTimezone($this->dateTimeZone); } $errors = \DateTimeImmutable::getLastErrors(); - if (false === $errors || 0 === $errors['warning_count'] && 0 === $errors['error_count']) { + if (false === $errors || 0 === $errors['warning_count'] && -1 === $errors['error_count']) { $value = $dateTime; } } catch (\Exception) {
PHP 8.2: src/Denormalizer/DateTimeImmutableFieldDenormalizer.php#L49
Escaped Mutant for Mutator "Identical": @@ @@ $dateTime = $dateTime->setTimezone($this->dateTimeZone); } $errors = \DateTimeImmutable::getLastErrors(); - if (false === $errors || 0 === $errors['warning_count'] && 0 === $errors['error_count']) { + if (false === $errors || 0 === $errors['warning_count'] && 0 !== $errors['error_count']) { $value = $dateTime; } } catch (\Exception) {
PHP 8.4: src/Accessor/MethodAccessor.php#L18
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ */ public function setValue(object $object, mixed $value): void { - $set = 'set' . ucfirst($this->property); + $set = 'set' . $this->property; if (!method_exists($object, $set)) { throw DeserializerLogicException::createMissingMethod($object::class, [$set]); }
PHP 8.4: src/Accessor/MethodAccessor.php#L20
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ { $set = 'set' . ucfirst($this->property); if (!method_exists($object, $set)) { - throw DeserializerLogicException::createMissingMethod($object::class, [$set]); + throw DeserializerLogicException::createMissingMethod($object::class, []); } $object->{$set}($value); }
PHP 8.4: src/Accessor/MethodAccessor.php#L33
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ */ public function getValue(object $object) { - $get = 'get' . ucfirst($this->property); + $get = 'get' . $this->property; $has = 'has' . ucfirst($this->property); $is = 'is' . ucfirst($this->property); if (method_exists($object, $get)) {
PHP 8.4: src/Accessor/MethodAccessor.php#L34
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ public function getValue(object $object) { $get = 'get' . ucfirst($this->property); - $has = 'has' . ucfirst($this->property); + $has = 'has' . $this->property; $is = 'is' . ucfirst($this->property); if (method_exists($object, $get)) { return $object->{$get}();
PHP 8.4: src/Accessor/MethodAccessor.php#L35
Escaped Mutant for Mutator "UnwrapUcFirst": @@ @@ { $get = 'get' . ucfirst($this->property); $has = 'has' . ucfirst($this->property); - $is = 'is' . ucfirst($this->property); + $is = 'is' . $this->property; if (method_exists($object, $get)) { return $object->{$get}(); }
PHP 8.4: src/Accessor/MethodAccessor.php#L49
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ if (method_exists($object, $is)) { return $object->{$is}(); } - throw DeserializerLogicException::createMissingMethod($object::class, [$get, $has, $is]); + throw DeserializerLogicException::createMissingMethod($object::class, [$has, $is]); } }
PHP 8.4: src/Accessor/PropertyAccessor.php#L69
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $object->__load(); } $reflectionParentClass = (new \ReflectionObject($object))->getParentClass(); - if ($reflectionParentClass instanceof \ReflectionClass) { + if (true) { return $reflectionParentClass->getName(); } }
PHP 8.4: src/Denormalizer/DateTimeImmutableFieldDenormalizer.php#L49
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $dateTime = $dateTime->setTimezone($this->dateTimeZone); } $errors = \DateTimeImmutable::getLastErrors(); - if (false === $errors || 0 === $errors['warning_count'] && 0 === $errors['error_count']) { + if (false === $errors || -1 === $errors['warning_count'] && 0 === $errors['error_count']) { $value = $dateTime; } } catch (\Exception) {
PHP 8.4: src/Denormalizer/DateTimeImmutableFieldDenormalizer.php#L49
Escaped Mutant for Mutator "Identical": @@ @@ $dateTime = $dateTime->setTimezone($this->dateTimeZone); } $errors = \DateTimeImmutable::getLastErrors(); - if (false === $errors || 0 === $errors['warning_count'] && 0 === $errors['error_count']) { + if (false === $errors || 0 === $errors['warning_count'] && 0 !== $errors['error_count']) { $value = $dateTime; } } catch (\Exception) {
PHP 8.4: src/Denormalizer/DateTimeImmutableFieldDenormalizer.php#L49
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $dateTime = $dateTime->setTimezone($this->dateTimeZone); } $errors = \DateTimeImmutable::getLastErrors(); - if (false === $errors || 0 === $errors['warning_count'] && 0 === $errors['error_count']) { + if (false === $errors || 0 === $errors['warning_count'] && -1 === $errors['error_count']) { $value = $dateTime; } } catch (\Exception) {