Completed
Push — resource-classnames ( 503d2e )
by Kamil
18:12
created
Sylius/Bundle/CoreBundle/Installer/Requirement/FilesystemRequirements.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         $this
23 23
             ->add(new Requirement(
24 24
                 $translator->trans('sylius.installer.filesystem.vendors', []),
25
-                is_dir($root.'/../vendor')
25
+                is_dir($root . '/../vendor')
26 26
             ))
27 27
             ->add(new Requirement(
28 28
                 $translator->trans('sylius.installer.filesystem.cache.header', []),
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
             ))
39 39
             ->add(new Requirement(
40 40
                 $translator->trans('sylius.installer.filesystem.parameters.header', []),
41
-                is_writable($root.'/config/parameters.yml'),
41
+                is_writable($root . '/config/parameters.yml'),
42 42
                 true,
43
-                $translator->trans('sylius.installer.filesystem.parameters.help', ['%path%' => $root.'/config/parameters.yml'])
43
+                $translator->trans('sylius.installer.filesystem.parameters.help', ['%path%' => $root . '/config/parameters.yml'])
44 44
             ))
45 45
         ;
46 46
     }
Please login to merge, or discard this patch.
spec/Form/EventSubscriber/CustomerRegistrationFormSubscriberSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
     function it_listens_on_pre_submit_data_event()
48 48
     {
49
-        $this->getSubscribedEvents()->shouldReturn([FormEvents::PRE_SUBMIT => 'preSubmit',]);
49
+        $this->getSubscribedEvents()->shouldReturn([FormEvents::PRE_SUBMIT => 'preSubmit', ]);
50 50
     }
51 51
 
52 52
     function it_sets_user_for_existing_customer(
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/DependencyInjection/SyliusCoreExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function load(array $config, ContainerBuilder $container)
29 29
     {
30 30
         $config = $this->processConfiguration($this->getConfiguration($config, $container), $config);
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
 
33 33
         $loader->load(sprintf('driver/%s.xml', $config['driver']));
34 34
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             return;
91 91
         }
92 92
 
93
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
93
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
94 94
         $loader->load('resource_integration.xml');
95 95
 
96 96
         $container->prependExtensionConfig('sylius_resource', [
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         foreach ($this->commands as $step => $command) {
74 74
             try {
75 75
                 $output->writeln(sprintf('<comment>Step %d of %d.</comment> <info>%s</info>', $step + 1, count($this->commands), $command['message']));
76
-                $this->commandExecutor->runCommand('sylius:install:'.$command['command'], [], $output);
76
+                $this->commandExecutor->runCommand('sylius:install:' . $command['command'], [], $output);
77 77
                 $output->writeln('');
78 78
             } catch (RuntimeException $exception) {
79 79
                 $this->isErrored = true;
Please login to merge, or discard this patch.
Bundle/ReviewBundle/Doctrine/ORM/Subscriber/LoadMetadataSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             'inversedBy' => 'reviews',
87 87
             'joinColumns' => [
88 88
                 [
89
-                    'name' => $subject.'_id',
89
+                    'name' => $subject . '_id',
90 90
                     'referencedColumnName' => $reviewableEntityMetadata->fieldMappings['id']['columnName'],
91 91
                     'nullable' => false,
92 92
                     'onDelete' => 'CASCADE',
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/spec/Context/SessionBasedCartContextSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         SessionInterface $session,
46 46
         OrderRepositoryInterface $orderRepository,
47 47
         OrderInterface $cart
48
-    )  {
48
+    ) {
49 49
         $session->has('session_key_name')->willReturn(true);
50 50
         $session->get('session_key_name')->willReturn(12345);
51 51
         $orderRepository->findCartById(12345)->willReturn($cart);
Please login to merge, or discard this patch.
src/Sylius/Bundle/MoneyBundle/DependencyInjection/SyliusMoneyExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function load(array $config, ContainerBuilder $container)
29 29
     {
30 30
         $config = $this->processConfiguration($this->getConfiguration($config, $container), $config);
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
 
33 33
         $loader->load(sprintf('driver/%s.xml', $config['driver']));
34 34
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             return;
91 91
         }
92 92
 
93
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
93
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
94 94
         $loader->load('resource_integration.xml');
95 95
 
96 96
         $container->prependExtensionConfig('sylius_resource', [
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Form/Type/ProductVariantMatchType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
             $builder->add($option->getCode(), sprintf('sylius_%s_option_value_choice', $this->variableName), [
46 46
                 'label' => $option->getName(),
47 47
                 'option' => $option,
48
-                'property_path' => '['.$i.']',
48
+                'property_path' => '[' . $i . ']',
49 49
             ]);
50 50
         }
51 51
 
Please login to merge, or discard this patch.
Sylius/Bundle/ProductBundle/Form/Type/ProductOptionValueCollectionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
             $builder->add($option->getCode(), sprintf('sylius_%s_option_value_choice', $this->variableName), [
46 46
                 'label' => $option->getName(),
47 47
                 'option' => $option,
48
-                'property_path' => '['.$i.']',
48
+                'property_path' => '[' . $i . ']',
49 49
             ]);
50 50
         }
51 51
 
Please login to merge, or discard this patch.