mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-20 09:30:36 +00:00
Fix PHPCS ControlSignature (#6896)
Regression from https://github.com/FreshRSS/FreshRSS/pull/6666 We were not checking anymore for whitespace rules in e.g. `if (true) {`
This commit is contained in:
committed by
GitHub
parent
93346bc3b3
commit
b552d9f4bc
@@ -88,12 +88,17 @@
|
||||
<exclude-pattern>*\.phtml$</exclude-pattern>
|
||||
</rule>
|
||||
<!-- <rule ref="Squiz.Commenting.ClassComment.Missing"/> --><!-- Consider adding -->
|
||||
|
||||
<rule ref="Squiz.ControlStructures.ControlSignature">
|
||||
<include-pattern>*\.phtml$</include-pattern>
|
||||
<properties>
|
||||
<property name="requiredSpacesBeforeColon" value="0" />
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="Squiz.ControlStructures.ControlSignature">
|
||||
<include-pattern>*\.php$</include-pattern>
|
||||
</rule>
|
||||
|
||||
<rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace">
|
||||
<exclude-pattern>*\.phtml$</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
Reference in New Issue
Block a user