From 906925dd1e032240787146bcbddcaa15a45abc15 Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Fri, 27 Mar 2026 09:26:35 +0200 Subject: [PATCH] Issue #58: Add PHP 8.5 support Signed-off-by: alexmerlin --- .github/workflows/codecov.yml | 5 +++-- .github/workflows/static-analysis.yml | 5 +++-- README.md | 2 +- SECURITY.md | 2 +- composer.json | 2 +- docs/book/v3/overview.md | 2 +- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 2f4aa24..9767dda 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -18,10 +18,11 @@ jobs: - "8.2" - "8.3" - "8.4" + - "8.5" steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -35,7 +36,7 @@ jobs: run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV - name: Cache dependencies installed with composer - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: ${{ env.COMPOSER_CACHE_DIR }} key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index dd89fbf..d9d0a0a 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -18,10 +18,11 @@ jobs: - "8.2" - "8.3" - "8.4" + - "8.5" steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -35,7 +36,7 @@ jobs: run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV - name: Cache dependencies installed with composer - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ env.COMPOSER_CACHE_DIR }} key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} diff --git a/README.md b/README.md index 7f929ab..1bb35a1 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Documentation is available at: https://docs.dotkernel.org/dot-twigrenderer/. ## Badges ![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-twigrenderer) -![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-twigrenderer/3.7.0) +![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-twigrenderer/3.8.0) [![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-twigrenderer)](https://github.com/dotkernel/dot-twigrenderer/issues) [![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-twigrenderer)](https://github.com/dotkernel/dot-twigrenderer/network) diff --git a/SECURITY.md b/SECURITY.md index 92ba650..db0cb2c 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,7 +4,7 @@ | Version | Supported | PHP Version | |---------|--------------------|------------------------------------------------------------------------------------------------------------------| -| 3.x | :white_check_mark: | ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-twigrenderer/3.7.0) | +| 3.x | :white_check_mark: | ![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-twigrenderer/3.8.0) | | <= 2.x | :x: | | ## Reporting Potential Security Issues diff --git a/composer.json b/composer.json index c760338..328a378 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", + "php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0", "dotkernel/dot-authorization": "^3.4.1", "dotkernel/dot-flashmessenger": "^3.4.2", "dotkernel/dot-navigation": "^3.5.1", diff --git a/docs/book/v3/overview.md b/docs/book/v3/overview.md index ef0187e..08b0441 100644 --- a/docs/book/v3/overview.md +++ b/docs/book/v3/overview.md @@ -7,7 +7,7 @@ Dotkernel component providing Twig extensions and customizations. ## Badges ![OSS Lifecycle](https://img.shields.io/osslifecycle/dotkernel/dot-twigrenderer) -![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-twigrenderer/3.7.0) +![PHP from Packagist (specify version)](https://img.shields.io/packagist/php-v/dotkernel/dot-twigrenderer/3.8.0) [![GitHub issues](https://img.shields.io/github/issues/dotkernel/dot-twigrenderer)](https://github.com/dotkernel/dot-twigrenderer/issues) [![GitHub forks](https://img.shields.io/github/forks/dotkernel/dot-twigrenderer)](https://github.com/dotkernel/dot-twigrenderer/network)