diff --git a/src/lib/MVC/Symfony/Templating/Twig/Extension/DeprecationOptionsTrait.php b/src/lib/MVC/Symfony/Templating/Twig/Extension/DeprecationOptionsTrait.php index 3112bec871..9724dda8fd 100644 --- a/src/lib/MVC/Symfony/Templating/Twig/Extension/DeprecationOptionsTrait.php +++ b/src/lib/MVC/Symfony/Templating/Twig/Extension/DeprecationOptionsTrait.php @@ -17,7 +17,7 @@ trait DeprecationOptionsTrait * @phpstan-param non-empty-string $newFunction * * @phpstan-return array{ - * deprecation_info: \Twig\DeprecatedCallableInfo, + * deprecation_info: object, * }|array{ * deprecated: non-empty-string, * deprecating_package: non-empty-string, diff --git a/tests/lib/MVC/Symfony/Templating/Twig/Extension/DataAttributesExtensionTest.php b/tests/lib/MVC/Symfony/Templating/Twig/Extension/DataAttributesExtensionTest.php index 012fa95447..95fc219d96 100644 --- a/tests/lib/MVC/Symfony/Templating/Twig/Extension/DataAttributesExtensionTest.php +++ b/tests/lib/MVC/Symfony/Templating/Twig/Extension/DataAttributesExtensionTest.php @@ -22,7 +22,7 @@ public function getExtensions(): array protected function getFixturesDir(): string { - if (PHP_VERSION_ID < 8_00_00) { + if (\PHP_VERSION_ID < 8_00_00) { return __DIR__ . '/_fixtures/filters/7.4'; } diff --git a/tests/lib/MVC/Symfony/Templating/Twig/Extension/FileSizeExtensionTest.php b/tests/lib/MVC/Symfony/Templating/Twig/Extension/FileSizeExtensionTest.php index be03f7d485..4506cd4970 100644 --- a/tests/lib/MVC/Symfony/Templating/Twig/Extension/FileSizeExtensionTest.php +++ b/tests/lib/MVC/Symfony/Templating/Twig/Extension/FileSizeExtensionTest.php @@ -72,7 +72,7 @@ protected function getExtensions() protected function getFixturesDir(): string { - if (PHP_VERSION_ID < 8_00_00) { + if (\PHP_VERSION_ID < 8_00_00) { return __DIR__ . '/_fixtures/functions/ez_file_size/7.4'; } diff --git a/tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php b/tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php index d0452f4299..164f750200 100644 --- a/tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php +++ b/tests/lib/MVC/Symfony/Templating/Twig/Extension/RoutingExtensionTest.php @@ -40,7 +40,7 @@ protected function getExtensions(): array protected function getFixturesDir(): string { - if (PHP_VERSION_ID < 8_00_00) { + if (\PHP_VERSION_ID < 8_00_00) { return __DIR__ . '/_fixtures/routing_functions/7.4'; }