Completed
Push — master ( eeff33...1702a2 )
by Kamil
41:57 queued 20:40
created
src/Sylius/Bundle/ThemeBundle/spec/Factory/ThemeFactorySpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     public function getMatchers()
49 49
     {
50 50
         return [
51
-            'beThemeWithName' => function (ThemeInterface $theme, $expectedName) {
51
+            'beThemeWithName' => function(ThemeInterface $theme, $expectedName) {
52 52
                 return $expectedName === $theme->getName();
53 53
             },
54 54
         ];
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/spec/Factory/ThemeAuthorFactorySpec.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
     public function getMatchers()
46 46
     {
47 47
         return [
48
-            'beAnAuthorWithNameAndEmail' => function (ThemeAuthor $themeAuthor, $name, $email) {
48
+            'beAnAuthorWithNameAndEmail' => function(ThemeAuthor $themeAuthor, $name, $email) {
49 49
                 return $name === $themeAuthor->getName() && $email === $themeAuthor->getEmail();
50 50
             },
51 51
         ];
Please login to merge, or discard this patch.
spec/Configuration/Provider/FilesystemConfigurationProviderSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     public function getMatchers()
88 88
     {
89 89
         return [
90
-            'haveAllElementsOf' => function (array $subject, $type) {
90
+            'haveAllElementsOf' => function(array $subject, $type) {
91 91
                 foreach ($subject as $element) {
92 92
                     if ($type === get_class($element) || is_subclass_of($element, $type)) {
93 93
                         return true;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/spec/Hydrator/ThemeHydratorSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
     function it_proxies_hydrating_and_converts_parents_to_collection_if_needed(HydratorInterface $decoratedHydrator)
59 59
     {
60
-        $decoratedHydrator->hydrate(Argument::that(function (array $data) {
60
+        $decoratedHydrator->hydrate(Argument::that(function(array $data) {
61 61
             if (!isset($data['data']) || $data['data'] !== 'data') {
62 62
                 return false;
63 63
             }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Translation/ThemeAwareTranslator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
             $locale = $this->getLocale();
128 128
         }
129 129
 
130
-        $locale = $locale . '_' . $theme->getCode();;
130
+        $locale = $locale.'_'.$theme->getCode(); ;
131 131
 
132 132
         return $locale;
133 133
     }
Please login to merge, or discard this patch.
Sylius/Bundle/ThemeBundle/Translation/Provider/ThemeTranslationResource.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
         }
56 56
 
57 57
         $this->domain = $parts[0];
58
-        $this->locale = $parts[1] . '_' . $theme->getCode();
58
+        $this->locale = $parts[1].'_'.$theme->getCode();
59 59
         $this->format = $parts[2];
60 60
     }
61 61
 
Please login to merge, or discard this patch.
Bundle/ThemeBundle/Translation/Provider/ThemeTranslatorResourceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      */
73 73
     public function getResourcesLocales()
74 74
     {
75
-        return array_values(array_unique(array_map(function (TranslationResourceInterface $translationResource) {
75
+        return array_values(array_unique(array_map(function(TranslationResourceInterface $translationResource) {
76 76
             return $translationResource->getLocale();
77 77
         }, $this->getResources())));
78 78
     }
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
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
          * PHP 5.* bug, fixed in PHP 7: https://bugs.php.net/bug.php?id=50688
38 38
          * "usort(): Array was modified by the user comparison function"
39 39
          */
40
-        @usort($files, function ($firstFile, $secondFile) use ($path) {
40
+        @usort($files, function($firstFile, $secondFile) use ($path) {
41 41
             $firstFile = str_replace($path, '', $firstFile);
42 42
             $secondFile = str_replace($path, '', $secondFile);
43 43
 
Please login to merge, or discard this patch.
src/Sylius/Behat/spec/Context/Transform/PaymentContextSpec.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
         $this->getPaymentMethodByName('Offline')->shouldReturn($paymentMethod);
54 54
     }
55 55
 
56
-    function it_throws_element_not_found_exception_if_payment_method_has_not_been_found (
56
+    function it_throws_element_not_found_exception_if_payment_method_has_not_been_found(
57 57
         RepositoryInterface $paymentMethodRepository
58 58
     ) {
59 59
         $paymentMethodRepository->findOneBy(['name' => 'Free'])->willReturn(null);
Please login to merge, or discard this patch.