Skip to content

Commit

Permalink
Composer: remove lint-self and add ruleset to the PHPCS config instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Jan 17, 2020
1 parent f955d7a commit b630271
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"scripts": {
"test": "./vendor/bin/phpunit",
"lint": "./vendor/bin/phpcs",
"lint-self": "./vendor/bin/phpcs --standard=./VariableAnalysis",
"phpstan": "./vendor/bin/phpstan analyse -l 7 VariableAnalysis"
},
"require" : {
Expand Down
1 change: 1 addition & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie" />
<rule ref="Generic.Classes.OpeningBraceSameLine"/>
<rule ref="ImportDetection" />
<rule ref="VariableAnalysis"/>
</ruleset>

0 comments on commit b630271

Please sign in to comment.