deployer/phpstan.neon
Markus Staab f0aeb8c83a
fix phpstan level 4 warnings (#2252)
* its invalid to combine `void` with another type

see https://github.com/phpstan/phpstan/issues/4014

* added explicit `return null`, to make phpstan happy and the code more obvious.

* increased phpstan level to 5

* fix: '$subject of function preg_match expects string, int given'
2020-11-02 09:19:08 +01:00

16 lines
304 B
Plaintext

includes:
- test/phpstan-baseline.neon
parameters:
level: 5
paths:
- src
- recipe
- contrib
ignoreErrors:
- "#^Constant DEPLOYER_VERSION not found\\.$#"
- "#^Constant DEPLOYER_BIN not found\\.$#"
- "#CpanelPhp#"
- "#AMQPMessage#"