Skip to content

Commit 53ae60b

Browse files
authored
Add PHP 8.5 support (#83)
1 parent 22941cb commit 53ae60b

File tree

12 files changed

+37
-40
lines changed

12 files changed

+37
-40
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
os: >-
3232
['ubuntu-latest', 'windows-latest']
3333
php: >-
34-
['8.0', '8.1', '8.2', '8.3', '8.4']
34+
['8.0', '8.1', '8.2', '8.3', '8.4', '8.5']

.github/workflows/composer-require-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
os: >-
3232
['ubuntu-latest']
3333
php: >-
34-
['8.0', '8.1', '8.2', '8.3', '8.4']
34+
['8.0', '8.1', '8.2', '8.3', '8.4', '8.5']

.github/workflows/mutation.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ name: mutation test
2222

2323
jobs:
2424
mutation:
25-
uses: yiisoft/actions/.github/workflows/roave-infection.yml@master
25+
uses: yiisoft/actions/.github/workflows/infection.yml@master
2626
with:
2727
os: >-
2828
['ubuntu-latest']
2929
php: >-
30-
['8.4']
30+
['8.5']
31+
infection-args: "--ignore-msi-with-no-mutations"
3132
secrets:
3233
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

.github/workflows/rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
os: >-
2222
['ubuntu-latest']
2323
php: >-
24-
['8.4']
24+
['8.5']

.github/workflows/static.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,4 @@ jobs:
3030
os: >-
3131
['ubuntu-latest']
3232
php: >-
33-
['8.1', '8.2', '8.3', '8.4']
34-
psalm80:
35-
uses: yiisoft/actions/.github/workflows/psalm.yml@master
36-
with:
37-
psalm-config: psalm80.xml
38-
os: >-
39-
['ubuntu-latest']
40-
php: >-
41-
['8.0']
33+
['8.0', '8.1', '8.2', '8.3', '8.4']

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 3.0.3 under development
44

55
- New #80: Add PSR-20 static clock implementation (@samdark)
6+
- Enh #83: Add PHP 8.5 support (@vjik)
67

78
## 3.0.2 February 23, 2025
89

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The package is intended to simplify the process of testing application elements
1818

1919
## Requirements
2020

21-
- PHP 8.0 or higher.
21+
- PHP 8.0 - 8.5.
2222

2323
## Installation
2424

composer.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,19 @@
2727
}
2828
],
2929
"require": {
30-
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
30+
"php": "8.0 - 8.5",
3131
"psr/clock": "^1.0",
3232
"psr/container": "^1.0 || ^2.0",
3333
"psr/event-dispatcher": "^1.0",
3434
"psr/log": "^2.0|^3.0",
3535
"psr/simple-cache": "^2.0|^3.0"
3636
},
3737
"require-dev": {
38+
"bamarni/composer-bin-plugin": "^1.8.3",
3839
"maglnet/composer-require-checker": "^4.4",
3940
"phpunit/phpunit": "^9.6.22",
4041
"rector/rector": "^2.0.9",
41-
"roave/infection-static-analysis-plugin": "^1.25",
42-
"spatie/phpunit-watcher": "^1.23.6",
43-
"vimeo/psalm": "^4.30 || ^5.26.1 || ^6.8.6"
42+
"spatie/phpunit-watcher": "^1.23.6"
4443
},
4544
"autoload": {
4645
"psr-4": {
@@ -56,11 +55,17 @@
5655
"test": "phpunit --testdox --no-interaction",
5756
"test-watch": "phpunit-watcher watch"
5857
},
58+
"extra": {
59+
"bamarni-bin": {
60+
"bin-links": true,
61+
"target-directory": "tools",
62+
"forward-command": true
63+
}
64+
},
5965
"config": {
6066
"sort-packages": true,
61-
"bump-after-update": "dev",
6267
"allow-plugins": {
63-
"infection/extension-installer": true,
68+
"bamarni/composer-bin-plugin": true,
6469
"composer/package-versions-deprecated": true
6570
}
6671
}

psalm80.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

tools/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/*/vendor
2+
/*/composer.lock

0 commit comments

Comments
 (0)