-
-
Notifications
You must be signed in to change notification settings - Fork 77
/
rules.neon
40 lines (38 loc) · 2.06 KB
/
rules.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
rules:
- mglaman\PHPStanDrupal\Rules\Drupal\Coder\DiscouragedFunctionsRule
- mglaman\PHPStanDrupal\Rules\Drupal\GlobalDrupalDependencyInjectionRule
- mglaman\PHPStanDrupal\Rules\Drupal\PluginManager\PluginManagerSetsCacheBackendRule
- mglaman\PHPStanDrupal\Rules\Drupal\RenderCallbackRule
- mglaman\PHPStanDrupal\Rules\Deprecations\StaticServiceDeprecatedServiceRule
- mglaman\PHPStanDrupal\Rules\Deprecations\GetDeprecatedServiceRule
- mglaman\PHPStanDrupal\Rules\Drupal\Tests\BrowserTestBaseDefaultThemeRule
- mglaman\PHPStanDrupal\Rules\Deprecations\ConfigEntityConfigExportRule
- mglaman\PHPStanDrupal\Rules\Deprecations\PluginAnnotationContextDefinitionsRule
- mglaman\PHPStanDrupal\Rules\Drupal\ModuleLoadInclude
- mglaman\PHPStanDrupal\Rules\Drupal\LoadIncludes
- mglaman\PHPStanDrupal\Rules\Drupal\EntityQuery\EntityQueryHasAccessCheckRule
- mglaman\PHPStanDrupal\Rules\Drupal\TestClassesProtectedPropertyModulesRule
conditionalTags:
mglaman\PHPStanDrupal\Rules\Drupal\Tests\TestClassSuffixNameRule:
phpstan.rules.rule: %drupal.rules.testClassSuffixNameRule%
mglaman\PHPStanDrupal\Rules\Drupal\DependencySerializationTraitPropertyRule:
phpstan.rules.rule: %drupal.rules.dependencySerializationTraitPropertyRule%
mglaman\PHPStanDrupal\Rules\Drupal\AccessResultConditionRule:
phpstan.rules.rule: %drupal.rules.accessResultConditionRule%
mglaman\PHPStanDrupal\Rules\Classes\ClassExtendsInternalClassRule:
phpstan.rules.rule: %drupal.rules.classExtendsInternalClassRule%
mglaman\PHPStanDrupal\Rules\Classes\PluginManagerInspectionRule:
phpstan.rules.rule: %drupal.rules.pluginManagerInspectionRule%
services:
-
class: mglaman\PHPStanDrupal\Rules\Drupal\Tests\TestClassSuffixNameRule
-
class: mglaman\PHPStanDrupal\Rules\Drupal\DependencySerializationTraitPropertyRule
-
class: mglaman\PHPStanDrupal\Rules\Drupal\AccessResultConditionRule
arguments:
treatPhpDocTypesAsCertain: %treatPhpDocTypesAsCertain%
-
class: mglaman\PHPStanDrupal\Rules\Classes\ClassExtendsInternalClassRule
-
class: mglaman\PHPStanDrupal\Rules\Classes\PluginManagerInspectionRule