change year from 2024 to 2025 #890
Annotations
31 warnings
PHP 8.4
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
PHP 8.2:
src/Accessor/MethodAccessor.php#L20
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#L21
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#L22
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#L36
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
if (method_exists($object, $is)) {
return $object->{$is}();
}
- throw SerializerLogicException::createMissingMethod($object::class, [$get, $has, $is]);
+ throw SerializerLogicException::createMissingMethod($object::class, [$has, $is]);
}
}
|
PHP 8.2:
src/Accessor/PropertyAccessor.php#L37
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
/** @return class-string<object> */
private function getClass(object $object): string
{
- if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
+ if (interface_exists('Doctrine\Persistence\Proxy') && false) {
if (!$object->__isInitialized()) {
$object->__load();
}
|
PHP 8.2:
src/Accessor/PropertyAccessor.php#L37
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation":
@@ @@
/** @return class-string<object> */
private function getClass(object $object): string
{
- if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
+ if (!interface_exists('Doctrine\Persistence\Proxy') && !$object instanceof Proxy) {
if (!$object->__isInitialized()) {
$object->__load();
}
|
PHP 8.2:
src/Accessor/PropertyAccessor.php#L37
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation":
@@ @@
/** @return class-string<object> */
private function getClass(object $object): string
{
- if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
+ if (!interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
if (!$object->__isInitialized()) {
$object->__load();
}
|
PHP 8.2:
src/Accessor/PropertyAccessor.php#L38
Escaped Mutant for Mutator "LogicalNot":
@@ @@
private function getClass(object $object): string
{
if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
- if (!$object->__isInitialized()) {
+ if ($object->__isInitialized()) {
$object->__load();
}
$reflectionParentClass = (new \ReflectionObject($object))->getParentClass();
|
PHP 8.2:
src/Accessor/PropertyAccessor.php#L39
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
if (!$object->__isInitialized()) {
- $object->__load();
+
}
$reflectionParentClass = (new \ReflectionObject($object))->getParentClass();
if ($reflectionParentClass instanceof \ReflectionClass) {
|
PHP 8.2:
src/Accessor/PropertyAccessor.php#L43
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/Accessor/MethodAccessor.php#L20
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#L21
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#L22
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#L36
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
if (method_exists($object, $is)) {
return $object->{$is}();
}
- throw SerializerLogicException::createMissingMethod($object::class, [$get, $has, $is]);
+ throw SerializerLogicException::createMissingMethod($object::class, [$has, $is]);
}
}
|
PHP 8.3:
src/Accessor/PropertyAccessor.php#L37
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
/** @return class-string<object> */
private function getClass(object $object): string
{
- if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
+ if (interface_exists('Doctrine\Persistence\Proxy') && false) {
if (!$object->__isInitialized()) {
$object->__load();
}
|
PHP 8.3:
src/Accessor/PropertyAccessor.php#L37
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation":
@@ @@
/** @return class-string<object> */
private function getClass(object $object): string
{
- if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
+ if (!interface_exists('Doctrine\Persistence\Proxy') && !$object instanceof Proxy) {
if (!$object->__isInitialized()) {
$object->__load();
}
|
PHP 8.3:
src/Accessor/PropertyAccessor.php#L37
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation":
@@ @@
/** @return class-string<object> */
private function getClass(object $object): string
{
- if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
+ if (!interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
if (!$object->__isInitialized()) {
$object->__load();
}
|
PHP 8.3:
src/Accessor/PropertyAccessor.php#L38
Escaped Mutant for Mutator "LogicalNot":
@@ @@
private function getClass(object $object): string
{
if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
- if (!$object->__isInitialized()) {
+ if ($object->__isInitialized()) {
$object->__load();
}
$reflectionParentClass = (new \ReflectionObject($object))->getParentClass();
|
PHP 8.3:
src/Accessor/PropertyAccessor.php#L39
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
if (!$object->__isInitialized()) {
- $object->__load();
+
}
$reflectionParentClass = (new \ReflectionObject($object))->getParentClass();
if ($reflectionParentClass instanceof \ReflectionClass) {
|
PHP 8.3:
src/Accessor/PropertyAccessor.php#L43
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/Accessor/MethodAccessor.php#L20
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#L21
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#L22
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#L36
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
if (method_exists($object, $is)) {
return $object->{$is}();
}
- throw SerializerLogicException::createMissingMethod($object::class, [$get, $has, $is]);
+ throw SerializerLogicException::createMissingMethod($object::class, [$has, $is]);
}
}
|
PHP 8.4:
src/Accessor/PropertyAccessor.php#L37
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
/** @return class-string<object> */
private function getClass(object $object): string
{
- if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
+ if (interface_exists('Doctrine\Persistence\Proxy') && false) {
if (!$object->__isInitialized()) {
$object->__load();
}
|
PHP 8.4:
src/Accessor/PropertyAccessor.php#L37
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation":
@@ @@
/** @return class-string<object> */
private function getClass(object $object): string
{
- if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
+ if (!interface_exists('Doctrine\Persistence\Proxy') && !$object instanceof Proxy) {
if (!$object->__isInitialized()) {
$object->__load();
}
|
PHP 8.4:
src/Accessor/PropertyAccessor.php#L37
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation":
@@ @@
/** @return class-string<object> */
private function getClass(object $object): string
{
- if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
+ if (!interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
if (!$object->__isInitialized()) {
$object->__load();
}
|
PHP 8.4:
src/Accessor/PropertyAccessor.php#L38
Escaped Mutant for Mutator "LogicalNot":
@@ @@
private function getClass(object $object): string
{
if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
- if (!$object->__isInitialized()) {
+ if ($object->__isInitialized()) {
$object->__load();
}
$reflectionParentClass = (new \ReflectionObject($object))->getParentClass();
|
PHP 8.4:
src/Accessor/PropertyAccessor.php#L39
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
if (interface_exists('Doctrine\Persistence\Proxy') && $object instanceof Proxy) {
if (!$object->__isInitialized()) {
- $object->__load();
+
}
$reflectionParentClass = (new \ReflectionObject($object))->getParentClass();
if ($reflectionParentClass instanceof \ReflectionClass) {
|
PHP 8.4:
src/Accessor/PropertyAccessor.php#L43
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$object->__load();
}
$reflectionParentClass = (new \ReflectionObject($object))->getParentClass();
- if ($reflectionParentClass instanceof \ReflectionClass) {
+ if (true) {
return $reflectionParentClass->getName();
}
}
|