Completed
Push — theme-bundle ( 69304b...bce4cb )
by Kamil
18:15
created
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.
Bundle/ArchetypeBundle/Form/EventListener/ParentArchetypeListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
         if (null != $currentArchetype->getId()) {
65 65
             $parentOptions = array(
66
-                'query_builder' => function (RepositoryInterface $repository) use ($currentArchetype) {
66
+                'query_builder' => function(RepositoryInterface $repository) use ($currentArchetype) {
67 67
                     return $repository
68 68
                         ->createQueryBuilder('o')
69 69
                         ->where('o.id != :id')
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.
Bundle/ArchetypeBundle/DependencyInjection/SyliusArchetypeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,6 +108,6 @@
 block discarded – undo
108 108
             ->setArguments(array(new Reference(sprintf('sylius.factory.%s_attribute_value', $subjectName))))
109 109
         ;
110 110
 
111
-        $container->setDefinition('sylius.builder.' . $subjectName . '_archetype', $builderDefintion);
111
+        $container->setDefinition('sylius.builder.'.$subjectName.'_archetype', $builderDefintion);
112 112
     }
113 113
 }
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.
src/Sylius/Component/User/spec/Security/Generator/PinGeneratorSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     public function getMatchers()
66 66
     {
67 67
         return array(
68
-            'haveLength' => function ($subject, $key) {
68
+            'haveLength' => function($subject, $key) {
69 69
                 return $key === strlen($subject);
70 70
             },
71 71
         );
Please login to merge, or discard this patch.
spec/Form/DataTransformer/ObjectCollectionToIdentifiersTransformerSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 use Symfony\Component\Form\Exception\UnexpectedTypeException;
17 17
 
18 18
 // Since the root namespace "spec" is not in our autoload
19
-require_once __DIR__ . DIRECTORY_SEPARATOR . 'FakeEntity.php';
19
+require_once __DIR__.DIRECTORY_SEPARATOR.'FakeEntity.php';
20 20
 
21 21
 class ObjectSelectionToIdentifierCollectionTransformerSpec extends ObjectBehavior
22 22
 {
Please login to merge, or discard this patch.