This repository was archived by the owner on Nov 21, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 3232 <property name =" allowFallbackGlobalFunctions" value =" false" />
3333 </properties >
3434 </rule >
35- <rule ref =" SlevomatCodingStandard.Namespaces.UnusedUses" />
35+ <rule ref =" SlevomatCodingStandard.Namespaces.UnusedUses" >
36+ <properties >
37+ <property name =" searchAnnotations" value =" true" />
38+ </properties >
39+ </rule >
3640 <rule ref =" SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash" />
3741 <rule ref =" SlevomatCodingStandard.Namespaces.UseFromSameNamespace" />
3842 <rule ref =" SlevomatCodingStandard.Namespaces.UseSpacing" />
Original file line number Diff line number Diff line change 11---DESCRIPTION---
22Use statements must be used
3+ ---FILENAME---
4+ Grault.php
35---CONTENTS---
46<?php
57
@@ -9,16 +11,35 @@ namespace Vendor;
911
1012use Foo;
1113use Bar\Baz;
14+ use Garply;
1215use const QUX;
1316use const Bar\QUUX;
1417use function quuz;
1518use function Bar\corge;
1619
20+ interface Grault
21+ {
22+ /**
23+ * @throws Garply
24+ */
25+ public function waldo() : void;
26+ }
27+
1728---FIXED---
1829<?php
1930
2031declare(strict_types=1);
2132
2233namespace Vendor;
2334
35+ use Garply;
36+
37+ interface Grault
38+ {
39+ /**
40+ * @throws Garply
41+ */
42+ public function waldo() : void;
43+ }
44+
2445---
You can’t perform that action at this time.
0 commit comments