Completed
Push — master ( 00da88...18ec14 )
by Kamil
22:59
created
src/Sylius/Bundle/InstallerBundle/Command/InstallCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -22,19 +22,19 @@  discard block
 block discarded – undo
22 22
      * @var array
23 23
      */
24 24
     private $commands = array(
25
-        array (
25
+        array(
26 26
             'command' => 'check-requirements',
27 27
             'message' => 'Checking system requirements.',
28 28
         ),
29
-        array (
29
+        array(
30 30
             'command' => 'database',
31 31
             'message' => 'Setting up the database.',
32 32
         ),
33
-        array (
33
+        array(
34 34
             'command' => 'setup',
35 35
             'message' => 'Shop configuration.',
36 36
         ),
37
-        array (
37
+        array(
38 38
             'command' => 'assets',
39 39
             'message' => 'Installing assets.',
40 40
         ),
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
         foreach ($this->commands as $step => $command) {
74 74
             try {
75
-                $output->writeln(sprintf('<comment>Step %d of %d.</comment> <info>%s</info>', $step+1, count($this->commands), $command['message']));
75
+                $output->writeln(sprintf('<comment>Step %d of %d.</comment> <info>%s</info>', $step + 1, count($this->commands), $command['message']));
76 76
                 $this->commandExecutor->runCommand('sylius:install:'.$command['command'], array(), $output);
77 77
                 $output->writeln('');
78 78
             } catch (RuntimeException $exception) {
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
                 ->booleanNode('guest_order')
61 61
                     ->beforeNormalization()
62 62
                         ->ifString()
63
-                        ->then(function ($v) { return (bool) $v; })
63
+                        ->then(function($v) { return (bool) $v; })
64 64
                     ->end()
65 65
                     ->defaultFalse()
66 66
                 ->end()
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Form/Type/UserType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         $resolver
45 45
             ->setDefaults(array(
46 46
                 'data_class' => $this->dataClass,
47
-                'validation_groups' => function (FormInterface $form) {
47
+                'validation_groups' => function(FormInterface $form) {
48 48
                     $data = $form->getData();
49 49
                     if ($data && !$data->getId()) {
50 50
                         $this->validationGroups[] = 'sylius_user_create';
Please login to merge, or discard this patch.
src/Sylius/Bundle/LocaleBundle/Form/Type/LocaleChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function configureOptions(OptionsResolver $resolver)
56 56
     {
57
-        $choiceList = function (Options $options) {
57
+        $choiceList = function(Options $options) {
58 58
             if (null === $options['enabled']) {
59 59
                 $choices = $this->localeRepository->findAll();
60 60
             } else {
Please login to merge, or discard this patch.
src/Sylius/Bundle/FlowBundle/spec/Validator/ProcessValidatorSpec.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 {
22 22
     function let()
23 23
     {
24
-        $this->beConstructedWith('message', 'step_name', function(){});
24
+        $this->beConstructedWith('message', 'step_name', function() {});
25 25
     }
26 26
 
27 27
     function it_is_initializable()
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     function its_validation_is_mutable()
50 50
     {
51
-        $closure = function(){};
51
+        $closure = function() {};
52 52
 
53 53
         $this->setValidation($closure)->shouldReturn($this);
54 54
         $this->getValidation()->shouldReturn($closure);
Please login to merge, or discard this patch.
src/Sylius/Bundle/ContentBundle/Form/Type/MenuType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                 'label'            => false,
49 49
                 'button_add_label' => 'sylius.form.menu.add_menu_node',
50 50
                 'cascade_validation' => true,
51
-             ))
51
+                ))
52 52
             ->add('uri', null, array(
53 53
                 'required' => false,
54 54
                 'label' => 'sylius.form.menu.uri'
Please login to merge, or discard this patch.
src/Sylius/Bundle/ContentBundle/Form/Type/StaticContentType.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 'by_reference' => false,
54 54
                 'label'        => 'sylius.form.static_content.routes',
55 55
                 'cascade_validation' => true,
56
-             ))
56
+                ))
57 57
             ->add('menuNodes', 'collection', array(
58 58
                 'type'         => 'sylius_menu_node',
59 59
                 'allow_add'    => true,
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
                 'by_reference' => false,
62 62
                 'label'        => 'sylius.form.static_content.menu_nodes',
63 63
                 'cascade_validation' => true,
64
-             ))
64
+                ))
65 65
             ->add('body', 'textarea', array(
66 66
                 'required' => false,
67 67
                 'label'    => 'sylius.form.static_content.body',
Please login to merge, or discard this patch.
ArchetypeBundle/spec/Form/EventListener/ParentArchetypeListenerSpec.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     {
53 53
         $event->getData()->willReturn('badObject');
54 54
         $this->shouldThrow(new UnexpectedTypeException('badObject', ArchetypeInterface::class))
55
-             ->during('preSetData', array($event))
55
+                ->during('preSetData', array($event))
56 56
         ;
57 57
     }
58 58
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@
 block discarded – undo
281 281
             return $this->adjustments;
282 282
         }
283 283
 
284
-        return $this->adjustments->filter(function (AdjustmentInterface $adjustment) use ($type) {
284
+        return $this->adjustments->filter(function(AdjustmentInterface $adjustment) use ($type) {
285 285
             return $type === $adjustment->getType();
286 286
         });
287 287
     }
Please login to merge, or discard this patch.