@@ -21,6 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param FixtureEvent $fixtureEvent |
| 23 | 23 | * @param array $options |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function beforeFixture(FixtureEvent $fixtureEvent, array $options): void; |
| 26 | 27 | } |
@@ -21,6 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param SuiteEvent $suiteEvent |
| 23 | 23 | * @param array $options |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function beforeSuite(SuiteEvent $suiteEvent, array $options): void; |
| 26 | 27 | } |
@@ -25,6 +25,7 @@ |
||
| 25 | 25 | * @param SuiteInterface $suite |
| 26 | 26 | * @param FixtureInterface $fixture |
| 27 | 27 | * @param array $options |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function load(SuiteInterface $suite, FixtureInterface $fixture, array $options): void; |
| 30 | 31 | } |
@@ -22,6 +22,7 @@ |
||
| 22 | 22 | { |
| 23 | 23 | /** |
| 24 | 24 | * @param SuiteInterface $suite |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function load(SuiteInterface $suite): void; |
| 27 | 28 | } |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Sylius\Bundle\FixturesBundle\Listener\BeforeSuiteListenerInterface; |
| 13 | 13 | use Sylius\Bundle\FixturesBundle\Listener\FixtureEvent; |
| 14 | 14 | use Sylius\Bundle\FixturesBundle\Listener\ListenerInterface; |
| 15 | -use Sylius\Bundle\FixturesBundle\Listener\LoggerListener; |
|
| 16 | 15 | use Sylius\Bundle\FixturesBundle\Listener\SuiteEvent; |
| 17 | 16 | use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface; |
| 18 | 17 | |
@@ -14,13 +14,11 @@ |
||
| 14 | 14 | namespace spec\Sylius\Bundle\FixturesBundle\Loader; |
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Prophecy\Argument; |
|
| 18 | 17 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
| 19 | 18 | use Sylius\Bundle\FixturesBundle\Listener\AfterFixtureListenerInterface; |
| 20 | 19 | use Sylius\Bundle\FixturesBundle\Listener\BeforeFixtureListenerInterface; |
| 21 | 20 | use Sylius\Bundle\FixturesBundle\Listener\FixtureEvent; |
| 22 | 21 | use Sylius\Bundle\FixturesBundle\Loader\FixtureLoaderInterface; |
| 23 | -use Sylius\Bundle\FixturesBundle\Loader\HookableFixtureLoader; |
|
| 24 | 22 | use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface; |
| 25 | 23 | |
| 26 | 24 | /** |
@@ -14,11 +14,9 @@ |
||
| 14 | 14 | namespace spec\Sylius\Bundle\FixturesBundle\Loader; |
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Prophecy\Argument; |
|
| 18 | 17 | use Sylius\Bundle\FixturesBundle\Listener\AfterSuiteListenerInterface; |
| 19 | 18 | use Sylius\Bundle\FixturesBundle\Listener\BeforeSuiteListenerInterface; |
| 20 | 19 | use Sylius\Bundle\FixturesBundle\Listener\SuiteEvent; |
| 21 | -use Sylius\Bundle\FixturesBundle\Loader\HookableSuiteLoader; |
|
| 22 | 20 | use Sylius\Bundle\FixturesBundle\Loader\SuiteLoaderInterface; |
| 23 | 21 | use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface; |
| 24 | 22 | |
@@ -14,10 +14,8 @@ |
||
| 14 | 14 | namespace spec\Sylius\Bundle\FixturesBundle\Loader; |
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Prophecy\Argument; |
|
| 18 | 17 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
| 19 | 18 | use Sylius\Bundle\FixturesBundle\Loader\FixtureLoaderInterface; |
| 20 | -use Sylius\Bundle\FixturesBundle\Loader\SuiteLoader; |
|
| 21 | 19 | use Sylius\Bundle\FixturesBundle\Loader\SuiteLoaderInterface; |
| 22 | 20 | use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface; |
| 23 | 21 | |
@@ -15,12 +15,10 @@ |
||
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | 17 | use PhpSpec\Wrapper\Collaborator; |
| 18 | -use Prophecy\Argument; |
|
| 19 | 18 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
| 20 | 19 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureRegistryInterface; |
| 21 | 20 | use Sylius\Bundle\FixturesBundle\Listener\ListenerInterface; |
| 22 | 21 | use Sylius\Bundle\FixturesBundle\Listener\ListenerRegistryInterface; |
| 23 | -use Sylius\Bundle\FixturesBundle\Suite\SuiteFactory; |
|
| 24 | 22 | use Sylius\Bundle\FixturesBundle\Suite\SuiteFactoryInterface; |
| 25 | 23 | use Symfony\Component\Config\Definition\Processor; |
| 26 | 24 | |