We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b5965b commit a0b3ee4Copy full SHA for a0b3ee4
README.md
@@ -1,6 +1,22 @@
1
# PHPStan Rules
2
Set of additional PHPStan rules
3
4
+*For legacy codebase*
5
- check if property and constant shouldn't be set as protected (when is not inherited or class is not abstract)
6
- check if property name starts with underscore
-- check if constant name is uppercase
7
+- check if constant name is uppercase
8
+
9
+*PHPMD rules*
10
+- check for boolean argument flag
11
+- more coming soon ...
12
13
+## Installation
14
15
+Run `composer require --dev pmarki/phpstan-rules`
16
17
+Edit your phpstan configuration file and add
18
19
+```
20
+includes:
21
+ - vendor/pmarki/phpstan-rules/extension.neon
22
0 commit comments