forked from goalgorilla/open_social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
25 lines (24 loc) · 864 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
includes:
- vendor/mglaman/phpstan-drupal/extension.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- phpstan-baseline.neon
parameters:
level: 5
paths:
- src
- modules/custom
- modules/social_features
drupal:
drupal_root: %currentWorkingDirectory%/core
excludes_analyse:
- */GraphQL*
- */social_graphql/*
- */social_demo/*
- *SocialProfileTrait.php
- */tests/*
ignoreErrors:
- '#Plugin manager has cache backend specified but does not declare cache tags.#' # See - https://github.com/mglaman/phpstan-drupal/issues/112#issue-557001157
- '#Unsafe usage of new static\(\)#' # See - https://github.com/mglaman/drupal-check/pull/187
- '#Class PHPUnit\Framework\TestCase not found#'
- '#Reflection error: PHPUnit\Framework\TestCase not found#'
reportUnmatchedIgnoredErrors: false