Skip to content

Commit

Permalink
Merge pull request #13 from sebdesign/analysis-z9YJjN
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
sebdesign authored Oct 2, 2018
2 parents 7ca724b + ba31dde commit 6d0e96d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/Callback/ContainerAwareCallbackFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

use SM\SMException;
use SM\Callback\CallbackFactory;
use Sebdesign\SM\Callback\GateCallback;
use Illuminate\Contracts\Auth\Access\Gate;
use Illuminate\Contracts\Container\Container as ContainerInterface;

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ protected function printCallbacks(array $allCallbacks)
];
}

$this->table([ucfirst($position) . ' Callbacks', 'Satisfies', 'Do', 'Args'], $rows);
$this->table([ucfirst($position).' Callbacks', 'Satisfies', 'Do', 'Args'], $rows);
}
}

Expand Down
4 changes: 2 additions & 2 deletions tests/ArticlePolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Illuminate\Foundation\Auth\User;

class ArticlePolicy {

class ArticlePolicy
{
public function submitChanges(User $user, Article $article, $string)
{
return $string === 'foo';
Expand Down
1 change: 0 additions & 1 deletion tests/Callback/ContainerAwareCallbackFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Sebdesign\SM\Test\TestCase;
use Sebdesign\SM\Callback\GateCallback;
use SM\Callback\CallbackFactoryInterface;
use Illuminate\Contracts\Auth\Access\Gate;
use Sebdesign\SM\Callback\ContainerAwareCallback;
use Sebdesign\SM\Callback\ContainerAwareCallbackFactory;

Expand Down
2 changes: 0 additions & 2 deletions tests/Callback/GateCallbackTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

namespace Sebdesign\SM\Test\Callback;

use SM\Event\TransitionEvent;
use Sebdesign\SM\Test\Article;
use Sebdesign\SM\Test\TestCase;
use SM\Factory\FactoryInterface;
use SM\Callback\CallbackInterface;
use Illuminate\Support\Facades\Gate;
use Sebdesign\SM\Test\ArticlePolicy;
use Sebdesign\SM\Callback\GateCallback;
use Sebdesign\SM\Callback\ContainerAwareCallback;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;

class GateCallbackTest extends TestCase
Expand Down

0 comments on commit 6d0e96d

Please sign in to comment.