Allow underscores in properties and methods

This commit is contained in:
Sebastian Meyer 2024-02-12 17:40:30 +01:00
parent 5d41b3c76a
commit c420147552
1 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,8 @@
<description>Open Culture Consulting strictly follows PSR standards.</description>
<file>./src</file>
<arg name="extensions" value="php"/>
<rule ref="PSR1"/>
<rule ref="PSR2"/>
<rule ref="PSR12"/>
<rule ref="PSR12">
<exlucde name="PSR2.Classes.PropertyDeclaration.Underscore"/>
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
</rule>
</ruleset>