-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.neon
22 lines (19 loc) · 1.12 KB
/
extension.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
parameters:
disallowHelpersDependingOnBootedApplication: true
disallowRegisteringServiceProvidersInBootMethodProvider: true
disallowNonPureUnitTests: true
parameterSchema:
disallowHelpersDependingOnBootedApplication: bool()
disallowRegisteringServiceProvidersInBootMethodProvider: bool()
disallowNonPureUnitTests: bool()
conditionalTags:
PrinsFrank\LarastanArchitectureRules\Rules\NoHelperDependingOnBootedApplicationUsageRule:
phpstan.rules.rule: %disallowHelpersDependingOnBootedApplication%
PrinsFrank\LarastanArchitectureRules\Rules\NoRegisteredServicesInBootMethodProviderRule:
phpstan.rules.rule: %disallowRegisteringServiceProvidersInBootMethodProvider%
PrinsFrank\LarastanArchitectureRules\Rules\UnitTestsShouldExtendFromBasePHPUnitTestCase:
phpstan.rules.rule: %disallowNonPureUnitTests%
rules:
- PrinsFrank\LarastanArchitectureRules\Rules\NoHelperDependingOnBootedApplicationUsageRule
- PrinsFrank\LarastanArchitectureRules\Rules\NoRegisteredServicesInBootMethodProviderRule
- PrinsFrank\LarastanArchitectureRules\Rules\UnitTestsShouldExtendFromBasePHPUnitTestCase