Skip to content

Commit 2ef2f94

Browse files
committed
made static analysis mandatory
1 parent 2b85d75 commit 2ef2f94

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Static Analysis (only informative)
22

3-
on:
4-
push:
5-
branches:
6-
- master
3+
on: [push, pull_request]
74

85
jobs:
96
phpstan:
@@ -17,5 +14,4 @@ jobs:
1714
coverage: none
1815

1916
- run: composer install --no-progress --prefer-dist
20-
- run: composer phpstan
21-
continue-on-error: true # is only informative
17+
- run: composer phpstan -- --no-progress

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"require-dev": {
2525
"ext-simplexml": "*",
26-
"phpstan/phpstan-nette": "^2.0@stable"
26+
"phpstan/phpstan": "^2.0@stable"
2727
},
2828
"autoload": {
2929
"classmap": ["src/"],

0 commit comments

Comments
 (0)