Skip to content

Commit 43e3059

Browse files
authored
chore: bump deps and fix CI (#410)
* chore: bump deps * fix PHPStan * fix ci * fix e2e tests
1 parent 1c59759 commit 43e3059

File tree

6 files changed

+847
-574
lines changed

6 files changed

+847
-574
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
include:
2525
- php: '8.1'
2626
coverage: true
27+
phpstan: true
2728
steps:
2829
- uses: actions/checkout@v3
2930

@@ -48,7 +49,7 @@ jobs:
4849

4950
- name: Install prerequisites
5051
run: |
51-
wget -O box.phar https://github.com/humbug/box/releases/download/4.2.0/box.phar
52+
wget -O box.phar https://github.com/humbug/box/releases/download/4.3.8/box.phar
5253
echo "BOX_BIN=$(pwd)/box.phar" >> $GITHUB_ENV
5354
sudo chown -R $(whoami):$(whoami) .
5455
@@ -77,6 +78,7 @@ jobs:
7778
run: php-cs-fixer fix --dry-run --format=checkstyle --ansi | cs2pr
7879

7980
- name: Run phpstan
81+
if: matrix.phpstan
8082
run: vendor/bin/phpstan analyse --ansi
8183

8284
- name: Run e2e tests

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,12 @@
4545
"symfony/filesystem": "^5.2 || ^6.0",
4646
"twig/twig": "^3.0",
4747
"nette/php-generator": "^3.6 || ^4.0",
48-
"nette/utils": "^3.1",
4948
"nikic/php-parser": "^4.13",
5049
"cebe/php-openapi": "^1.6",
5150
"symfony/string": "^5.2 || ^6.0"
5251
},
5352
"require-dev": {
54-
"api-platform/core": "^v2.7",
53+
"api-platform/core": "^2.7 || ^3.0",
5554
"doctrine/orm": "^2.7",
5655
"myclabs/php-enum": "^1.7",
5756
"symfony/doctrine-bridge": "^5.2 || ^6.0",

0 commit comments

Comments
 (0)