Completed
Push — snake-case-tests ( 55729f )
by Kamil
87:29 queued 51:35
created
Core/spec/Taxation/Applicator/OrderShipmentTaxesApplicatorSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
         $order->getShippingTotal()->willReturn(10);
113 113
         $order->getShipments()->willReturn(new ArrayCollection([]));
114 114
 
115
-        $this->shouldThrow(\LogicException::class)->during('apply', [$order, $zone]);;
115
+        $this->shouldThrow(\LogicException::class)->during('apply', [$order, $zone]); ;
116 116
     }
117 117
 
118 118
     function it_does_nothing_if_tax_rate_cannot_be_resolved(
Please login to merge, or discard this patch.
app/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use Composer\Autoload\ClassLoader;
5 5
 
6 6
 /** @var ClassLoader $loader */
7
-$loader = require __DIR__.'/../vendor/autoload.php';
7
+$loader = require __DIR__ . '/../vendor/autoload.php';
8 8
 
9 9
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
10 10
 
Please login to merge, or discard this patch.
web/app_test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,12 +22,12 @@
 block discarded – undo
22 22
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server')
23 23
 ) {
24 24
     header('HTTP/1.0 403 Forbidden');
25
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
25
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
26 26
 }
27 27
 
28 28
 /** @var \Composer\Autoload\ClassLoader $loader */
29
-$loader = require __DIR__.'/../app/autoload.php';
30
-include_once __DIR__.'/../var/bootstrap.php.cache';
29
+$loader = require __DIR__ . '/../app/autoload.php';
30
+include_once __DIR__ . '/../var/bootstrap.php.cache';
31 31
 
32 32
 Debug::enable();
33 33
 
Please login to merge, or discard this patch.
web/app.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
  */
18 18
 
19 19
 /** @var \Composer\Autoload\ClassLoader $loader */
20
-$loader = require __DIR__.'/../app/autoload.php';
21
-include_once __DIR__.'/../var/bootstrap.php.cache';
20
+$loader = require __DIR__ . '/../app/autoload.php';
21
+include_once __DIR__ . '/../var/bootstrap.php.cache';
22 22
 
23 23
 $kernel = new AppKernel('prod', false);
24 24
 $kernel->loadClassCache();
Please login to merge, or discard this patch.
web/app_test_cached.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server')
22 22
 ) {
23 23
     header('HTTP/1.0 403 Forbidden');
24
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
24
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
25 25
 }
26 26
 
27 27
 /** @var \Composer\Autoload\ClassLoader $loader */
28
-$loader = require __DIR__.'/../app/autoload.php';
29
-include_once __DIR__.'/../var/bootstrap.php.cache';
28
+$loader = require __DIR__ . '/../app/autoload.php';
29
+include_once __DIR__ . '/../var/bootstrap.php.cache';
30 30
 
31 31
 $kernel = new AppKernel('test_cached', false);
32 32
 $kernel->loadClassCache();
Please login to merge, or discard this patch.
web/app_dev.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1', '10.0.0.1'], true) || php_sapi_name() === 'cli-server')
28 28
 )) {
29 29
     header('HTTP/1.0 403 Forbidden');
30
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
30
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
31 31
 }
32 32
 
33 33
 /** @var \Composer\Autoload\ClassLoader $loader */
34
-$loader = require __DIR__.'/../app/autoload.php';
35
-include_once __DIR__.'/../var/bootstrap.php.cache';
34
+$loader = require __DIR__ . '/../app/autoload.php';
35
+include_once __DIR__ . '/../var/bootstrap.php.cache';
36 36
 
37 37
 Debug::enable();
38 38
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingExchangeRatesContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
      */
117 117
     public function iChangeRatioTo($ratio)
118 118
     {
119
-        $this->updatePage->changeRatio((float)$ratio);
119
+        $this->updatePage->changeRatio((float) $ratio);
120 120
     }
121 121
 
122 122
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/UpdatePage.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@  discard block
 block discarded – undo
45 45
      */
46 46
     private function specifyAddress(AddressInterface $address, $addressType)
