Skip to content

Commit

Permalink
Enabled 'ordered_imports' in php-cs-fixer config
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed Dec 4, 2019
1 parent d0cba80 commit ed03cf1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ return PhpCsFixer\Config::create()
'no_useless_else' => true,
'no_useless_return' => true,
'not_operator_with_successor_space' => true,
'ordered_imports' => true,
'phpdoc_no_empty_return' => false,
'phpdoc_order' => true,
'return_type_declaration' => [
Expand Down
2 changes: 1 addition & 1 deletion src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace PHLAK\Twine\Config;

use ReflectionClass;
use PHLAK\Twine\Exceptions\ConfigException;
use ReflectionClass;

abstract class Config
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/Encryptable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace PHLAK\Twine\Traits;

use PHLAK\Twine\Exceptions\EncryptionException;
use PHLAK\Twine\Exceptions\DecryptionException;
use PHLAK\Twine\Exceptions\EncryptionException;

trait Encryptable
{
Expand Down
2 changes: 1 addition & 1 deletion tests/DecryptionExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace PHLAK\Twine\Tests;

use PHPUnit\Framework\TestCase;
use PHLAK\Twine\Exceptions\DecryptionException;
use PHLAK\Twine\Exceptions\TwineException;
use PHPUnit\Framework\TestCase;

class DecryptionExceptionTest extends TestCase
{
Expand Down

0 comments on commit ed03cf1

Please sign in to comment.