diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2065764aa2..a7095ee8f4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -45,6 +45,19 @@ jobs: - name: Ensure that composer.json is valid run: ./tools/composer validate --no-ansi --strict composer.json + - name: Get Composer cache directory + id: composer-cache + shell: bash + run: | + echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" + + - name: Cache Composer cache directory + uses: actions/cache@v4 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: ${{ runner.os }}-composer- + - name: Ensure that dependencies can be installed run: ./tools/composer install --no-ansi --dry-run @@ -110,6 +123,19 @@ jobs: coverage: none tools: none + - name: Get Composer cache directory + id: composer-cache + shell: bash + run: | + echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" + + - name: Cache Composer cache directory + uses: actions/cache@v4 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: ${{ runner.os }}-composer- + - name: Install dependencies with Composer run: ./tools/composer install --no-interaction --no-ansi --no-progress @@ -176,6 +202,19 @@ jobs: ini-values: ${{ env.PHP_INI_VALUES }} tools: none + - name: Get Composer cache directory + id: composer-cache + shell: bash + run: | + echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" + + - name: Cache Composer cache directory + uses: actions/cache@v4 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: ${{ runner.os }}-composer- + - name: Install dependencies with Composer run: php ./tools/composer install --no-ansi --no-interaction --no-progress @@ -239,6 +278,19 @@ jobs: ini-values: ${{ env.PHP_INI_VALUES }} tools: none + - name: Get Composer cache directory + id: composer-cache + shell: bash + run: | + echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" + + - name: Cache Composer cache directory + uses: actions/cache@v4 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: ${{ runner.os }}-composer- + - name: Install dependencies with Composer run: php ./tools/composer install --no-ansi --no-interaction --no-progress @@ -277,6 +329,19 @@ jobs: ini-values: assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On tools: none + - name: Get Composer cache directory + id: composer-cache + shell: bash + run: | + echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" + + - name: Cache Composer cache directory + uses: actions/cache@v4 + with: + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} + restore-keys: ${{ runner.os }}-composer- + - name: Install dependencies with Composer run: ./tools/composer install --no-ansi --no-interaction --no-progress diff --git a/ChangeLog-8.5.md b/ChangeLog-8.5.md index 1bdb728eec..49a041c151 100644 --- a/ChangeLog-8.5.md +++ b/ChangeLog-8.5.md @@ -2,6 +2,10 @@ All notable changes of the PHPUnit 8.5 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles. +## [8.5.48] - 2025-09-24 + +* No changes; `phpunit.phar` rebuilt with updated dependencies + ## [8.5.47] - 2025-09-23 * No changes; `phpunit.phar` rebuilt with updated dependencies @@ -356,6 +360,7 @@ All notable changes of the PHPUnit 8.5 release series are documented in this fil * [#3967](https://github.com/sebastianbergmann/phpunit/issues/3967): Cannot double interface that extends interface that extends `\Throwable` * [#3968](https://github.com/sebastianbergmann/phpunit/pull/3968): Test class run in a separate PHP process are passing when `exit` called inside +[8.5.48]: https://github.com/sebastianbergmann/phpunit/compare/8.5.47...8.5.48 [8.5.47]: https://github.com/sebastianbergmann/phpunit/compare/8.5.46...8.5.47 [8.5.46]: https://github.com/sebastianbergmann/phpunit/compare/8.5.45...8.5.46 [8.5.45]: https://github.com/sebastianbergmann/phpunit/compare/8.5.44...8.5.45 diff --git a/composer.json b/composer.json index 93bbb9e4f2..b4fb48024b 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "sebastian/comparator": "^3.0.6", "sebastian/diff": "^3.0.6", "sebastian/environment": "^4.2.5", - "sebastian/exporter": "^3.1.7", + "sebastian/exporter": "^3.1.8", "sebastian/global-state": "^3.0.6", "sebastian/object-enumerator": "^3.0.5", "sebastian/resource-operations": "^2.0.3", diff --git a/composer.lock b/composer.lock index 1861a1b88f..bd5ce367d7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c57854123ae8833ca323be20b1c06231", + "content-hash": "dd824f9787643bb4255506745924f7f8", "packages": [ { "name": "doctrine/instantiator", @@ -823,16 +823,16 @@ }, { "name": "sebastian/exporter", - "version": "3.1.7", + "version": "3.1.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "8c86ae3e84f69acff53b9d4b96614a68e3572901" + "reference": "64cfeaa341951ceb2019d7b98232399d57bb2296" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/8c86ae3e84f69acff53b9d4b96614a68e3572901", - "reference": "8c86ae3e84f69acff53b9d4b96614a68e3572901", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/64cfeaa341951ceb2019d7b98232399d57bb2296", + "reference": "64cfeaa341951ceb2019d7b98232399d57bb2296", "shasum": "" }, "require": { @@ -888,7 +888,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.7" + "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.8" }, "funding": [ { @@ -908,7 +908,7 @@ "type": "tidelift" } ], - "time": "2025-09-22T05:03:57+00:00" + "time": "2025-09-24T05:55:14+00:00" }, { "name": "sebastian/global-state", diff --git a/src/Runner/Version.php b/src/Runner/Version.php index 818d49d340..11d7f51bce 100644 --- a/src/Runner/Version.php +++ b/src/Runner/Version.php @@ -38,7 +38,7 @@ public static function id(): string } if (self::$version === '') { - self::$version = (new VersionId('8.5.47', dirname(__DIR__, 2)))->getVersion(); + self::$version = (new VersionId('8.5.48', dirname(__DIR__, 2)))->getVersion(); } return self::$version;