Skip to content

Commit 8dcfa5d

Browse files
committed
Modernize library
* Update phpstan and infection * Minimum version to 8.2
1 parent a36e278 commit 8dcfa5d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/commit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php: [7.4, 8.0, 8.1]
10+
php: [8.2, 8.3, 8.4]
1111
steps:
1212
- name: Setup PHP
1313
uses: shivammathur/setup-php@v2
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
strategy:
3939
matrix:
40-
php: [7.4, 8.0, 8.1]
40+
php: [8.2, 8.3, 8.4]
4141
steps:
4242
- name: Setup PHP
4343
uses: shivammathur/setup-php@v2
@@ -61,7 +61,7 @@ jobs:
6161
- name: Setup PHP
6262
uses: shivammathur/setup-php@v2
6363
with:
64-
php-version: 8.0
64+
php-version: 8.4
6565
tools: composer:v2
6666

6767
- name: Checkout Repository
@@ -78,7 +78,7 @@ jobs:
7878
runs-on: ubuntu-latest
7979
strategy:
8080
matrix:
81-
php: [ 7.4, 8.0, 8.1 ]
81+
php: [ 8.2, 8.3, 8.4 ]
8282
steps:
8383
- name: Setup PHP
8484
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"MIT"
66
],
77
"require": {
8-
"php": ">=7.4"
8+
"php": "^8.2"
99
},
1010
"require-dev": {
11-
"phpstan/phpstan": "^1",
11+
"phpstan/phpstan": "^2",
1212
"roave/security-advisories": "dev-master",
1313
"phpunit/phpunit": "^9.5",
14-
"infection/infection": "^0.26",
14+
"infection/infection": "^0.31",
1515
"squizlabs/php_codesniffer": "^3.6",
1616
"jetbrains/phpstorm-attributes": "^1.0"
1717
},

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: 9
2+
level: max
33
paths:
44
- src
55
ignoreErrors:

0 commit comments

Comments
 (0)