File tree 4 files changed +17
-10
lines changed
4 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,14 @@ parameters:
37
37
container_xml_path: '%rootDir%/../../../var/cache/dev/srcApp_KernelDevDebugContainer.xml'
38
38
```
39
39
40
- You have to provide a path to ` srcDevDebugProjectContainer.xml ` or similar xml file describing your container.
40
+ You have to provide a path to ` srcApp_KernelDevDebugContainer.xml ` or similar xml file describing your container.
41
+
42
+ To perform framework-specific checks, include also this file:
43
+
44
+ ```
45
+ includes:
46
+ - vendor/phpstan/phpstan-symfony/rules.neon
47
+ ```
41
48
42
49
## Constant hassers
43
50
Original file line number Diff line number Diff line change 18
18
},
19
19
"phpstan" : {
20
20
"includes" : [
21
- " extension.neon"
21
+ " extension.neon" ,
22
+ " rules.neon"
22
23
]
23
24
}
24
25
},
Original file line number Diff line number Diff line change @@ -4,14 +4,6 @@ parameters:
4
4
constant_hassers : true
5
5
console_application_loader : null
6
6
7
- rules :
8
- - PHPStan\Rules\Symfony\ContainerInterfacePrivateServiceRule
9
- - PHPStan\Rules\Symfony\ContainerInterfaceUnknownServiceRule
10
- - PHPStan\Rules\Symfony\UndefinedArgumentRule
11
- - PHPStan\Rules\Symfony\InvalidArgumentDefaultValueRule
12
- - PHPStan\Rules\Symfony\UndefinedOptionRule
13
- - PHPStan\Rules\Symfony\InvalidOptionDefaultValueRule
14
-
15
7
services :
16
8
# console resolver
17
9
-
Original file line number Diff line number Diff line change
1
+ rules :
2
+ - PHPStan\Rules\Symfony\ContainerInterfacePrivateServiceRule
3
+ - PHPStan\Rules\Symfony\ContainerInterfaceUnknownServiceRule
4
+ - PHPStan\Rules\Symfony\UndefinedArgumentRule
5
+ - PHPStan\Rules\Symfony\InvalidArgumentDefaultValueRule
6
+ - PHPStan\Rules\Symfony\UndefinedOptionRule
7
+ - PHPStan\Rules\Symfony\InvalidOptionDefaultValueRule
You can’t perform that action at this time.
0 commit comments