47 47
     {
48
-        $this->specifyElementValue($addressType.'_first_name', $address->getFirstName());
49
-        $this->specifyElementValue($addressType.'_last_name', $address->getLastName());
50
-        $this->specifyElementValue($addressType.'_street', $address->getStreet());
51
-        $this->specifyElementValue($addressType.'_city', $address->getCity());
52
-        $this->specifyElementValue($addressType.'_postcode', $address->getPostcode());
48
+        $this->specifyElementValue($addressType . '_first_name', $address->getFirstName());
49
+        $this->specifyElementValue($addressType . '_last_name', $address->getLastName());
50
+        $this->specifyElementValue($addressType . '_street', $address->getStreet());
51
+        $this->specifyElementValue($addressType . '_city', $address->getCity());
52
+        $this->specifyElementValue($addressType . '_postcode', $address->getPostcode());
53 53
 
54 54
         $this->chooseCountry($address->getCountryCode(), $addressType);
55 55
     }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     private function chooseCountry($country, $addressType)
116 116
     {
117
-        $this->getElement($addressType.'_country')->selectOption((null !== $country) ? $country : 'Select');
117
+        $this->getElement($addressType . '_country')->selectOption((null !== $country) ? $country : 'Select');
118 118
     }
119 119
 
120 120
     /**
Please login to merge, or discard this patch.
Bundle/PayumBundle/Action/Paypal/ExpressCheckout/ConvertPaymentAction.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -57,33 +57,33 @@
 block discarded – undo
57 57
 
58 58
         $m = 0;
59 59
         foreach ($order->getItems() as $item) {
60
-            $details['L_PAYMENTREQUEST_0_NAME'.$m] = $item->getVariant()->getProduct()->getName();
61
-            $details['L_PAYMENTREQUEST_0_AMT'.$m] = $this->formatPrice($item->getDiscountedUnitPrice());
62
-            $details['L_PAYMENTREQUEST_0_QTY'.$m] = $item->getQuantity();
60
+            $details['L_PAYMENTREQUEST_0_NAME' . $m] = $item->getVariant()->getProduct()->getName();
61
+            $details['L_PAYMENTREQUEST_0_AMT' . $m] = $this->formatPrice($item->getDiscountedUnitPrice());
62
+            $details['L_PAYMENTREQUEST_0_QTY' . $m] = $item->getQuantity();
63 63
 
64 64
             ++$m;
65 65
         }
66 66
 
67 67
         if (0 !== $taxTotal = $order->getAdjustmentsTotalRecursively(AdjustmentInterface::TAX_ADJUSTMENT)) {
68
-            $details['L_PAYMENTREQUEST_0_NAME'.$m] = 'Tax Total';
69
-            $details['L_PAYMENTREQUEST_0_AMT'.$m] = $this->formatPrice($taxTotal);
70
-            $details['L_PAYMENTREQUEST_0_QTY'.$m] = 1;
68
+            $details['L_PAYMENTREQUEST_0_NAME' . $m] = 'Tax Total';
69
+            $details['L_PAYMENTREQUEST_0_AMT' . $m] = $this->formatPrice($taxTotal);
70
+            $details['L_PAYMENTREQUEST_0_QTY' . $m] = 1;
71 71
 
72 72
             ++$m;
73 73
         }
74 74
 
75 75
         if (0 !== $promotionTotal = $order->getOrderPromotionTotal()) {
76
-            $details['L_PAYMENTREQUEST_0_NAME'.$m] = 'Discount';
77
-            $details['L_PAYMENTREQUEST_0_AMT'.$m] = $this->formatPrice($promotionTotal);
78
-            $details['L_PAYMENTREQUEST_0_QTY'.$m] = 1;
76
+            $details['L_PAYMENTREQUEST_0_NAME' . $m] = 'Discount';
77
+            $details['L_PAYMENTREQUEST_0_AMT' . $m] = $this->formatPrice($promotionTotal);
78
+            $details['L_PAYMENTREQUEST_0_QTY' . $m] = 1;
79 79
 
80 80
             ++$m;
81 81
         }
82 82
 
83 83
         if (0 !== $shippingTotal = $order->getShippingTotal()) {
84
-            $details['L_PAYMENTREQUEST_0_NAME'.$m] = 'Shipping Total';
85
-            $details['L_PAYMENTREQUEST_0_AMT'.$m] = $this->formatPrice($shippingTotal);
86
-            $details['L_PAYMENTREQUEST_0_QTY'.$m] = 1;
84
+            $details['L_PAYMENTREQUEST_0_NAME' . $m] = 'Shipping Total';
85
+            $details['L_PAYMENTREQUEST_0_AMT' . $m] = $this->formatPrice($shippingTotal);
86
+            $details['L_PAYMENTREQUEST_0_QTY' . $m] = 1;
87 87
         }
88 88
 
89 89
         $request->setResult($details);
Please login to merge, or discard this patch.