Skip to content

Commit

Permalink
Fixed issues related to twig/twig 3.15 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Nov 19, 2024
1 parent 17486bc commit a15a6bb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down

0 comments on commit a15a6bb

Please sign in to comment.