Skip to content

Commit 40c52f4

Browse files
📦 Start using some PSR12 rules
1 parent 566ff06 commit 40c52f4

8 files changed

+4
-268
lines changed

SymfonyCustom/Sniffs/Namespaces/UseWithoutStartingBackslashSniff.php

Lines changed: 0 additions & 72 deletions
This file was deleted.

SymfonyCustom/Sniffs/Objects/ObjectInstantiationSniff.php

Lines changed: 0 additions & 55 deletions
This file was deleted.

SymfonyCustom/Tests/Namespaces/UseWithoutStartingBackslashUnitTest.inc

Lines changed: 0 additions & 18 deletions
This file was deleted.

SymfonyCustom/Tests/Namespaces/UseWithoutStartingBackslashUnitTest.inc.fixed

Lines changed: 0 additions & 18 deletions
This file was deleted.

SymfonyCustom/Tests/Namespaces/UseWithoutStartingBackslashUnitTest.php

Lines changed: 0 additions & 35 deletions
This file was deleted.

SymfonyCustom/Tests/Objects/ObjectInstantiationUnitTest.inc

Lines changed: 0 additions & 31 deletions
This file was deleted.

SymfonyCustom/Tests/Objects/ObjectInstantiationUnitTest.php

Lines changed: 0 additions & 39 deletions
This file was deleted.

SymfonyCustom/ruleset.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
</rule>
111111
<rule ref="Squiz.Strings.EchoedStrings"/>
112112

113+
<!-- Starting PSR12 integration -->
114+
<rule ref="PSR12.Classes.ClassInstantiation"/>
115+
<rule ref="PSR12.Files.ImportStatement"/>
116+
113117
<!-- Custom -->
114118
<rule ref="SymfonyCustom.Commenting.FunctionComment">
115119
<exclude name="SymfonyCustom.Commenting.FunctionComment.MissingParamComment"/>

0 commit comments

Comments
 (0)