Skip to content

Commit

Permalink
Add PHP 8.3 support, drop PHP < 8.2 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk authored Nov 20, 2023
1 parent 79cbd5c commit b9c0199
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
10 changes: 5 additions & 5 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.1"
- "8.2"

steps:
- uses: "actions/checkout@v4"
Expand All @@ -40,11 +40,11 @@ jobs:
strategy:
matrix:
php-version:
- "8.2"
- "8.3"
code-coverage:
- "none"
include:
- php-version: "8.1"
- php-version: "8.2"
code-coverage: "pcov"

steps:
Expand All @@ -70,7 +70,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.2"

steps:
- uses: "actions/checkout@v4"
Expand All @@ -89,7 +89,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.1"
- "8.2"

steps:
- uses: "actions/checkout@v4"
Expand Down
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@
}
],
"require": {
"php": "~8.1.0 || ~8.2.0",
"php": "~8.2.0 || ~8.3.0",
"ext-mbstring": "*",
"ext-tokenizer": "*",
"friendsofphp/php-cs-fixer": "^3.38.2"
},
"require-dev": {
"phpstan/phpstan": "^1.10.43",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpunit/phpunit": "^10.4.2",
"slam/php-debug-r": "^1.8.1",
"slam/phpstan-extensions": "^6.0.0"
"phpunit/phpunit": "^10.4.2"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/slam/phpstan-extensions/conf/slam-rules.neon
- phpstan-baseline.neon

parameters:
Expand Down

0 comments on commit b9c0199

Please sign in to comment.