Test Failed
Pull Request — master (#181)
by
unknown
02:58
created
src/Request.php 3 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     }
159 159
 
160 160
     /**
161
-     * @param $access
161
+     * @param string $access
162 162
      *
163 163
      * @return $this
164 164
      */
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     }
179 179
 
180 180
     /**
181
-     * @param $request
181
+     * @param string $request
182 182
      *
183 183
      * @return $this
184 184
      */
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     }
199 199
 
200 200
     /**
201
-     * @param $endpointUrl
201
+     * @param string $endpointUrl
202 202
      *
203 203
      * @return $this
204 204
      */
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     }
219 219
 
220 220
     /**
221
-     * @param $body
221
+     * @param string $body
222 222
      * @return string
223 223
      */
224 224
     protected function convertEncoding($body)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Psr\Log\LoggerInterface;
10 10
 use Psr\Log\NullLogger;
11 11
 use SimpleXMLElement;
12
-use Ups\Exception\InvalidResponseException;
13 12
 use Ups\Exception\RequestException;
14 13
 
15 14
 class Request implements RequestInterface, LoggerAwareInterface
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             'endpointurl' => $this->getEndpointUrl(),
102 102
         ]);
103 103
 
104
-        $this->logger->debug('Request: ' . $this->getRequest(), [
104
+        $this->logger->debug('Request: '.$this->getRequest(), [
105 105
             'id' => $id,
106 106
             'endpointurl' => $this->getEndpointUrl(),
107 107
         ]);
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
             $response = $this->client->post(
111 111
                 $this->getEndpointUrl(),
112 112
                 [
113
-                    'body' => $this->getAccess() . $this->getRequest(),
113
+                    'body' => $this->getAccess().$this->getRequest(),
114 114
                     'headers' => [
115 115
                         'Content-type' => 'application/x-www-form-urlencoded; charset=utf-8',
116 116
                         'Accept-Charset' => 'UTF-8',
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
                 'endpointurl' => $this->getEndpointUrl(),
127 127
             ]);
128 128
 
129
-            $this->logger->debug('Response: ' . $body, [
129
+            $this->logger->debug('Response: '.$body, [
130 130
                 'id' => $id,
131 131
                 'endpointurl' => $this->getEndpointUrl(),
132 132
             ]);
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
                 'endpointurl' => $this->getEndpointUrl(),
154 154
             ]);
155 155
 
156
-            throw new RequestException('Failure: ' . $e->getMessage());
156
+            throw new RequestException('Failure: '.$e->getMessage());
157 157
         }
158 158
     }
159 159
 
Please login to merge, or discard this patch.
src/Entity/InternationalForms.php 7 patches
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -616,7 +616,4 @@
 block discarded – undo
616 616
     {
617 617
         $this->declarationStatement = $statement;
618 618
 
619
-        return $this;
620
-    }
621
->>>>>>> develop
622
-}
619
+        return $this
623 620
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -616,7 +616,4 @@
 block discarded – undo
616 616
     {
617 617
         $this->declarationStatement = $statement;
618 618
 
619
-        return $this;
620
-    }
621
->>>>>>> develop
622
-}
619
+        return $this
623 620
\ No newline at end of file
Please login to merge, or discard this patch.
Indentation   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -616,7 +616,4 @@
 block discarded – undo
616 616
     {
617 617
         $this->declarationStatement = $statement;
618 618
 
619
-        return $this;
620
-    }
621
->>>>>>> develop
622
-}
619
+        return $this
623 620
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -616,7 +616,4 @@
 block discarded – undo
616 616
     {
617 617
         $this->declarationStatement = $statement;
618 618
 
619
-        return $this;
620
-    }
621
->>>>>>> develop
622
-}
619
+        return $this
623 620
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +5 added lines, -8 removed lines patch added patch discarded remove patch
@@ -151,16 +151,16 @@  discard block
 block discarded – undo
151 151
      * @var EEIFilingOption
152 152
      */
153 153
     private $eeiFilingOption;
154
-=======
154
+=== === =
155 155
      * @var OtherCharges
156
-     */
156
+     * /
157 157
     private $otherCharges;
158 158
 
159 159
     /**
160 160
      * @var string $declarationStatement
161 161
      */
162 162
     private $declarationStatement;
163
->>>>>>> develop
163
+>> >> >> > develop
164 164
 
165 165
     /**
166 166
      * @return array
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
             if (isset($attributes->CurrencyCode)) {
211 211
                 $this->setCurrencyCode($attributes->CurrencyCode);
212 212
             }
213
-<<<<<<< HEAD
213
+<< << <<< HEAD
214 214
             if (isset($attributes->EEIFilingOption)) {
215 215
                 $this->setEEIFilingOption(new EEIFilingOption($attributes->EEIFilingOption));
216 216
 =======
@@ -616,7 +616,4 @@  discard block
 block discarded – undo
616 616
     {
617 617
         $this->declarationStatement = $statement;
618 618
 
619
-        return $this;
620
-    }
621
->>>>>>> develop
622
-}
619
+        return $this
623 620
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -616,7 +616,4 @@
 block discarded – undo
616 616
     {
617 617
         $this->declarationStatement = $statement;
618 618
 
619
-        return $this;
620
-    }
621
->>>>>>> develop
622
-}
619
+        return $this
623 620
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -616,7 +616,4 @@
 block discarded – undo
616 616
     {
617 617
         $this->declarationStatement = $statement;
618 618
 
619
-        return $this;
620
-    }
621
->>>>>>> develop
622
-}
619
+        return $this
623 620
\ No newline at end of file
Please login to merge, or discard this patch.
src/Entity/ShipmentServiceOptions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
     }
185 185
 
186 186
     /**
187
-     * @param $accessPointCOD
187
+     * @param AccessPointCOD $accessPointCOD
188 188
      * @return $this
189 189
      */
190 190
     public function setAccessPointCOD($accessPointCOD)
Please login to merge, or discard this patch.