@@ -71,7 +71,7 @@ |
||
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); |
@@ -10,8 +10,8 @@ discard block |
||
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 |
||
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"); |