Skip to content

Commit 7044047

Browse files
authored
Merge pull request sabre-io#662 from phil-davis/add-php-8.4-to-ci-for-4.5
chore: add PHP 8.4 to CI [4.5]
2 parents e8d649e + 41dc45e commit 7044047

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ jobs:
1414
matrix:
1515
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
1616
coverage: ['pcov']
17+
code-style: ['no']
1718
code-analysis: ['no']
1819
include:
1920
- php-versions: '7.1'
2021
coverage: 'none'
22+
code-style: 'yes'
23+
code-analysis: 'yes'
24+
- php-versions: '8.4'
25+
coverage: 'none'
26+
code-style: 'no'
2127
code-analysis: 'yes'
2228
steps:
2329
- name: Checkout
@@ -48,7 +54,7 @@ jobs:
4854
run: composer install --no-progress --prefer-dist --optimize-autoloader
4955

5056
- name: Code Analysis (PHP CS-Fixer)
51-
if: matrix.code-analysis == 'yes'
57+
if: matrix.code-style == 'yes'
5258
run: php vendor/bin/php-cs-fixer fix --dry-run --diff
5359

5460
- name: Code Analysis (PHPStan)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
},
3939
"require-dev" : {
4040
"friendsofphp/php-cs-fixer": "~2.17.1",
41-
"phpunit/phpunit" : "^7.5 || ^8.5 || ^9.0",
41+
"phpunit/phpunit" : "^7.5 || ^8.5 || ^9.6",
4242
"phpunit/php-invoker" : "^2.0 || ^3.1",
43-
"phpstan/phpstan": "^0.12"
43+
"phpstan/phpstan": "^0.12 || ^1.11"
4444
},
4545
"suggest" : {
4646
"hoa/bench" : "If you would like to run the benchmark scripts"

0 commit comments

Comments
 (0)