From ad88dba566d07e7373b715701955c0e231a33319 Mon Sep 17 00:00:00 2001 From: Nikolay Shapovalov <46209-zniki.ru@users.noreply.drupalcode.org> Date: Tue, 5 Dec 2023 16:05:02 +0100 Subject: [PATCH] Issue #3405415 by zniki.ru, mkalkbrenner: Adopt GitlabCi --- phpstan.neon | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 phpstan.neon diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 00000000..20815509 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,11 @@ +# Configuration file for PHPStan static code checking, see https://phpstan.org. +includes: + - phar://phpstan.phar/conf/bleedingEdge.neon + +parameters: + level: 2 + paths: + - . + ignoreErrors: + # new static() is a best practice in Drupal, so we cannot fix that. + - "#^Unsafe usage of new static#"