Skip to content

Commit

Permalink
Add PHP 8.4 support, drop PHP 8.2 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk authored Sep 25, 2024
1 parent 2ad627c commit ec2e873
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.2"
- "8.3"

steps:
- uses: "actions/checkout@v4"
Expand All @@ -27,7 +27,7 @@ jobs:
php-version: "${{ matrix.php-version }}"
ini-values: "${{ env.INI_VALUES }}"
tools: composer-normalize,composer-require-checker,composer-unused
- uses: "ramsey/composer-install@v2"
- uses: "ramsey/composer-install@v3"

- run: "composer validate --strict"
- run: "composer-normalize --dry-run"
Expand All @@ -40,11 +40,11 @@ jobs:
strategy:
matrix:
php-version:
- "8.3"
- "8.4"
code-coverage:
- "none"
include:
- php-version: "8.2"
- php-version: "8.3"
code-coverage: "pcov"

steps:
Expand All @@ -54,7 +54,7 @@ jobs:
coverage: "${{ matrix.code-coverage }}"
php-version: "${{ matrix.php-version }}"
ini-values: "${{ env.INI_VALUES }}"
- uses: "ramsey/composer-install@v2"
- uses: "ramsey/composer-install@v3"

- run: "vendor/bin/phpunit --no-coverage --no-logging"
if: ${{ matrix.code-coverage == 'none' }}
Expand All @@ -78,7 +78,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.2"
- "8.3"

steps:
- uses: "actions/checkout@v4"
Expand All @@ -87,6 +87,6 @@ jobs:
coverage: "none"
php-version: "${{ matrix.php-version }}"
ini-values: "${{ env.INI_VALUES }}"
- uses: "ramsey/composer-install@v2"
- uses: "ramsey/composer-install@v3"

- run: "vendor/bin/php-cs-fixer fix --verbose --dry-run --diff"
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
}
],
"require": {
"php": "~8.2.0 || ~8.3.0"
"php": "~8.3.0 || ~8.4.0"
},
"require-dev": {
"phpunit/phpunit": "^11.3.6",
"slam/php-cs-fixer-extensions": "^3.11.1"
"slam/php-cs-fixer-extensions": "^3.12.0"
},
"autoload": {
"files": [
Expand Down

0 comments on commit ec2e873

Please sign in to comment.