Skip to content

Commit 18189fb

Browse files
committed
Run BC check on PHP 8.4
1 parent efe84c7 commit 18189fb

9 files changed

Lines changed: 42 additions & 12 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ updates:
77
interval: "weekly"
88
cooldown:
99
default-days: 7
10-
groups:
11-
github-actions:
12-
patterns:
13-
- "*"
1410
ignore:
1511
- dependency-name: "yiisoft/*"
1612

@@ -21,8 +17,4 @@ updates:
2117
interval: "daily"
2218
cooldown:
2319
default-days: 7
24-
groups:
25-
composer-dependencies:
26-
patterns:
27-
- "*"
2820
versioning-strategy: increase-if-necessary

.github/workflows/bc.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ on:
44

55
name: backwards compatibility
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
roave_bc_check:
912
uses: yiisoft/actions/.github/workflows/bc.yml@master
1013
with:
1114
os: >-
1215
['ubuntu-latest']
1316
php: >-
14-
['8.3']
17+
['8.4']

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121

2222
name: build
2323

24+
permissions:
25+
contents: read
26+
2427
jobs:
2528
phpunit:
2629
uses: yiisoft/actions/.github/workflows/phpunit.yml@master

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ on:
2323

2424
name: Composer require checker
2525

26+
permissions:
27+
contents: read
28+
2629
jobs:
2730
composer-require-checker:
2831
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master

.github/workflows/mutation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919

2020
name: mutation test
2121

22+
permissions:
23+
contents: read
24+
2225
jobs:
2326
mutation:
2427
uses: yiisoft/actions/.github/workflows/roave-infection.yml@master

.github/workflows/rector.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ on:
1111

1212
name: rector
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
1518
rector:
1619
uses: yiisoft/actions/.github/workflows/rector.yml@master
17-
secrets:
18-
token: ${{ secrets.YIISOFT_GITHUB_TOKEN }}
1920
with:
2021
os: >-
2122
['ubuntu-latest']

.github/workflows/static.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121

2222
name: static analysis
2323

24+
permissions:
25+
contents: read
26+
2427
jobs:
2528
psalm:
2629
uses: yiisoft/actions/.github/workflows/psalm.yml@master

.github/workflows/zizmor.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: GitHub Actions Security Analysis with zizmor 🌈
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
paths:
9+
- '.github/**.yml'
10+
- '.github/**.yaml'
11+
pull_request:
12+
paths:
13+
- '.github/**.yml'
14+
- '.github/**.yaml'
15+
16+
permissions:
17+
actions: read # Required by zizmor when reading workflow metadata through the API.
18+
contents: read # Required to read workflow files.
19+
20+
jobs:
21+
zizmor:
22+
uses: yiisoft/actions/.github/workflows/zizmor.yml@master

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"require-dev": {
4040
"maglnet/composer-require-checker": "^4.2",
41-
"phpunit/phpunit": "^10.5",
41+
"phpunit/phpunit": "^9.5",
4242
"rector/rector": "^1.0.0",
4343
"roave/infection-static-analysis-plugin": "^1.18",
4444
"spatie/phpunit-watcher": "^1.23",

0 commit comments

Comments
 (0)