Skip to content

Commit c4b1f8f

Browse files
authored
PHP 8.5 support (#102)
1 parent 6407d68 commit c4b1f8f

12 files changed

Lines changed: 37 additions & 41 deletions

File tree

.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.3']
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- Enh #87: Use FQN for built-in PHP functions, minor refactoring `FileHelper` and `PathMatcher` (@Tigrov)
99
- Bug #91: Restore error handler after handling exception (@vjik)
1010
- Enh #99: Suppress warnings that emitted when path not exist on `FileHelper::lastModifiedTime()` usage (@vjik)
11-
- Chg #101: Change PHP constraint in `composer.json` to `8.0 - 8.4` (@vjik)
11+
- Chg #101, #102: Change PHP constraint in `composer.json` to `8.0 - 8.5` (@vjik)
1212

1313
## 2.0.0 July 05, 2022
1414

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The package provides useful methods to manage files and directories.
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
@@ -26,17 +26,16 @@
2626
}
2727
],
2828
"require": {
29-
"php": "8.0 - 8.4",
29+
"php": "8.0 - 8.5",
3030
"yiisoft/strings": "^2.0"
3131
},
3232
"require-dev": {
3333
"ext-zlib": "*",
34+
"bamarni/composer-bin-plugin": "^1.8.3",
3435
"maglnet/composer-require-checker": "^4.4",
3536
"phpunit/phpunit": "^9.6.22",
3637
"rector/rector": "^2.0.10",
37-
"roave/infection-static-analysis-plugin": "^1.25",
38-
"spatie/phpunit-watcher": "^1.23.6",
39-
"vimeo/psalm": "^4.30 || ^5.26.1 || ^6.8.8"
38+
"spatie/phpunit-watcher": "^1.23.6"
4039
},
4140
"autoload": {
4241
"psr-4": {
@@ -48,11 +47,17 @@
4847
"Yiisoft\\Files\\Tests\\": "tests"
4948
}
5049
},
50+
"extra": {
51+
"bamarni-bin": {
52+
"bin-links": true,
53+
"target-directory": "tools",
54+
"forward-command": true
55+
}
56+
},
5157
"config": {
5258
"sort-packages": true,
53-
"bump-after-update": "dev",
5459
"allow-plugins": {
55-
"infection/extension-installer": true,
60+
"bamarni/composer-bin-plugin": true,
5661
"composer/package-versions-deprecated": true
5762
}
5863
},

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)