-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
17 lines (14 loc) · 761 Bytes
/
Copy pathphpcs.xml.dist
File metadata and controls
17 lines (14 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0"?>
<ruleset name="MageForge">
<description>Magento2 coding standard with Mago-formatter compatibility.</description>
<file>src/</file>
<file>tests/</file>
<arg name="extensions" value="php,phtml"/>
<!-- Full Magento2 standard, no exclusions: external package checkers run the
plain standard against the published package, so any local exclusion would
hide findings that still fail there. Multi-line conditions conflict with
Mago's PSR-12 wrapping (newline after the opening parenthesis, flagged by
PSR2.ControlStructures.ControlStructureSpacing) — keep conditions on one
line by extracting sub-expressions into variables instead. -->
<rule ref="Magento2"/>
</ruleset>