Skip to content
Snippets Groups Projects
Unverified Commit fd98546c authored by Jonathan Smith's avatar Jonathan Smith Committed by GitHub
Browse files

fix(AlphabeticallySortedUses): Remove use statement order rule (#3483028)

parent c58e5a0c
No related branches found
No related tags found
No related merge requests found
......@@ -121,11 +121,6 @@
<rule ref="PSR2.Namespaces.UseDeclaration" />
<rule ref="SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator" />
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
<properties>
<property name="caseSensitive" value="true"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.PHP.ShortList" />
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing"/>
......
<?php
use Vendor\DateTools;
use Vendor\DateTools\DateInterval;
use Vendor\DateTools;
$x = array(new Foo(), array());
$y = new Foo();
......
......@@ -5,12 +5,12 @@
* Example.
*/
use Test\Alias as TestAlias;
use Test\Bar;
use Test\Foo;
use Test\MultiLine as MultiLineAlias;
use Test\MultiLineSecond;
use Test\Foo;
use Test\NotUsed;
use Test\Bar;
use Test\Alias as TestAlias;
use Test\MultiLine as MultiLineAlias;
/**
* Example.
......
......@@ -2,12 +2,12 @@
namespace MyNamespace\Depth;
use Example\MyUrlHelper;
use MyNamespace\Depth\SomeClass as CoreSomeClass;
use Thing\NotUsed;
use Thing\Fail\ActuallyUsed;
use Test\TraitTest;
use Thing\DifferentName as UsedOtherName;
use Thing\Fail\ActuallyUsed;
use Thing\NotUsed;
use Example\MyUrlHelper;
use MyNamespace\Depth\SomeClass as CoreSomeClass;
/**
* Bla.
......
......@@ -5,9 +5,9 @@
* Example.
*/
use Namespaced\MultiLine2 as MultiLineAlias2;
use Namespaced\TestClass;
use Namespaced\TestClassSecond as NamespacedAlias;
use Namespaced\MultiLine2 as MultiLineAlias2;
use function count;
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment