Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37f5ea7

Browse files
author
Szymon Kostrubiec
committed
OP-351 - CR fixes, add PHP 8.0 check rule for Sylius 1.12 on symfony 5.4
1 parent 657f0c0 commit 37f5ea7

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,19 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
php: [ "8.1", "8.2", "8.3" ]
22+
php: [ "8.0", "8.1", "8.2", "8.3" ]
2323
symfony: [ "^5.4", "^6.4" ]
2424
sylius: [ "^1.12", "^1.13" ]
2525
node: [ "18.x", "20.x" ]
2626
mysql: [ "8.0" ]
2727

28+
exclude:
29+
- sylius: ^1.13
30+
php: 8.0
31+
- sylius: ^1.12
32+
php: 8.0
33+
symfony: ^6.4
34+
2835
env:
2936
APP_ENV: test
3037
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}"

.github/workflows/coding_standard.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,18 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
php: [ "8.1", "8.2", "8.3" ]
21+
php: [ "8.0", "8.1", "8.2", "8.3" ]
2222
symfony: [ "^5.4", "^6.4" ]
2323
sylius: [ "^1.12", "^1.13" ]
2424
node: [ "18.x", "20.x" ]
2525

26+
exclude:
27+
- sylius: ^1.13
28+
php: 8.0
29+
- sylius: ^1.12
30+
php: 8.0
31+
symfony: ^6.4
32+
2633
steps:
2734
- uses: actions/checkout@v3
2835

@@ -63,7 +70,7 @@ jobs:
6370
SYMFONY_REQUIRE: ${{ matrix.symfony }}
6471

6572
- name: Run PHPStan
66-
run: vendor/bin/phpstan analyse -c phpstan.neon -l 8 src/
73+
run: vendor/bin/phpstan analyse -c phpstan.neon.dist -l 8 src/
6774

6875
- name: Run ECS
6976
run: vendor/bin/ecs
File renamed without changes.

0 commit comments

Comments
 (0)