Skip to content

Commit 969ec7e

Browse files
authored
minor: update action references and adjust composer stability (#30)
* minor: update action references and adjust composer stability * feat: require PHP 8.1+
1 parent 03d6c91 commit 969ec7e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
if: (github.event_name == 'push' || github.event_name == 'schedule') && !startsWith(github.ref, 'refs/tags')
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: zenstruck/.github@php-cs-fixer
28+
- uses: zenstruck/.github/actions/php-cs-fixer@main
2929
with:
3030
php: 8
3131
key: ${{ secrets.GPG_PRIVATE_KEY }}
@@ -36,7 +36,7 @@ jobs:
3636
if: (github.event_name == 'push' || github.event_name == 'schedule') && !startsWith(github.ref, 'refs/tags')
3737
runs-on: ubuntu-latest
3838
steps:
39-
- uses: zenstruck/.github@sync-with-template
39+
- uses: zenstruck/.github/actions/sync-with-template@main
4040
with:
4141
key: ${{ secrets.GPG_PRIVATE_KEY }}
4242
token: ${{ secrets.COMPOSER_TOKEN }}

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=8.0",
15+
"php": ">=8.1",
1616
"symfony/polyfill-php81": "^1.23",
1717
"symfony/var-exporter": "^5.4|^6.0|^7.0|^8.0"
1818
},
@@ -31,5 +31,6 @@
3131
"autoload-dev": {
3232
"psr-4": { "Zenstruck\\Assert\\Tests\\": "tests/" }
3333
},
34-
"minimum-stability": "beta"
34+
"minimum-stability": "dev",
35+
"prefer-stable": true
3536
}

tests/ResetHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ trait ResetHandler
2424
public static function resetHandler(): void
2525
{
2626
$property = (new \ReflectionClass(Assert::class))->getProperty('handler');
27-
$property->setAccessible(true);
2827
$property->setValue(null, null);
2928
}
3029
}

0 commit comments

Comments
 (0)