Skip to content

Commit db73844

Browse files
authored
ci: add quality gate check for disallowed calls (#174)
1 parent 492cc45 commit db73844

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"phpstan/phpstan": "^1.0",
2828
"phpstan/phpstan-deprecation-rules": "^1.0",
2929
"phpstan/phpstan-strict-rules": "^1.5",
30+
"spaze/phpstan-disallowed-calls": "^3.4",
3031
"squizlabs/php_codesniffer": "^3.6"
3132
},
3233
"conflict": {

phpstan.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
includes:
22
- phpstan-baseline.neon
33
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
4+
- vendor/spaze/phpstan-disallowed-calls/disallowed-dangerous-calls.neon
5+
- vendor/spaze/phpstan-disallowed-calls/disallowed-execution-calls.neon
6+
- vendor/spaze/phpstan-disallowed-calls/disallowed-insecure-calls.neon
47

58
parameters:
69
level: 1

0 commit comments

Comments
 (0)