Skip to content

Commit 391377e

Browse files
committedAug 2, 2024··
feat: Tuneup
1 parent b1f6252 commit 391377e

File tree

3 files changed

+31
-18
lines changed

3 files changed

+31
-18
lines changed
 

‎composer.lock

+28-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/Oblak-Advanced/ruleset.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<ruleset name="Oblak-Advanced">
22

3-
<rule ref="WordPress">
3+
<rule ref="WordPress">
44
<exclude name="WordPress.DB.DirectDatabaseQuery.NoCaching" />
55
<exclude name="WordPress.DB.DirectDatabaseQuery.DirectQuery" />
66
<exclude name="WordPress.DB.DirectDatabaseQuery.SchemaChange" />
77
<exclude name="WordPress.Arrays.ArrayDeclarationSpacing"/>
8-
98
</rule>
109

1110
</ruleset>

‎src/Oblak-Slevomat/ruleset.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<rule ref="SlevomatCodingStandard.ControlStructures.NewWithParentheses"/>
7676
<rule ref="SlevomatCodingStandard.ControlStructures.RequireMultiLineCondition">
7777
<properties>
78-
<property name="minLineLength" value="111"/>
78+
<property name="minLineLength" value="180"/>
7979
<property name="booleanOperatorOnPreviousLine" value="true"/>
8080
<property name="alwaysSplitAllConditionParts" value="false"/>
8181
</properties>
@@ -85,7 +85,7 @@
8585
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullSafeObjectOperator"/>
8686
<rule ref="SlevomatCodingStandard.ControlStructures.RequireSingleLineCondition">
8787
<properties>
88-
<property name="maxLineLength" value="110"/>
88+
<property name="maxLineLength" value="150"/>
8989
<property name="alwaysForSimpleConditions" value="true"/>
9090
</properties>
9191
</rule>
@@ -149,7 +149,6 @@
149149
<!-- Slevomat Sniffs - Operators -->
150150
<rule ref="SlevomatCodingStandard.Operators.DisallowEqualOperators"/>
151151
<rule ref="SlevomatCodingStandard.Operators.RequireCombinedAssignmentOperator"/>
152-
<rule ref="SlevomatCodingStandard.Operators.SpreadOperatorSpacing"/>
153152

154153
<!-- Slevomat Sniffs - PHP -->
155154
<rule ref="SlevomatCodingStandard.PHP.DisallowDirectMagicInvokeCall"/>

0 commit comments

Comments
 (0)
Please sign in to comment.