diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index eeed973..5467a43 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,6 +22,7 @@ jobs: - "8.0" - "8.1" - "8.2" + - "8.3" dependencies: - "highest" - "lowest" @@ -36,10 +37,16 @@ jobs: symfony-require: "^6.0" - php-version: 8.2 symfony-require: "^6.0" + - php-version: 8.3 + symfony-require: "^6.0" + - php-version: 8.2 + symfony-require: "^7.0" + - php-version: 8.3 + symfony-require: "^7.0" steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: "Install PHP" uses: "shivammathur/setup-php@v2" diff --git a/composer.json b/composer.json index 370f410..3ba7d6b 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "doctrine/annotations": "^1.13.2 || ^2.0", "jms/metadata": "^2.0", "jms/serializer": "^3.18.2", - "symfony/expression-language": "~3.0 || ~4.0 || ~5.0 || ~6.0" + "symfony/expression-language": "~3.0 || ~4.0 || ~5.0 || ~6.0 || ~7.0" }, "require-dev": { "phpunit/phpunit": "^7 | ^9.5.10", @@ -31,8 +31,8 @@ "phpdocumentor/type-resolver": "^1.5.1", "phpspec/prophecy-phpunit": "^2.0.1", "phpspec/prophecy": "^1.16", - "symfony/routing": "~3.0 || ~4.0 || ~5.0 || ~6.0", - "symfony/yaml": "~3.0 || ~4.0 || ~5.0 || ~6.0", + "symfony/routing": "~3.0 || ~4.0 || ~5.0 || ~6.0 || ~7.0", + "symfony/yaml": "~3.0 || ~4.0 || ~5.0 || ~6.0 || ~7.0", "twig/twig": "^1.43 || ^2.13 || ^3.0" }, "suggest": { diff --git a/src/Expression/LinkExpressionFunction.php b/src/Expression/LinkExpressionFunction.php index b40ef4e..7cdfa04 100644 --- a/src/Expression/LinkExpressionFunction.php +++ b/src/Expression/LinkExpressionFunction.php @@ -14,7 +14,7 @@ class LinkExpressionFunction implements ExpressionFunctionProviderInterface * * @phpcsSuppress SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint */ - public function getFunctions() + public function getFunctions(): array { return [ new ExpressionFunction('link', static function ($object, $rel, $absolute = false) {