@@ -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 | |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Bundle\FixturesBundle\DependencyInjection; |
| 15 | 15 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | public function load(array $config, ContainerBuilder $container): void |
| 31 | 31 | { |
| 32 | 32 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
| 33 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 33 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 34 | 34 | |
| 35 | 35 | $loader->load('services.xml'); |
| 36 | 36 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function prepend(ContainerBuilder $container): void |
| 44 | 44 | { |
| 45 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 45 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 46 | 46 | |
| 47 | 47 | $extensionsNamesToConfigurationFiles = [ |
| 48 | 48 | 'doctrine' => 'doctrine/orm.xml', |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Bundle\TaxationBundle\DependencyInjection; |
| 15 | 15 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | public function load(array $config, ContainerBuilder $container): void |
| 30 | 30 | { |
| 31 | 31 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
| 32 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 32 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 33 | 33 | |
| 34 | 34 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
| 35 | 35 | |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | public function registerContainerConfiguration(LoaderInterface $loader): void |
| 45 | 45 | { |
| 46 | - $loader->load(__DIR__.'/config/config.yml'); |
|
| 46 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Component\Taxation\Model; |
| 15 | 15 | |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * @param string|null $name |
| 33 | 33 | */ |
| 34 | - public function setName(?string $name): void; |
|
| 34 | + public function setName(?string $name) : void; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @return string|null |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * @param string|null $description |
| 43 | 43 | */ |
| 44 | - public function setDescription(?string $description): void; |
|
| 44 | + public function setDescription(?string $description) : void; |
|
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * @return Collection|TaxRateInterface[] |