-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathphpcs.xml
More file actions
24 lines (21 loc) · 969 Bytes
/
phpcs.xml
File metadata and controls
24 lines (21 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<ruleset name="Buckaroo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<description>Buckaroo Magento2 Coding Standard</description>
<!-- Include Magento2 coding standard -->
<rule ref="Magento2">
<!-- Override line length to 250 characters (default is 120) -->
<exclude name="Generic.Files.LineLength"/>
</rule>
<!-- Set custom line length limit -->
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="250"/>
<property name="absoluteLineLimit" value="300"/>
</properties>
</rule>
<!-- Exclude specific paths from checks -->
<exclude-pattern>*/Test/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/.github/*</exclude-pattern>
</ruleset>