File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 110110 <severity >0</severity >
111111 </rule >
112112
113+ <!-- Disallow Yoda conditions. -->
114+ <rule ref =" Generic.ControlStructures.DisallowYodaConditions" />
115+
113116
114117 <!--
115118 ####################################################################
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ PHPCS itself can also display similar information using the `-vv` or `-vvv` verb
172172
173173Once this project is installed, you will see a new ` PHPCSDev ` ruleset in the list of installed standards when you run ` phpcs -i ` .
174174
175- ** Important: This ruleset currently requires PHP_CodeSniffer >= ` 3.4 .0+ ` .**
175+ ** Important: This ruleset currently requires PHP_CodeSniffer >= ` 3.5 .0+ ` .**
176176
177177> As sniffs developers will mostly work with the latest version of PHP_CodeSniffer, this shouldn't cause any problems.
178178>
You can’t perform that action at this time.
0 commit comments