diff options
author | William Desportes <williamdes@wdes.fr> | 2020-11-16 19:10:54 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2020-11-16 21:36:52 +0300 |
commit | 4d8de028712186b2469c67c4533e4c8cc008e6a3 (patch) | |
tree | 93f61cf0bf98020b668654fd84a476c6ebb7c83a /phpcs.xml.dist | |
parent | ed0c44a621fc34cbb0887a207316aabfc2014328 (diff) |
Remove rules broken or included in the new coding standard
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'phpcs.xml.dist')
-rw-r--r-- | phpcs.xml.dist | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 04ae736d81..55be8adef0 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -18,30 +18,8 @@ <rule ref="PhpMyAdmin"/> - <rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration"> - <properties> - <!-- Require PHP 7.2 --> - <property name="enableObjectTypeHint" value="false"/> - </properties> - </rule> - <!-- Rules that should be followed, but are not required --> <rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators"> <severity>4</severity> </rule> - <rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint"> - <severity>4</severity> - </rule> - <rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint"> - <severity>4</severity> - </rule> - <rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableParameterTypeHintSpecification"> - <severity>4</severity> - </rule> - <rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversablePropertyTypeHintSpecification"> - <severity>4</severity> - </rule> - <rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableReturnTypeHintSpecification"> - <severity>4</severity> - </rule> </ruleset> |