Skip to content

Commit ed03cf1

Browse files
committed
Enabled 'ordered_imports' in php-cs-fixer config
1 parent d0cba80 commit ed03cf1

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.php_cs.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ return PhpCsFixer\Config::create()
2424
'no_useless_else' => true,
2525
'no_useless_return' => true,
2626
'not_operator_with_successor_space' => true,
27+
'ordered_imports' => true,
2728
'phpdoc_no_empty_return' => false,
2829
'phpdoc_order' => true,
2930
'return_type_declaration' => [

src/Config/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace PHLAK\Twine\Config;
44

5-
use ReflectionClass;
65
use PHLAK\Twine\Exceptions\ConfigException;
6+
use ReflectionClass;
77

88
abstract class Config
99
{

src/Traits/Encryptable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace PHLAK\Twine\Traits;
44

5-
use PHLAK\Twine\Exceptions\EncryptionException;
65
use PHLAK\Twine\Exceptions\DecryptionException;
6+
use PHLAK\Twine\Exceptions\EncryptionException;
77

88
trait Encryptable
99
{

tests/DecryptionExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace PHLAK\Twine\Tests;
44

5-
use PHPUnit\Framework\TestCase;
65
use PHLAK\Twine\Exceptions\DecryptionException;
76
use PHLAK\Twine\Exceptions\TwineException;
7+
use PHPUnit\Framework\TestCase;
88

99
class DecryptionExceptionTest extends TestCase
1010
{

0 commit comments

Comments
 (0)