Skip to content

Commit d665917

Browse files
authored
CI: run also PHP 8.5 (#254)
1 parent 3a32065 commit d665917

File tree

6 files changed

+93
-76
lines changed

6 files changed

+93
-76
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
fail-fast: false
100100
matrix:
101-
php-version: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
101+
php-version: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
102102
dependency-version: [ prefer-lowest, prefer-stable ]
103103
steps:
104104
-
@@ -112,7 +112,7 @@ jobs:
112112
ini-file: development
113113
-
114114
name: Update dependencies
115-
run: composer update --no-progress --${{ matrix.dependency-version }} --prefer-dist --no-interaction
115+
run: composer update --no-progress --${{ matrix.dependency-version }} --prefer-dist --no-interaction ${{ matrix.php-version == '8.5' && '--ignore-platform-req=php+' || '' }}
116116
-
117117
name: Run tests
118118
run: vendor/bin/phpunit --no-coverage tests

.github/workflows/e2e.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
uses: actions/checkout@v4
3737
with:
3838
repository: ${{ matrix.repo }}
39+
token: ${{ secrets.PAT_GITHUB_CHECKOUT }}
3940

4041
-
4142
name: Setup PHP
@@ -50,7 +51,7 @@ jobs:
5051
name: Update Dead Code Detector
5152
run: |
5253
composer config repositories.pr vcs https://github.com/${{ github.event.pull_request.head.repo.full_name }}
53-
composer require --dev shipmonk/dead-code-detector:dev-${{ github.head_ref }}
54+
composer require --dev shipmonk/dead-code-detector:dev-${{ github.head_ref }} --with-all-dependencies --minimal-changes
5455
5556
-
5657
name: Run analysis

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
],
1414
"require": {
1515
"php": "^7.4 || ^8.0",
16-
"phpstan/phpstan": "^2.1.12"
16+
"phpstan/phpstan": "^2.1.23"
1717
},
1818
"require-dev": {
1919
"composer-runtime-api": "^2.0",
2020
"composer/semver": "^3.4",
2121
"doctrine/orm": "^2.19 || ^3.0",
2222
"editorconfig-checker/editorconfig-checker": "^10.6.0",
23-
"ergebnis/composer-normalize": "^2.45.0",
23+
"ergebnis/composer-normalize": "^2.48.1",
2424
"nette/application": "^3.1",
2525
"nette/component-model": "^3.0",
2626
"nette/utils": "^3.0 || ^4.0",

0 commit comments

Comments
 (0)