-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.phpcs.xml
More file actions
18 lines (17 loc) · 1 KB
/
.phpcs.xml
File metadata and controls
18 lines (17 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/PHPCSStandards/PHP_CodeSniffer/master/phpcs.xsd"
name="Module Template Coding Standard">
<description>Coding standards for Magento 2 extensions</description>
<arg name="extensions" value="php,phtml"/>
<file>src/</file>
<rule ref="Magento2">
<exclude name="Magento2.Annotation.MethodArguments.NoCommentBlock"/>
<exclude name="Magento2.Annotation.MethodArguments.ParamMissing"/>
<exclude name="Magento2.Annotation.MethodArguments.ArgumentMissing"/>
<exclude name="Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation"/>
<exclude name="Magento2.Annotation.MethodAnnotationStructure.MethodArguments"/>
<exclude name="Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock"/>
<exclude name="Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing"/>
</rule>
</ruleset>