Skip to content

Commit f1bf90a

Browse files
committed
prepare for phpstan 1.0
1 parent 53422c8 commit f1bf90a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: "composer cs-check"
3939
- name: "Code analyze"
4040
run: |
41-
bin/phpstan analyse src/ --level=max -c phpstan.neon
41+
bin/phpstan analyse src/ --level=8 -c phpstan.neon
4242
bin/rector process --dry-run
4343
- name: "Run test suite"
4444
run: "mkdir -p build/logs && bin/kahlan --coverage=4 --reporter=verbose --clover=build/logs/clover.xml"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"mezzio/mezzio-laminasviewrenderer": "^2.3",
7070
"northwoods/container": "^3.0",
7171
"php-coveralls/php-coveralls": "^2.4",
72-
"phpstan/phpstan": "^0.12.90",
72+
"phpstan/phpstan": "1.0.x-dev as 0.12.99",
7373
"phpstan/phpstan-webmozart-assert": "^0.12.7",
7474
"pimple/pimple": "^3.2",
7575
"rector/rector": "^0.11.53",

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ includes:
33
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
44

55
parameters:
6-
excludes_analyse:
6+
excludePaths:
77
- src/Controller/ErrorPreviewConsoleController.php
88
- src/Controller/ErrorPreviewController.php
99
- src/Middleware/Routed/Preview/ErrorPreviewAction.php

0 commit comments

Comments
 (0)