Completed
Push — master ( 01e9a3...b0156c )
by Kamil
18:54
created
src/Sylius/Component/Order/Model/OrderItemUnit.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/Bundle/AddressingBundle/Form/Type/ProvinceChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function configureOptions(OptionsResolver $resolver)
43 43
     {
44
-        $choices = function (Options $options) {
44
+        $choices = function(Options $options) {
45 45
             if (null === $options['country']) {
46 46
                 $choices = $this->provinceRepository->findAll();
47 47
             } else {
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
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         );
63 63
 
64 64
         if (null != $currentArchetype->getId()) {
65
-            $parentOptions['query_builder'] = function (RepositoryInterface $repository) use ($currentArchetype) {
65
+            $parentOptions['query_builder'] = function(RepositoryInterface $repository) use ($currentArchetype) {
66 66
                 return $repository
67 67
                     ->createQueryBuilder('o')
68 68
                     ->where('o.id != :id')
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Form/Type/CountryChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function configureOptions(OptionsResolver $resolver)
43 43
     {
44
-        $choices = function (Options $options) {
44
+        $choices = function(Options $options) {
45 45
             if (null === $options['country']) {
46 46
                 $choices = $this->provinceRepository->findAll();
47 47
             } else {
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Form/Type/ProvinceCodeChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      */
42 42
     public function configureOptions(OptionsResolver $resolver)
43 43
     {
44
-        $choices = function (Options $options) {
44
+        $choices = function(Options $options) {
45 45
             if (null === $options['country']) {
46 46
                 $choices = $this->provinceRepository->findAll();
47 47
             } else {
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/spec/Factory/OrderItemUnitFactorySpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     public function getMatchers()
54 54
     {
55 55
         return [
56
-            'beSameAs' => function ($subject, $key) {
56
+            'beSameAs' => function($subject, $key) {
57 57
                 if (!$subject instanceof OrderItemUnitInterface || !$key instanceof OrderItemUnitInterface) {
58 58
                     return false;
59 59
                 }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/Product.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
      */
337 337
     public function getVariants()
338 338
     {
339
-        return $this->variants->filter(function (BaseVariantInterface $variant) {
339
+        return $this->variants->filter(function(BaseVariantInterface $variant) {
340 340
             return !$variant->isDeleted() && !$variant->isMaster();
341 341
         });
342 342
     }
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
      */
347 347
     public function getAvailableVariants()
348 348
     {
349
-        return $this->variants->filter(function (BaseVariantInterface $variant) {
349
+        return $this->variants->filter(function(BaseVariantInterface $variant) {
350 350
             return !$variant->isDeleted() && !$variant->isMaster() && $variant->isAvailable();
351 351
         });
352 352
     }
Please login to merge, or discard this patch.
Bundle/ThemeBundle/Translation/Finder/OrderingTranslationFilesFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
          * PHP 5.* bug, fixed in PHP 7: https://bugs.php.net/bug.php?id=50688
40 40
          * "usort(): Array was modified by the user comparison function"
41 41
          */
42
-        @usort($files, function ($firstFile, $secondFile) use ($theme) {
42
+        @usort($files, function($firstFile, $secondFile) use ($theme) {
43 43
             $firstFile = str_replace($theme->getPath(), '', $firstFile);
44 44
             $secondFile = str_replace($theme->getPath(), '', $secondFile);
45 45
 
Please login to merge, or discard this patch.
ThemeBundle/spec/Translation/Finder/OrderingTranslationFilesFinderSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     public function getMatchers()
56 56
     {
57 57
         return [
58
-            'haveFirstElement' => function ($subject, $element) {
58
+            'haveFirstElement' => function($subject, $element) {
59 59
                 if ($element !== reset($subject)) {
60 60
                     throw new \InvalidArgumentException(sprintf(
61 61
                         'Expected "%s" as the first element, actual value was "%s".',
Please login to merge, or discard this patch.