diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc404d8..79402d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: if: (github.event_name == 'push' || github.event_name == 'schedule') && !startsWith(github.ref, 'refs/tags') runs-on: ubuntu-latest steps: - - uses: zenstruck/.github@php-cs-fixer + - uses: zenstruck/.github/actions/php-cs-fixer@main with: php: 8 key: ${{ secrets.GPG_PRIVATE_KEY }} @@ -36,7 +36,7 @@ jobs: if: (github.event_name == 'push' || github.event_name == 'schedule') && !startsWith(github.ref, 'refs/tags') runs-on: ubuntu-latest steps: - - uses: zenstruck/.github@sync-with-template + - uses: zenstruck/.github/actions/sync-with-template@main with: key: ${{ secrets.GPG_PRIVATE_KEY }} token: ${{ secrets.COMPOSER_TOKEN }} diff --git a/composer.json b/composer.json index ca2cb14..a9ff6a3 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "php": ">=8.0", + "php": ">=8.1", "symfony/polyfill-php81": "^1.23", "symfony/var-exporter": "^5.4|^6.0|^7.0|^8.0" }, @@ -31,5 +31,6 @@ "autoload-dev": { "psr-4": { "Zenstruck\\Assert\\Tests\\": "tests/" } }, - "minimum-stability": "beta" + "minimum-stability": "dev", + "prefer-stable": true } diff --git a/tests/ResetHandler.php b/tests/ResetHandler.php index 0e9ee48..d720a3a 100644 --- a/tests/ResetHandler.php +++ b/tests/ResetHandler.php @@ -24,7 +24,6 @@ trait ResetHandler public static function resetHandler(): void { $property = (new \ReflectionClass(Assert::class))->getProperty('handler'); - $property->setAccessible(true); $property->setValue(null, null); } }