diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 0000000000000000000000000000000000000000..c4819cfb0b0fc295c9e65abda9ccfe79eb9c7cfb --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,9 @@ +includes: + - phar://phpstan.phar/conf/bleedingEdge.neon + +parameters: + level: 1 + reportUnmatchedIgnoredErrors: false + ignoreErrors: + # new static() is a best practice in Drupal, so we cannot fix that. + - "#^Unsafe usage of new static#"