-
Notifications
You must be signed in to change notification settings - Fork 14
/
phpstan.neon
36 lines (36 loc) · 1.21 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:
level: 9
paths:
- src
#- tests
excludePaths:
- tests/temp/*
ignoreErrors:
- '#Access to an undefined property LeanMapper\\Row::\$.*\.#' # 3rd party library
-
# 3rd party library
message: '#Access to an undefined property LeanMapper\\Entity::\$id.#'
path: src\Orm\Repository.php
-
# 3rd party library
message: '#Call to an undefined method Aws\\S3\\S3Client::HeadObject\(\)\.#'
path: src\FileHandler\S3BucketSaveFileHandler.php
-
# 3rd party library
message: '#Access to an undefined property Skautis\\Skautis::\$UserManagement\.#'
path: src\Skautis\SkautisService.php
-
# 3rd party library
message: '#Access to an undefined property Skautis\\Skautis::\$OrganizationUnit\.#'
path: src\Skautis\SkautisService.php
-
# database manipulation
message: '#kissj\\Participant\\Patrol\\PatrolParticipant::\$patrolLeader \(kissj\\Participant\\Patrol\\PatrolLeader\) does not accept null\.#'
path: src\Participant\ParticipantService.php
exceptions:
uncheckedExceptionRegexes:
- '#Exception#'
treatPhpDocTypesAsCertain: false
shipmonkRules:
enforceReadonlyPublicProperty:
enabled: false