-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
30 lines (26 loc) · 1.13 KB
/
phpcs.xml.dist
File metadata and controls
30 lines (26 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0"?>
<ruleset name="CC Admin Popover Row Actions">
<description>
CodeCorn™ relaxed ruleset — based on WordPress-Core, aligned to CodeCorn coding style.
</description>
<!-- 📦 Base ruleset -->
<rule ref="WordPress-Core">
<!-- ❌ Disabilita regole non desiderate -->
<exclude name="WordPress.PHP.YodaConditions"/>
<exclude name="Universal.Operators.DisallowShortTernary"/>
<exclude name="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase"/>
<exclude name="Universal.NamingConventions.NoReservedKeywordParameterNames"/>
<exclude name="Universal.Arrays.DisallowShortArraySyntax"/>
</rule>
<!-- 🎨 Configurazione generale -->
<config name="testVersion" value="7.4-8.3"/>
<arg name="extensions" value="php"/>
<arg name="colors"/>
<arg value="p"/>
<!-- 🧩 Altri miglioramenti di compatibilità -->
<exclude name="Generic.ControlStructures.InlineControlStructure"/>
<exclude name="WordPress.Arrays.MultipleStatementAlignment"/>
<exclude name="WordPress.WhiteSpace.PrecisionAlignment"/>
<!-- 📊 Report -->
<arg name="report" value="full"/>
</ruleset>