Skip to content

Commit 2e592bb

Browse files
committed
prepare for phpstan 1.0
1 parent 70d4fdf commit 2e592bb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: "composer cs-check"
3131
- name: "Code analyze"
3232
run: |
33-
bin/phpstan analyse src/ --level=max -c phpstan.neon
33+
bin/phpstan analyse src/ --level=8 -c phpstan.neon
3434
bin/rector process --dry-run
3535
- name: "Run test suite"
3636
run: "mkdir -p build/logs && bin/kahlan --coverage=4 --reporter=verbose --clover=build/logs/clover.xml"

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"laminas/laminas-mvc": "^3.0",
3838
"mezzio/mezzio": "^3.0",
3939
"php-coveralls/php-coveralls": "^2.1",
40-
"phpstan/phpstan": "^0.12.93",
40+
"phpstan/phpstan": "1.0.x-dev as 0.12.99",
4141
"phpstan/phpstan-webmozart-assert": "^0.12",
4242
"rector/rector": "^0.11.43"
4343
},
@@ -63,5 +63,7 @@
6363
"scripts": {
6464
"cs-check": "phpcs",
6565
"cs-fix": "phpcbf"
66-
}
66+
},
67+
"minimum-stability": "dev",
68+
"prefer-stable": true
6769
}

0 commit comments

Comments
 (0)