Skip to content

Commit

Permalink
fix: Renamed rules
Browse files Browse the repository at this point in the history
  • Loading branch information
blue32a committed Jul 3, 2023
1 parent cd612be commit 3eccf82
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Blue32a/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@
</rule>
<!-- Require usage of ::class instead of __CLASS__, get_class(), get_class($this), get_called_class() and get_parent_class() -->
<rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/>
<rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration">
<properties>
<property name="checkPromoted" value="true"/>
<property name="enableMultipleSpacesBetweenModifiersCheck" value="true"/>
</properties>
</rule>
<!-- Forbid uses of multiple traits separated by comma -->
<rule ref="SlevomatCodingStandard.Classes.TraitUseDeclaration"/>
<!-- Require no spaces before trait use, between trait uses and one space after trait uses -->
Expand Down Expand Up @@ -371,10 +377,6 @@
</property>
</properties>
</rule>
<!-- Require one space between typehint and variable;
require no space between nullability sign and typehint
Require one space before nullability symbol or a typehint -->
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHintSpacing"/>
<!-- Require types to be written as natively if possible;
require iterable types to specify phpDoc with their content;
forbid useless/duplicated information in phpDoc -->
Expand Down

0 comments on commit 3eccf82

Please sign in to comment.