Skip to content

Commit 8a251b6

Browse files
vjiksamdarkTigrov
authored
PHP 8.4 support (#93)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru> Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
1 parent fe075a9 commit 8a251b6

11 files changed

Lines changed: 22 additions & 18 deletions

File tree

.github/workflows/bc.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.3']
34+
['8.4']

.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.1', '8.2', '8.3']
34+
['8.1', '8.2', '8.3', '8.4']

.github/workflows/mutation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
os: >-
3030
['ubuntu-latest']
3131
php: >-
32-
['8.2']
32+
['8.4']
3333
secrets:
3434
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.3']
24+
['8.4']

.github/workflows/sqlite.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@ jobs:
3737
php:
3838
- 8.1
3939
- 8.2
40-
41-
exclude:
42-
- os: windows-latest
43-
php: 8.2
40+
- 8.3
41+
- 8.4
4442

4543
steps:
4644
- name: Checkout.

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
os: >-
3030
['ubuntu-latest']
3131
php: >-
32-
['8.1', '8.2', '8.3']
32+
['8.1', '8.2', '8.3', '8.4']

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- Enh #85: Refactor `AssignmentStorage::filterUserItemNames()` method (@vjik)
66
- Enh #91: Bump `yiisoft/rbac` version to `^2.1` (@vjik)
7+
- Chg #92: Change PHP constraint in `composer.json` to `8.1 - 8.4` (@vjik)
8+
- Enh #92: Mark internal class `ItemTreeTraversalFactory` as final (@vjik)
79

810
## 2.0.0 March 07, 2024
911

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,24 @@
2929
}
3030
],
3131
"require": {
32+
"php": "8.1 - 8.4",
3233
"ext-pdo": "*",
33-
"php": "^8.1",
3434
"yiisoft/db": "^1.2",
3535
"yiisoft/db-migration": "^1.1",
3636
"yiisoft/friendly-exception": "^1.1",
3737
"yiisoft/rbac": "^2.1"
3838
},
3939
"require-dev": {
4040
"ext-pdo_sqlite": "*",
41-
"maglnet/composer-require-checker": "^4.3",
42-
"phpunit/phpunit": "^10.5.5",
41+
"maglnet/composer-require-checker": "^4.7.1",
42+
"phpunit/phpunit": "^10.5.45",
4343
"psr/clock": "^1.0",
44-
"rector/rector": "^2.0.10",
45-
"roave/infection-static-analysis-plugin": "^1.25",
46-
"spatie/phpunit-watcher": "^1.23",
47-
"vimeo/psalm": "^5.26.1",
44+
"rector/rector": "^2.0.11",
45+
"roave/infection-static-analysis-plugin": "^1.35",
46+
"spatie/phpunit-watcher": "^1.24",
47+
"vimeo/psalm": "^5.26.1 || ^6.10",
4848
"yiisoft/cache": "^3.0",
49-
"yiisoft/db-sqlite": "^1.0"
49+
"yiisoft/db-sqlite": "^1.2"
5050
},
5151
"suggest": {
5252
"yiisoft/db-sqlite": "For using with SQLite",

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
errorLevel="1"
44
findUnusedBaselineEntry="true"
55
findUnusedCode="false"
6+
ensureOverrideAttribute="false"
67
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
78
xmlns="https://getpsalm.org/schema/config"
89
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"

src/Exception/SeparatorCollisionException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
use Throwable;
99
use Yiisoft\FriendlyException\FriendlyExceptionInterface;
1010

11+
/**
12+
* @final
13+
*/
1114
class SeparatorCollisionException extends RuntimeException implements FriendlyExceptionInterface
1215
{
1316
public function __construct(int $code = 0, ?Throwable $previous = null)

0 commit comments

Comments
 (0)