Skip to content

Commit

Permalink
Added PHP-CS-Fixer rules
Browse files Browse the repository at this point in the history
ordered_imports, single_line_after_imports, single_import_per_statement & no_unused_imports
  • Loading branch information
freost committed Mar 5, 2018
1 parent 2807a8e commit bdffd5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .php_cs
Expand Up @@ -39,6 +39,10 @@ return Config::create()
'phpdoc_align' => true,
'whitespace_after_comma_in_array' => true,
'trailing_comma_in_multiline_array' => true,
'ordered_imports' => true,
'single_line_after_imports' => true,
'single_import_per_statement' => true,
'no_unused_imports' => true,
])
->setRiskyAllowed(true)
->setFinder(Finder::create()->in(__DIR__));
1 change: 0 additions & 1 deletion src/commands/Repl.php
Expand Up @@ -13,7 +13,6 @@
use mako\reactor\Command;
use mako\repl\Caster;
use mako\syringe\traits\ContainerAwareTrait;

use Psy\Configuration;
use Psy\Shell;

Expand Down
6 changes: 2 additions & 4 deletions tests/unit/CasterTest.php
Expand Up @@ -7,14 +7,12 @@

namespace mako\repl\tests\unit;

use Mockery;
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;

use mako\database\midgard\ORM;
use mako\database\query\Result;
use mako\database\query\ResultSet;
use mako\repl\Caster;

use Mockery;
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
use PHPUnit\Framework\TestCase;

/**
Expand Down

0 comments on commit bdffd5d

Please sign in to comment.