Completed
Push — final-forms ( 80b973...cafa21 )
by Kamil
35:41 queued 17:05
created
Sylius/Bundle/LocaleBundle/DependencyInjection/SyliusLocaleExtension.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,9 +14,7 @@
 block discarded – undo
14 14
 use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension;
15 15
 use Symfony\Component\Config\FileLocator;
16 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
17
-use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
18 17
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
19
-use Symfony\Component\DependencyInjection\Reference;
20 18
 
21 19
 /**
22 20
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EventListener/ORMTranslatableListener.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,8 @@
 block discarded – undo
33 33
     /**
34 34
      * @param ContainerInterface $container
35 35
      */
36
-    public function __construct(ContainerInterface $container) {
36
+    public function __construct(ContainerInterface $container)
37
+    {
37 38
         $this->container = $container;
38 39
     }
39 40
 
Please login to merge, or discard this patch.
test/src/Tests/DependencyInjection/SyliusResourceExtensionTest.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
                     'translation' => [
42 42
                         'classes' => [
43 43
                             'model' => BookTranslation::class,
44
-                         ],
44
+                            ],
45 45
                     ],
46 46
                 ],
47 47
             ],
@@ -73,18 +73,18 @@  discard block
 block discarded – undo
73 73
      * @test
74 74
      */
75 75
     public function it_registers_default_translation_parameters()
76
-     {
77
-         // TODO: Move ResourceGrid integration to a dedicated compiler pass
78
-         $this->setParameter('kernel.bundles', []);
76
+        {
77
+            // TODO: Move ResourceGrid integration to a dedicated compiler pass
78
+            $this->setParameter('kernel.bundles', []);
79 79
 
80
-         $this->load([
81
-             'translation' => [
82
-                 'locale_provider' => 'test.custom_locale_provider'
83
-             ]
84
-         ]);
80
+            $this->load([
81
+                'translation' => [
82
+                    'locale_provider' => 'test.custom_locale_provider'
83
+                ]
84
+            ]);
85 85
 
86
-         $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider');
87
-     }
86
+            $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider');
87
+        }
88 88
 
89 89
     /**
90 90
      * {@inheritdoc}
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      * @test
74 74
      */
75 75
     public function it_registers_default_translation_parameters()
76
-     {
76
+    {
77 77
          // TODO: Move ResourceGrid integration to a dedicated compiler pass
78 78
          $this->setParameter('kernel.bundles', []);
79 79
 
Please login to merge, or discard this patch.