Skip to content

Commit

Permalink
Run CI against PHP 8.4 (#30)
Browse files Browse the repository at this point in the history
* Run CI against PHP 8.4

* Run psalm & phpbench only with highest deps on PHP 8.4
  • Loading branch information
marmichalski authored Dec 2, 2024
1 parent 622d85d commit 70cc5d4
Show file tree
Hide file tree
Showing 11 changed files with 1,318 additions and 794 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
os:
- "ubuntu-latest"

Expand All @@ -45,10 +46,12 @@ jobs:
run: composer code-style:check

- name: "Run psalm"
if: ${{ matrix.dependencies == 'highest' || matrix.php != '8.4' }}
run: vendor/bin/psalm

- name: "Run phpunit"
run: vendor/bin/phpunit

- name: "Run phpbench"
if: ${{ matrix.dependencies == 'highest' || matrix.php != '8.4' }}
run: vendor/bin/phpbench run
1 change: 0 additions & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
'@PHP81Migration' => true,
'@Symfony' => true,
'yoda_style' => false,

])
->setFinder($finder)
;
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
},
"require-dev": {
"ext-gmp": "^8.1",
"phpunit/phpunit": "^8.5.26",
"vimeo/psalm": "^4.3.1",
"phpunit/phpunit": "^10.5.38",
"vimeo/psalm": "^5.26.1",
"phpbench/phpbench": "^1.1.1",
"rector/rector": "^0.18.12",
"php-cs-fixer/shim": "^3.41"
"rector/rector": "^1.2",
"php-cs-fixer/shim": "^3.65.0"
},
"suggest": {
"ramsey/uuid": "A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID)",
Expand Down
Loading

0 comments on commit 70cc5d4

Please sign in to comment.