Repository navigation
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
40 lines (34 loc) · 1.72 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
40 lines (34 loc) · 1.72 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
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0"?>
<ruleset name="WordPress Event Dispatcher MU Plugin">
<description>
WordPress and security-focused coding standard audit for the WordPress event dispatcher MU plugin.
Auto-formatting stays in PHP CS Fixer; PHPCS enforces the SymPress standard.
</description>
<arg name="colors"/>
<arg value="sp"/>
<arg name="basepath" value="."/>
<config name="testVersion" value="8.5-"/>
<config name="text_domain" value="event-dispatcher"/>
<file>event-dispatcher.php</file>
<file>src</file>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>.phpunit.cache/*</exclude-pattern>
<exclude-pattern>.hooktest.php</exclude-pattern>
<rule ref="SymPress-WordPress">
<exclude name="SymPress.Classes.AccessorNaming"/>
<exclude name="WordPress.PHP.DevelopmentFunctions.error_log_trigger_error"/>
<exclude name="WordPress.PHP.POSIXFunctions"/>
<exclude name="SlevomatCodingStandard.Classes.ForbiddenPublicProperty.ForbiddenPublicProperty" />
<exclude name="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.NoAssignment" />
<exclude name="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName" />
<exclude name="SlevomatCodingStandard.Operators.RequireOnlyStandaloneIncrementAndDecrementOperators.PostIncrementOperatorNotUsedStandalone" />
<exclude name="SymPress.Variables.RedundantAssignment.Found" />
</rule>
<rule ref="SymPress.Namespaces.Psr4">
<properties>
<property name="psr4" type="array">
<element key="SymPress\EventDispatcher" value="src"/>
</property>
</properties>
</rule>
</ruleset>