From b3508e70603fb9318133d94bf7dbb4467fc99f99 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Tue, 23 Dec 2025 11:52:37 +0100 Subject: [PATCH 1/2] ci: add tests for PHP 8.5 --- .github/workflows/php-cs-fixer.yml | 2 +- .github/workflows/run-tests.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index 9a5630c..51e6756 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: Fix style uses: docker://oskarstark/php-cs-fixer-ga diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 240f690..ba50a43 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -12,17 +12,17 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - php: [7.4, 8.0, 8.1, '8.2', '8.3', '8.4'] + php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5] dependency-version: [prefer-lowest, prefer-stable] name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.composer/cache/files key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} From 97e637b391f6473818ae380c6f37e213fea71e50 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Tue, 23 Dec 2025 11:57:43 +0100 Subject: [PATCH 2/2] ci: add tests for PHP 8.5 --- .github/workflows/run-tests.yml | 9 +-------- composer.json | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ba50a43..9ab9754 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: matrix: os: [ubuntu-latest] php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5] - dependency-version: [prefer-lowest, prefer-stable] + dependency-version: [prefer-stable] name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} @@ -21,17 +21,10 @@ jobs: - name: Checkout code uses: actions/checkout@v6 - - name: Cache dependencies - uses: actions/cache@v4 - with: - path: ~/.composer/cache/files - key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} - - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick coverage: none - name: Install dependencies diff --git a/composer.json b/composer.json index 308085f..24d6580 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "php": "^7.4|^8.0" }, "require-dev": { - "phpunit/phpunit": "^9.4" + "phpunit/phpunit": "^9.6" }, "autoload": { "files": [