Skip to content

Commit e6c3e9b

Browse files
committed
Merge branch 'master' into lazy-definition
# Conflicts: # .github/workflows/build.yml # .github/workflows/mutation.yml # tests/Unit/Helpers/DefinitionResolverTest.php # tests/Unit/Helpers/DefinitionValidatorTest.php
2 parents 4128323 + f262d5d commit e6c3e9b

19 files changed

+304
-132
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- 'psalm.xml'
1111

1212
push:
13+
branches:
14+
- master
1315
paths-ignore:
1416
- 'docs/**'
1517
- 'README.md'
@@ -28,4 +30,4 @@ jobs:
2830
os: >-
2931
['ubuntu-latest', 'windows-latest']
3032
php: >-
31-
['8.0', '8.1', '8.2']
33+
['8.0', '8.1', '8.2', '8.3']

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
- 'psalm.xml'
1212

1313
push:
14+
branches:
15+
- master
1416
paths-ignore:
1517
- 'docs/**'
1618
- 'README.md'
@@ -30,4 +32,4 @@ jobs:
3032
os: >-
3133
['ubuntu-latest']
3234
php: >-
33-
['8.0']
35+
['8.0', '8.1', '8.2', '8.3']

.github/workflows/mutation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- 'psalm.xml'
1010

1111
push:
12+
branches:
13+
- master
1214
paths-ignore:
1315
- 'docs/**'
1416
- 'README.md'
@@ -23,9 +25,10 @@ jobs:
2325
mutation:
2426
uses: yiisoft/actions/.github/workflows/roave-infection.yml@master
2527
with:
28+
min-covered-msi: 100
2629
os: >-
2730
['ubuntu-latest']
2831
php: >-
29-
['8.2']
32+
['8.3']
3033
secrets:
3134
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

.github/workflows/rector.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ name: rector
1414
jobs:
1515
rector:
1616
uses: yiisoft/actions/.github/workflows/rector.yml@master
17+
secrets:
18+
token: ${{ secrets.YIISOFT_GITHUB_TOKEN }}
1719
with:
1820
os: >-
1921
['ubuntu-latest']
2022
php: >-
21-
['8.0']
23+
['8.3']

.github/workflows/static.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- 'phpunit.xml.dist'
1111

1212
push:
13+
branches:
14+
- master
1315
paths-ignore:
1416
- 'docs/**'
1517
- 'README.md'
@@ -28,4 +30,12 @@ jobs:
2830
os: >-
2931
['ubuntu-latest']
3032
php: >-
31-
['8.0', '8.1']
33+
['8.1', '8.2', '8.3']
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']

.styleci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
preset: psr12
22
risky: true
33

4-
version: 8.1
4+
version: 8.2
55

66
finder:
77
exclude:

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 3.2.1 under development
44

5-
- no changes in this release.
5+
- Bug #86: Fix crash when intersection types are used (@vjik)
66

77
## 3.2.0 February 12, 2023
88

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
"maglnet/composer-require-checker": "^4.2",
3434
"friendsofphp/proxy-manager-lts": "^1.0",
3535
"phpunit/phpunit": "^9.5",
36-
"rector/rector": "^0.18.0",
36+
"rector/rector": "^1.0.0",
3737
"roave/infection-static-analysis-plugin": "^1.18",
3838
"spatie/phpunit-watcher": "^1.23",
39-
"vimeo/psalm": "^4.30|^5.6",
39+
"vimeo/psalm": "^4.30|^5.21",
4040
"yiisoft/test-support": "^1.4"
4141
},
4242
"suggest": {

phpunit.xml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<testsuite name="Yii Definitions tests">
2020
<directory>./tests/Unit</directory>
2121
<directory phpVersion="8.1" phpVersionOperator=">=">./tests/Php8_1</directory>
22+
<directory phpVersion="8.2" phpVersionOperator=">=">./tests/Php8_2</directory>
2223
</testsuite>
2324
</testsuites>
2425

psalm.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
</projectFiles>
1616
<issueHandlers>
1717
<MixedAssignment errorLevel="suppress" />
18+
<RiskyTruthyFalsyComparison errorLevel="suppress" />
1819
<InvalidThrow>
1920
<errorLevel type="suppress">
2021
<referencedClass name="Psr\Container\ContainerExceptionInterface" />

0 commit comments

Comments
 (0)