Completed
Push — revert-symfony-336 ( 87e565 )
by Kamil
36:02
created
Sylius/Bundle/CoreBundle/Fixture/Factory/ProductAttributeExampleFactory.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     * @return array
97
+     * @return \Generator
98 98
      */
99 99
     private function getLocales()
100 100
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Sylius\Component\Core\Formatter\StringInflector;
16 16
 use Sylius\Component\Locale\Model\LocaleInterface;
17 17
 use Sylius\Component\Product\Model\ProductAttributeInterface;
18
-use Sylius\Component\Product\Model\ProductOptionInterface;
19 18
 use Sylius\Component\Resource\Repository\RepositoryInterface;
20 19
 use Symfony\Component\OptionsResolver\Options;
21 20
 use Symfony\Component\OptionsResolver\OptionsResolver;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\CoreBundle\Fixture\Factory;
15 15
 
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/Fixture/Factory/ProductOptionExampleFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     * @return array
97
+     * @return \Generator
98 98
      */
99 99
     private function getLocales()
100 100
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\CoreBundle\Fixture\Factory;
15 15
 
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/Fixture/Factory/ShippingMethodExampleFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     * @return array
97
+     * @return \Generator
98 98
      */
99 99
     private function getLocales()
100 100
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\CoreBundle\Fixture\Factory;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/GeographicalFixture.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\CoreBundle\Fixture;
13 13
 
14 14
 use Doctrine\Common\Persistence\ObjectManager;
15
-use Sylius\Component\Addressing\Factory\ZoneFactoryInterface;
16 15
 use Sylius\Bundle\FixturesBundle\Fixture\AbstractFixture;
16
+use Sylius\Component\Addressing\Factory\ZoneFactoryInterface;
17 17
 use Sylius\Component\Addressing\Model\CountryInterface;
18 18
 use Sylius\Component\Addressing\Model\ProvinceInterface;
19 19
 use Sylius\Component\Addressing\Model\ZoneInterface;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\CoreBundle\Fixture;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Installer/Setup/ChannelSetupInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param LocaleInterface $locale
24 24
      * @param CurrencyInterface $currency
25
+     * @return void
25 26
      */
26 27
     public function setup(LocaleInterface $locale, CurrencyInterface $currency);
27 28
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\CoreBundle\Installer\Setup;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Remover/ReviewerReviewsRemoverInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param ReviewerInterface $author
23
+     * @return void
23 24
      */
24 25
     public function removeReviewerReviews(ReviewerInterface $author);
25 26
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\CoreBundle\Remover;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Security/UserImpersonatorInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param UserInterface $user
23
+     * @return void
23 24
      */
24 25
     public function impersonate(UserInterface $user);
25 26
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\CoreBundle\Security;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/Form/Registry/FormTypeRegistryInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
      * @param string $identifier
21 21
      * @param string $typeIdentifier
22 22
      * @param string $formType
23
+     * @return void
23 24
      */
24 25
     public function add($identifier, $typeIdentifier, $formType);
25 26
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 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\GridBundle\Form\Registry;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/DependencyInjection/SyliusOrderExtension.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Symfony\Component\Config\FileLocator;
16 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
17 17
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
18
-use Symfony\Component\DependencyInjection\Reference;
19 18
 
20 19
 /**
21 20
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this 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\OrderBundle\DependencyInjection;
15 15
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function load(array $config, ContainerBuilder $container)
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(sprintf('services/integrations/%s.xml', $config['driver']));
36 36
 
Please login to merge, or discard this patch.