-
Notifications
You must be signed in to change notification settings - Fork 631
/
phpcs.xml.dist
executable file
·41 lines (34 loc) · 1.28 KB
/
phpcs.xml.dist
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
41
<?xml version="1.0"?>
<ruleset name="Phalcon Developer Tools">
<!--
The name attribute of the ruleset tag is displayed
when running PHP_CodeSniffer with the -v command line
argument. The description tag below is not displayed anywhere
except in this file, so it can contain information for
developers who may change this file in the future.
-->
<description>Phalcon Coding Standards</description>
<!-- Show sniff codes in all reports -->
<arg value="wsp"/>
<arg name="colors"/>
<arg name="encoding" value="utf-8"/>
<!-- Use PSR-2 as a base -->
<rule ref="PSR2"/>
<!--
If no files or directories are specified on the command line
your custom standard can specify what files should be checked
instead.
Note that specifying any file or directory path
on the command line will ignore all file tags.
-->
<file>src</file>
<exclude-pattern>src/Generator/</exclude-pattern>
<!--
You can hard-code ignore patterns directly into your
custom standard so you don't have to specify the
patterns on the command line.
-->
<rule ref="Generic.Files.LineEndings">
<exclude name="Generic.Files.LineEndings.InvalidEOLChar"/>
</rule>
</ruleset>