File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " pd/coding-standard" ,
3
3
"description" : " Coding standard pro PeckaDesign" ,
4
4
"require" : {
5
- "squizlabs/php_codesniffer" : " 3.2.*" ,
6
5
"php" : " 7.*" ,
7
- "slevomat/coding-standard" : " 4.5.*"
6
+ "squizlabs/php_codesniffer" : " 3.2.*" ,
7
+ "slevomat/coding-standard" : " 4.5.*" ,
8
+ "escapestudios/symfony2-coding-standard" : " 3.*"
8
9
},
9
10
"license" : " MIT" ,
10
11
"authors" : [
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<ruleset name =" PeckaDesign" >
3
3
4
- <config name =" installed_paths" value =" ../../slevomat/coding-standard" />
5
-
4
+ <config name =" installed_paths" value =" ../../slevomat/coding-standard,../../escapestudios/symfony2-coding-standard " />
5
+
6
6
<!-- Arrays -->
7
7
<rule ref =" SlevomatCodingStandard.Arrays.TrailingArrayComma" />
8
8
14
14
15
15
<!-- Exceptions -->
16
16
<rule ref =" SlevomatCodingStandard.Exceptions.DeadCatch" />
17
-
17
+
18
18
<!-- Files -->
19
19
<rule ref =" Generic.Files.ByteOrderMark" />
20
- <rule ref =" Generic.Files.LineEndings" />
20
+ <rule ref =" Generic.Files.LineEndings" />
21
21
<rule ref =" PSR2.Files.EndFileNewline" />
22
22
<rule ref =" Zend.Files.ClosingTag" />
23
-
23
+
24
24
<!-- Functions -->
25
25
<rule ref =" Squiz.Functions.LowercaseFunctionKeywords" />
26
26
45
45
<rule ref =" Generic.PHP.ForbiddenFunctions" />
46
46
<rule ref =" Generic.PHP.UpperCaseConstant" />
47
47
48
+ <!-- NewLines -->
49
+ <rule ref =" Symfony.Formatting.BlankLineBeforeReturn" />
50
+
48
51
<!-- WhiteSpace -->
49
52
<rule ref =" Generic.WhiteSpace.DisallowSpaceIndent" />
50
53
<rule ref =" Squiz.ControlStructures.ControlSignature" />
You can’t perform that action at this time.
0 commit comments