Completed
Push — assert-overflow ( 0688b3...fbf83a )
by Kamil
66:00 queued 44:43
created
src/Sylius/Component/User/Model/UserOAuthInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param string $provider
29
+     * @return void
29 30
      */
30 31
     public function setProvider($provider);
31 32
 
@@ -36,6 +37,7 @@  discard block
 block discarded – undo
36 37
 
37 38
     /**
38 39
      * @param string $identifier
40
+     * @return void
39 41
      */
40 42
     public function setIdentifier($identifier);
41 43
 
@@ -46,6 +48,7 @@  discard block
 block discarded – undo
46 48
 
47 49
     /**
48 50
      * @param string $accessToken
51
+     * @return void
49 52
      */
50 53
     public function setAccessToken($accessToken);
51 54
 
@@ -56,6 +59,7 @@  discard block
 block discarded – undo
56 59
 
57 60
    /**
58 61
     * @param string $refreshToken
62
+    * @return void
59 63
     */
60 64
    public function setRefreshToken($refreshToken);
61 65
 }
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@
 block discarded – undo
52 52
     /**
53 53
      * @return string
54 54
      */
55
-   public function getRefreshToken();
55
+    public function getRefreshToken();
56 56
 
57
-   /**
58
-    * @param string $refreshToken
59
-    */
60
-   public function setRefreshToken($refreshToken);
57
+    /**
58
+     * @param string $refreshToken
59
+     */
60
+    public function setRefreshToken($refreshToken);
61 61
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductVariant.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,10 +92,10 @@
 block discarded – undo
92 92
             $string .= '(';
93 93
 
94 94
             foreach ($this->getOptionValues() as $option) {
95
-                $string .= $option->getOption()->getName().': '.$option->getValue().', ';
95
+                $string .= $option->getOption()->getName() . ': ' . $option->getValue() . ', ';
96 96
             }
97 97
 
98
-            $string = substr($string, 0, -2).')';
98
+            $string = substr($string, 0, -2) . ')';
99 99
         }
100 100
 
101 101
         return $string;
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Remover/ExpiredCartsRemover.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
     public function remove()
42 42
     {
43
-        $expiredCarts = $this->orderRepository->findCartsNotModifiedSince(new \DateTime('-'.$this->expirationPeriod));
43
+        $expiredCarts = $this->orderRepository->findCartsNotModifiedSince(new \DateTime('-' . $this->expirationPeriod));
44 44
         foreach ($expiredCarts as $expiredCart) {
45 45
             $this->orderRepository->remove($expiredCart);
46 46
         }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/TaxonomyContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
         $filesPath = $this->getParameter('files_path');
121 121
 
122 122
         $taxonImage = $this->taxonImageFactory->createNew();
123
-        $taxonImage->setFile(new UploadedFile($filesPath.$imagePath, basename($imagePath)));
123
+        $taxonImage->setFile(new UploadedFile($filesPath . $imagePath, basename($imagePath)));
124 124
         $taxonImage->setCode($imageCode);
125 125
         $this->imageUploader->upload($taxonImage);
126 126
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Domain/CartContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function theyAbandonedTheirCart(OrderInterface $cart, $amount, $time)
60 60
     {
61
-        $cart->setUpdatedAt(new \DateTime('-'.$amount.' '.$time));
61
+        $cart->setUpdatedAt(new \DateTime('-' . $amount . ' ' . $time));
62 62
         $this->orderManager->flush();
63 63
     }
64 64
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/CreatePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
 
118 118
         $imageForm = $this->getLastImageElement();
119 119
         $imageForm->fillField('Code', $code);
120
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
120
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
121 121
     }
122 122
 
123 123
     /**
Please login to merge, or discard this patch.
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.
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.