-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathphpstan.neon
65 lines (65 loc) · 2.94 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
parameters:
fileExtensions:
- php
- module
- install
paths:
- ./
excludePaths:
- vendor
level: 3
treatPhpDocTypesAsCertain: false
ignoreErrors:
-
message: '#^Unsafe usage of new static#'
path: src/Plugin/Block/ContentBlockBase.php
-
message: '#^\\Drupal calls should be avoided in classes, use dependency injection instead#'
path: src/Commands/MajorUpdateCommands.php
-
message: '#^Undefined variable: \$sandbox#'
path: src/Commands/MajorUpdateCommands.php
-
message: '#^Access to an undefined property Drupal\\Core\\Field\\FieldItemListInterface<Drupal\\Core\\Field\\FieldItemInterface>::\$iframe_title.#'
path: modules/helfi_media_remote_video/src/Entity/RemoteVideo.php
-
message: '#^\\Drupal calls should be avoided in classes, use dependency injection instead#'
path: modules/helfi_ckeditor/src/Plugin/CKEditor5Plugin/HelfiLink.php
-
message: '#^Unsafe usage of new static#'
path: modules/hdbt_admin_tools/src/SelectWidgetBase.php
-
message: '#^\\Drupal calls should be avoided in classes, use dependency injection instead#'
path: modules/hdbt_admin_tools/src/Controller/ListController.php
-
message: '#^Access to an undefined property Drupal\\media\\MediaInterface::\$field_media_image.#'
path: modules/helfi_platform_config_base/src/Token/NodeImageBuilder.php
reportUnmatched: false
-
message: '#^Access to an undefined property Drupal\\node\\NodeInterface::\$field_organization.#'
path: modules/helfi_platform_config_base/src/Token/NodeImageBuilder.php
reportUnmatched: false
-
message: '#^Access to an undefined property Drupal\\Core\\Entity\\EntityInterface::\$field_default_image.#'
path: modules/helfi_platform_config_base/src/Token/NodeImageBuilder.php
reportUnmatched: false
-
message: '#^Call to an undefined method Drupal\\Core\\Entity\\EntityInterface::getFileUri\(\).#'
path: modules/helfi_platform_config_base/src/Token/NodeImageBuilder.php
reportUnmatched: false
-
message: '#^Call to an undefined method Drupal\\Core\\Entity\\EntityInterface::getFileUri\(\).#'
path: modules/helfi_platform_config_base/src/Token/NodeImageBuilder.php
reportUnmatched: false
-
message: '#^Call to an undefined method Drupal\\Core\\Entity\\EntityInterface::hasField\(\).#'
path: modules/helfi_platform_config_base/src/Token/NodeImageBuilder.php
-
message: '#^Call to an undefined method Drupal\\Core\\Entity\\EntityInterface::get\(\).#'
path: modules/helfi_platform_config_base/src/Token/NodeImageBuilder.php
-
message: '#^Call to an undefined method Drupal\\Core\\TypedData\\TypedDataInterface::getTarget\(\).#'
path: helfi_platform_config.tokens.inc
-
message: '#^Call to an undefined method Drupal\\Core\\Field\\FieldDefinitionInterface::save\(\).#'
path: helfi_platform_config.module