diff --git a/composer.json b/composer.json index 520f02bbc5..00ccdb862c 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,8 @@ "psr/http-server-handler": "^1", "psr/http-server-middleware": "^1", "psr/simple-cache": "^1.0.1 || ^2 || ^3", - "symfony/cache": "^4.3 || ^5 || ^6 || ^7", - "symfony/expression-language": "^4 || ^5 || ^6 || ^7", + "symfony/cache": "^4.3 || ^5 || ^6 || ^7 || ^8", + "symfony/expression-language": "^4 || ^5 || ^6 || ^7 || ^8", "webonyx/graphql-php": "^v15.0", "kcs/class-finder": "^0.6.0" }, @@ -35,7 +35,7 @@ "php-coveralls/php-coveralls": "^2.7", "phpstan/extension-installer": "^1.4", "phpstan/phpstan": "^2.0", - "phpunit/phpunit": "^10.5 || ^11.0", + "phpunit/phpunit": "^10.5 || ^11.0 || ^12.0", "symfony/var-dumper": "^6.4" }, "suggest": { diff --git a/src/Utils/PropertyAccessor.php b/src/Utils/PropertyAccessor.php index 1347d1151c..2d0b4bd76d 100644 --- a/src/Utils/PropertyAccessor.php +++ b/src/Utils/PropertyAccessor.php @@ -94,6 +94,7 @@ public static function setValue(object $instance, string $propertyName, mixed $v throw AccessPropertyException::createForUnwritableProperty($class, $propertyName); } + /** @param class-string $class */ private static function isPublicProperty(string $class, string $propertyName): bool { if (! property_exists($class, $propertyName)) { diff --git a/tests/Loggers/ExceptionLogger.php b/tests/Loggers/ExceptionLogger.php index 612d0226ce..3a0a65861a 100644 --- a/tests/Loggers/ExceptionLogger.php +++ b/tests/Loggers/ExceptionLogger.php @@ -1,12 +1,15 @@