-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathphpstan.neon
More file actions
46 lines (40 loc) · 1.21 KB
/
phpstan.neon
File metadata and controls
46 lines (40 loc) · 1.21 KB
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
37
38
39
40
41
42
43
44
45
46
parameters:
customRulesetUsed: true
tipsOfTheDay: false
reportUnmatchedIgnoredErrors: false
paths:
- az_quickstart.install
- az_quickstart.profile
- az_quickstart.post_update.php
- modules
- themes
excludePaths:
- */tests/Drupal/Tests/Listeners/Legacy/*
- */tests/fixtures/*.php
- */settings*.php
- */node_modules/*
- */LinkExtractor/*
scanDirectories:
- ../../../../vendor/drush/drush/src-symfony-compatibility
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: 80500
level: 2