mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 10:04:07 +02:00
Code style: avoid excesive mixing of PHP and HTML
This commit is contained in:
10
phpcs.xml
10
phpcs.xml
@@ -32,11 +32,19 @@
|
||||
<exclude name="PSR12.Classes.ClassInstantiation.MissingParentheses"/>
|
||||
<exclude name="Squiz.Scope.MethodScope.Missing"/>
|
||||
|
||||
<!-- TODO: Ignore only in <?php if () { ?><?php } ?> -->
|
||||
<!-- False positives. -->
|
||||
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect"/>
|
||||
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact"/>
|
||||
</rule>
|
||||
|
||||
<rule ref="Generic.WhiteSpace.ScopeIndent">
|
||||
<properties>
|
||||
<property name="ignoreIndentationTokens" type="array">
|
||||
<element value="T_OPEN_TAG"/>
|
||||
</property>
|
||||
</properties>
|
||||
</rule>
|
||||
|
||||
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
|
||||
<exclude-pattern>adminer/drivers/</exclude-pattern>
|
||||
<exclude-pattern>adminer/include/pdo.inc.php</exclude-pattern>
|
||||
|
Reference in New Issue
Block a user