forked from neos/neos-development-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
34 lines (33 loc) · 1.51 KB
/
phpstan.neon.dist
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
includes:
- phpstan-baseline.neon
- phpstan-neos-fusion-baseline.neon
parameters:
level: 8
paths:
- Neos.ContentGraph.DoctrineDbalAdapter/src
- Neos.ContentGraph.PostgreSQLAdapter/src
- Neos.ContentRepository.BehavioralTests/Classes
- Neos.ContentRepository.Core/Classes
- Neos.ContentRepository.Export/src
- Neos.ContentRepository.LegacyNodeMigration/Classes
- Neos.ContentRepository.NodeAccess/Classes
- Neos.ContentRepository.NodeMigration/src
- Neos.ContentRepository.StructureAdjustment/src
- Neos.ContentRepository.TestSuite/Classes
- Neos.ContentRepositoryRegistry/Classes
- Neos.Neos/Classes
- Neos.Workspace.Ui/Classes
- Neos.TimeableNodeVisibility/Classes
- Neos.SiteKickstarter/Classes
- Neos.NodeTypes.Form/Classes
# todo lint whole fusion package
- Neos.Fusion/Classes/Core
# todo lint whole media browser package, now we only lint the parts that interact with the CR
- Neos.Media.Browser/Classes/Controller/UsageController.php
bootstrapFiles:
- ../Framework/bootstrap-phpstan.php
rules:
- Neos\ContentRepository\BehavioralTests\PhpstanRules\ApiOrInternalAnnotationRule
- Neos\ContentRepository\BehavioralTests\PhpstanRules\InternalMethodsNotAllowedOutsideContentRepositoryRule
- Neos\ContentRepository\BehavioralTests\PhpstanRules\DeclareStrictTypesRule
- Neos\ContentRepository\BehavioralTests\PhpstanRules\NoStringCastingRule