Completed
Push — scalar-types/fixtures ( 9e7ef5 )
by Kamil
33:42 queued 09:21
created
src/Sylius/Bundle/FixturesBundle/spec/Listener/LoggerListenerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableFixtureLoaderSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,13 +14,11 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableSuiteLoaderSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/SuiteLoaderSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Suite/SuiteFactorySpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,12 +15,10 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Bundle/FixturesBundle/DependencyInjection/SyliusFixturesExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.
Bundle/TaxationBundle/DependencyInjection/SyliusTaxationExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/TaxationBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/Model/TaxCategoryInterface.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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[]
Please login to merge, or discard this patch.