|
41 | 41 | <exclude name="Squiz.PHP.GlobalKeyword.NotAllowed" /> |
42 | 42 | <exclude name="Squiz.PHP.DisallowBooleanStatement.Found" /> |
43 | 43 | <exclude name="Squiz.PHP.DisallowInlineIf.Found" /> |
| 44 | + <exclude name="Squiz.PHP.DisallowComparisonAssignment.AssignedComparison" /> |
| 45 | + <exclude name="Squiz.PHP.ForbiddenFunctions.Found" /> |
44 | 46 | </rule> |
45 | 47 |
|
46 | 48 | <rule ref="Squiz.WhiteSpace.FunctionSpacing" > |
|
64 | 66 | <rule ref="PEAR.NamingConventions"> |
65 | 67 | <exclude name="PEAR.NamingConventions.ValidClassName.Invalid" /> |
66 | 68 | <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore" /> |
| 69 | + <exclude name="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps" /> |
| 70 | + <exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionNoCapital" /> |
| 71 | + <exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionNameInvalid" /> |
67 | 72 | </rule> |
68 | 73 |
|
69 | | - <rule ref="PEAR.NamingConventions.ValidFunctionName"> |
70 | | - <exclude name="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps" /> |
71 | | - <exclude name="PEAR.NamingConventions.ValidFunctionName.NotCamelCaps" /> |
72 | | - <exclude name="PEAR.NamingConventions.ValidFunctionName.FunctionNoCapital" /> |
| 74 | + <rule ref="PEAR.NamingConventions"> |
| 75 | + <exclude name="PEAR.NamingConventions.ValidClassName.Invalid" /> |
| 76 | + <exclude name="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore" /> |
| 77 | + </rule> |
| 78 | + |
| 79 | + <rule ref="PEAR.Files.IncludingFile"> |
| 80 | + <exclude name="PEAR.Files.IncludingFile.BracketsNotRequired" /> |
73 | 81 | </rule> |
74 | 82 |
|
75 | 83 | <!-- https://github.com/wimg/PHPCompatibility/ --> |
|
145 | 153 |
|
146 | 154 | <rule ref="WordPress.WP.I18n"> |
147 | 155 | <properties> |
148 | | - <property name="text_domain" type="array" value="glossary,woo-fiscalita-italiana"/> |
| 156 | + <property name="text_domain" type="array" value="glossary,woo-fiscalita-italiana,genesis"/> |
149 | 157 | </properties> |
150 | 158 | </rule> |
151 | 159 |
|
|
0 commit comments