@@ -2,10 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace spec\Cerbero\Workflow\Console\Drawing; |
| 4 | 4 | |
| 5 | -use PhpSpec\ObjectBehavior; |
|
| 6 | -use Prophecy\Argument; |
|
| 7 | -use Cerbero\Workflow\Repositories\PipelineRepositoryInterface; |
|
| 8 | 5 | use Cerbero\Workflow\Console\Drawing\Geometry; |
| 6 | +use Cerbero\Workflow\Repositories\PipelineRepositoryInterface; |
|
| 7 | +use PhpSpec\ObjectBehavior; |
|
| 9 | 8 | |
| 10 | 9 | class DrawerSpec extends ObjectBehavior |
| 11 | 10 | { |
@@ -2,9 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace spec\Cerbero\Workflow\Inflectors; |
| 4 | 4 | |
| 5 | -use PhpSpec\ObjectBehavior; |
|
| 6 | -use Prophecy\Argument; |
|
| 7 | 5 | use Cerbero\Workflow\Wrappers\NamespaceDetectorInterface; |
| 6 | +use PhpSpec\ObjectBehavior; |
|
| 8 | 7 | |
| 9 | 8 | class InflectorSpec extends ObjectBehavior |
| 10 | 9 | { |
@@ -2,10 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace spec\Cerbero\Workflow\Repositories; |
| 4 | 4 | |
| 5 | -use PhpSpec\ObjectBehavior; |
|
| 6 | -use Prophecy\Argument; |
|
| 7 | 5 | use Cerbero\Workflow\Wrappers\YamlParserInterface; |
| 8 | 6 | use Illuminate\Filesystem\Filesystem; |
| 7 | +use PhpSpec\ObjectBehavior; |
|
| 9 | 8 | |
| 10 | 9 | class YamlPipelineRepositorySpec extends ObjectBehavior |
| 11 | 10 | { |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php namespace Cerbero\Workflow\Console\Commands; |
| 2 | 2 | |
| 3 | -use Cerbero\Workflow\Repositories\PipelineRepositoryInterface; |
|
| 4 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 5 | 3 | use Cerbero\Workflow\Console\Drawing\Drawer; |
| 4 | +use Cerbero\Workflow\Repositories\PipelineRepositoryInterface; |
|
| 6 | 5 | use Illuminate\Console\Command; |
| 6 | +use Symfony\Component\Console\Input\InputArgument; |
|
| 7 | 7 | |
| 8 | 8 | class ReadWorkflowCommand extends Command { |
| 9 | 9 | |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php namespace Cerbero\Workflow\Console\Commands; |
| 2 | 2 | |
| 3 | -use Illuminate\Filesystem\Filesystem; |
|
| 4 | -use Illuminate\Console\GeneratorCommand; |
|
| 5 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 6 | 3 | use Cerbero\Workflow\Inflectors\InflectorInterface; |
| 7 | 4 | use Cerbero\Workflow\Repositories\PipelineRepositoryInterface; |
| 5 | +use Illuminate\Console\GeneratorCommand; |
|
| 6 | +use Illuminate\Filesystem\Filesystem; |
|
| 7 | +use Symfony\Component\Console\Input\InputArgument; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Abstract implementation of a workflow generator. |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php namespace Cerbero\Workflow; |
| 2 | 2 | |
| 3 | -use Cerbero\Workflow\Repositories\PipelineRepositoryInterface; |
|
| 4 | 3 | use Cerbero\Workflow\Inflectors\InflectorInterface; |
| 4 | +use Cerbero\Workflow\Repositories\PipelineRepositoryInterface; |
|
| 5 | 5 | use Cerbero\Workflow\Wrappers\DispatcherInterface; |
| 6 | 6 | use Illuminate\Contracts\Container\Container; |
| 7 | 7 | |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php namespace Cerbero\Workflow; |
| 2 | 2 | |
| 3 | -use Cerbero\Workflow\WorkflowRunner; |
|
| 4 | -use Illuminate\Foundation\AliasLoader; |
|
| 5 | -use Illuminate\Support\ServiceProvider; |
|
| 6 | 3 | use Cerbero\Workflow\Inflectors\Inflector; |
| 7 | -use Cerbero\Workflow\Wrappers\SymfonyYamlParser; |
|
| 8 | 4 | use Cerbero\Workflow\Repositories\YamlPipelineRepository; |
| 5 | +use Cerbero\Workflow\WorkflowRunner; |
|
| 9 | 6 | use Cerbero\Workflow\Wrappers\LaravelTraitNamespaceDetector; |
| 7 | +use Cerbero\Workflow\Wrappers\SymfonyYamlParser; |
|
| 8 | +use Illuminate\Foundation\AliasLoader; |
|
| 9 | +use Illuminate\Support\ServiceProvider; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Workflow service provider. |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Cerbero\Workflow\Wrappers; |
| 4 | 4 | |
| 5 | -use Exception; |
|
| 6 | 5 | use ArrayAccess; |
| 6 | +use Exception; |
|
| 7 | +use Illuminate\Contracts\Bus\Dispatcher; |
|
| 7 | 8 | use ReflectionClass; |
| 8 | 9 | use ReflectionParameter; |
| 9 | -use Illuminate\Contracts\Bus\Dispatcher; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Wrapper to marshal commands before dispatching them. |