-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
54 lines (54 loc) · 2.08 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
parameters:
level: 6
reportUnmatchedIgnoredErrors: false
paths:
- web/modules/custom
ignoreErrors:
- identifier: missingType.generics
- identifier: missingType.iterableValue
# new static() is a best practice in Drupal, so we cannot fix that.
- "#^Unsafe usage of new static#"
drupal:
entityMapping:
project:
class: Drupal\projects\Entity\Project
storage: Drupal\node\NodeStorage
organization:
class: Drupal\organizations\Entity\Organization
storage: Drupal\user_bundle\TypedUserStorage
creative:
class: Drupal\creatives\Entity\Creative
storage: Drupal\user_bundle\TypedUserStorage
taxonomy_term:
class: Drupal\taxonomy\Entity\Term
storage: Drupal\taxonomy\TermStorage
user:
class: Drupal\user_bundle\Entity\TypedUser
storage: Drupal\user_bundle\TypedUserStorage
course:
class: Drupal\courses\Entity\Course
storage: Drupal\Core\Entity\Sql\SqlContentEntityStorage
lecture:
class: Drupal\lectures\Entity\Lecture
storage: Drupal\Core\Entity\Sql\SqlContentEntityStorage
paragraph:
class: Drupal\paragraphs\Entity\Paragraph
storage: Drupal\Core\Entity\Sql\SqlContentEntityStorage
paragraph_type:
class: Drupal\paragraphs\Entity\ParagraphType
storage: Drupal\Core\Config\Entity\ConfigEntityStorage
lecture_progress:
class: Drupal\progress\Entity\LectureProgress
storage: Drupal\Core\Entity\Sql\SqlContentEntityStorage
course_progress:
class: Drupal\progress\Entity\CourseProgress
storage: Drupal\Core\Entity\Sql\SqlContentEntityStorage
question:
class: Drupal\questionnaire\Entity\Question
storage: Drupal\Core\Entity\Sql\SqlContentEntityStorage
question_submission:
class: Drupal\questionnaire\Entity\QuestionSubmission
storage: Drupal\Core\Entity\Sql\SqlContentEntityStorage
question_type:
class: Drupal\questionnaire\Entity\QuestionType
storage: Drupal\Core\Config\Entity\ConfigEntityStorage