Completed
Push — master ( 986d1a...52a401 )
by Andrii
02:52
created
src/curl/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         } elseif ($this->getVersion() === '1.0') {
72 72
             $requestOptions[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_0;
73 73
         } else {
74
-            throw new RequestErrorException('Request version "' . $this->getVersion() . '" is not support by cURL', $this);
74
+            throw new RequestErrorException('Request version "'.$this->getVersion().'" is not support by cURL', $this);
75 75
         }
76 76
 
77 77
         return ArrayHelper::merge($this->defaultOptions, $this->getDb()->config, $requestOptions, $options);
Please login to merge, or discard this patch.
tests/_bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@  discard block
 block discarded – undo
10 10
 
11 11
 error_reporting(-1);
12 12
 
13
-require_once __DIR__ . '/../vendor/autoload.php';
14
-require_once __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
13
+require_once __DIR__.'/../vendor/autoload.php';
14
+require_once __DIR__.'/../vendor/yiisoft/yii2/Yii.php';
15 15
 
16 16
 /// PHPUNIT 5 <-> 6 compatibility dirty hack
17 17
 foreach ([
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     foreach ([$old => $new, $new => $old] as $one => $other) {
22 22
         if (!class_exists($one) && class_exists($other)) {
23 23
             $pos = strrpos($one, '\\');
24
-            $class = $pos === FALSE ? $one : substr($one, $pos+1);
24
+            $class = $pos === FALSE ? $one : substr($one, $pos + 1);
25 25
             $space = $pos === FALSE ? '' : substr($one, 0, $pos);
26 26
             $namespace = $space ? "namespace $space;" : '';
27 27
             eval("${namespace}abstract class $class extends \\$other {};\n");
Please login to merge, or discard this patch.