-
Notifications
You must be signed in to change notification settings - Fork 21
/
phpstan.neon
36 lines (32 loc) · 1.02 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
parameters:
customRulesetUsed: true
tipsOfTheDay: false
reportUnmatchedIgnoredErrors: false
excludePaths:
- */tests/Drupal/Tests/Listeners/Legacy/*
- */tests/fixtures/*.php
- */settings*.php
- */node_modules/*
- */LinkExtractor/*
ignoreErrors:
- '#\Drupal calls should be avoided in classes, use dependency injection instead#'
- '#Plugin definitions cannot be altered.#'
- '#Missing cache backend declaration for performance.#'
- '#Plugin manager has cache backend specified but does not declare cache tags.#'
- '#Unsafe usage of new static\(\)#'
universalObjectCratesClasses:
- XMLReader
drupal:
entityMapping:
az_author:
class: Drupal\az_publication\Entity\AZAuthor
az_citation_style:
class: Drupal\az_publication\Entity\AZQuickstartCitationStyle
az_publication_type:
class: Drupal\az_publication\Entity\AZPublicationType
paragraph:
class: Drupal\paragraphs\Entity\Paragraph
paragraphs_type:
class: Drupal\paragraphs\Entity\ParagraphsType
phpVersion: 80200
level: 2