-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
55 lines (43 loc) · 1.96 KB
/
phpcs.xml
File metadata and controls
55 lines (43 loc) · 1.96 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0"?>
<ruleset name="onovas">
<description>PHP CodeSniffer: Configuración personalizada.</description>
<file>.</file>
<arg name="extensions" value="php,module,inc,install,test,profile,theme"/>
<config name="drupal_core_version" value="10"/>
<exclude-pattern>*/.git/*</exclude-pattern>
<exclude-pattern>*/.github/*</exclude-pattern>
<exclude-pattern>*/.gitlab/*</exclude-pattern>
<exclude-pattern>*/.lando/*</exclude-pattern>
<exclude-pattern>*/.vscode/*</exclude-pattern>
<exclude-pattern>*/config/*</exclude-pattern>
<exclude-pattern>*/docs/*</exclude-pattern>
<exclude-pattern>*/drush/*</exclude-pattern>
<exclude-pattern>*/private_files/*</exclude-pattern>
<exclude-pattern>*/recipes/*</exclude-pattern>
<exclude-pattern>*/scripts/*</exclude-pattern>
<exclude-pattern>*/testing/*</exclude-pattern>
<exclude-pattern>*/tmp/*</exclude-pattern>
<exclude-pattern>*/css/*</exclude-pattern>
<exclude-pattern>*/scss/*</exclude-pattern>
<exclude-pattern>*/js/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/bower_components/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>README.md</exclude-pattern>
<exclude-pattern>LICENSE.md</exclude-pattern>
<exclude-pattern>CHANGELOG.md</exclude-pattern>
<rule ref="Drupal">
<!-- Ajustes en Archivos -->
<exclude name="Drupal.Files.LineLength.TooLong"/>
<!-- Ajustes en Arrays -->
<exclude name="Drupal.Arrays.Array.LongLineDeclaration"/>
<!-- Ajustes en Clases -->
<exclude name="Drupal.Classes.ClassFileName.NoMatch"/>
<!-- Ajustes en Comentarios -->
<exclude name="Drupal.Commenting.ClassComment.Missing"/>
<exclude name="Drupal.Commenting.DocComment.MissingShort"/>
<exclude name="Drupal.Commenting.DocComment.ShortNotCapital"/>
<exclude name="Drupal.Commenting.DocComment.ShortSingleLine"/>
<exclude name="Drupal.Commenting.VariableComment"/>
</rule>
</ruleset>