Skip to content

Commit

Permalink
CS: alphabetize use statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Aug 16, 2023
1 parent 8a41c8b commit b1877b4
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Modernize/Tests/FunctionCalls/DirnameUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Modernize\Tests\FunctionCalls;

use PHPCSUtils\BackCompat\Helper;
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
use PHPCSUtils\BackCompat\Helper;

/**
* Unit test class for the Dirname sniff.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\Namespaces;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHPCSUtils\Utils\Namespaces;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\Namespaces;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHPCSUtils\Utils\Namespaces;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\Namespaces;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHPCSUtils\Utils\Namespaces;

/**
Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/Namespaces/OneDeclarationPerFileSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\Namespaces;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHPCSUtils\Utils\Namespaces;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\OOStructures;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Tokens\Collections;
use PHPCSUtils\Utils\ObjectDeclarations;
Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/Operators/DisallowLogicalAndOrSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\Operators;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;

/**
* Enforce the use of the boolean `&&` and `||` operators instead of the logical `and`/`or` operators.
Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/Operators/StrictComparisonsSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\Operators;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;

/**
* Enforce the use of strict comparisons.
Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/Operators/TypeSeparatorSpacingSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\Operators;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Fixers\SpacesFixer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\UseStatements;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Utils\GetTokensAsString;
use PHPCSUtils\Utils\UseStatements;
Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/UseStatements/DisallowUseClassSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
namespace PHPCSExtra\Universal\Sniffs\UseStatements;

use PHP_CodeSniffer\Exceptions\RuntimeException;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Utils\Namespaces;
use PHPCSUtils\Utils\UseStatements;
Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/UseStatements/DisallowUseConstSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
namespace PHPCSExtra\Universal\Sniffs\UseStatements;

use PHP_CodeSniffer\Exceptions\RuntimeException;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Utils\Namespaces;
use PHPCSUtils\Utils\UseStatements;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
namespace PHPCSExtra\Universal\Sniffs\UseStatements;

use PHP_CodeSniffer\Exceptions\RuntimeException;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Utils\Namespaces;
use PHPCSUtils\Utils\UseStatements;
Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/UseStatements/KeywordSpacingSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\UseStatements;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Fixers\SpacesFixer;
use PHPCSUtils\Utils\UseStatements;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\UseStatements;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Utils\UseStatements;

Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/UseStatements/NoLeadingBackslashSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\UseStatements;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Utils\UseStatements;

Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/UseStatements/NoUselessAliasesSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\UseStatements;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Utils\NamingConventions;
use PHPCSUtils\Utils\UseStatements;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\WhiteSpace;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Fixers\SpacesFixer;

Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/WhiteSpace/CommaSpacingSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\WhiteSpace;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\BackCompat\Helper;
use PHPCSUtils\Fixers\SpacesFixer;
Expand Down
2 changes: 1 addition & 1 deletion Universal/Sniffs/WhiteSpace/PrecisionAlignmentSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace PHPCSExtra\Universal\Sniffs\WhiteSpace;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\BackCompat\Helper;
use PHPCSUtils\Tokens\Collections;
Expand Down

0 comments on commit b1877b4

Please sign in to comment.