@@ -139,7 +139,7 @@ |
||
139 | 139 | { |
140 | 140 | if (!is_object($this->tags[$tag])) { |
141 | 141 | $this->tags[$tag] = Yii::createObject($this->tags[$tag]); |
142 | - Yii::debug('tag parser object generated for:'. $tag, self::class); |
|
142 | + Yii::debug('tag parser object generated for:'.$tag, self::class); |
|
143 | 143 | } |
144 | 144 | } |
145 | 145 |
@@ -176,9 +176,9 @@ discard block |
||
176 | 176 | $_file = $exception->getFile(); |
177 | 177 | $_line = $exception->getLine(); |
178 | 178 | } elseif (is_string($exception)) { |
179 | - $_message = 'exception string: ' . $exception; |
|
179 | + $_message = 'exception string: '.$exception; |
|
180 | 180 | } elseif (is_array($exception)) { |
181 | - $_message = $exception['message'] ?? 'exception array dump: ' . print_r($exception, true); |
|
181 | + $_message = $exception['message'] ?? 'exception array dump: '.print_r($exception, true); |
|
182 | 182 | $_file = $exception['file'] ?? __FILE__; |
183 | 183 | $_line = $exception['line'] ?? __LINE__; |
184 | 184 | } |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | |
261 | 261 | if (!empty($file)) { |
262 | 262 | try { |
263 | - $lineInArray = $line -1; |
|
263 | + $lineInArray = $line - 1; |
|
264 | 264 | // load file from path |
265 | 265 | $fileInfo = file($file, FILE_IGNORE_NEW_LINES); |
266 | 266 | // load file if false from real path |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | 'class' => $item['class'] ?? null, |
301 | 301 | // currently arguments wont be transmited due to large amount of informations based on base object |
302 | 302 | //'args' => isset($item['args']) ? ArrayHelper::coverSensitiveValues($item['args'], $this->sensitiveKeys) : [], |
303 | - ], function ($value) { |
|
303 | + ], function($value) { |
|
304 | 304 | return !empty($value); |
305 | 305 | }); |
306 | 306 | } |
@@ -6,13 +6,13 @@ |
||
6 | 6 | use Rector\Config\RectorConfig; |
7 | 7 | use Rector\Set\ValueObject\LevelSetList; |
8 | 8 | |
9 | -return static function (RectorConfig $rectorConfig): void { |
|
9 | +return static function(RectorConfig $rectorConfig): void { |
|
10 | 10 | $rectorConfig->paths([ |
11 | - __DIR__ . '/core' |
|
11 | + __DIR__.'/core' |
|
12 | 12 | ]); |
13 | 13 | |
14 | 14 | $rectorConfig->skip([ |
15 | - __DIR__ . '/core/vendor', |
|
15 | + __DIR__.'/core/vendor', |
|
16 | 16 | ]); |
17 | 17 | |
18 | 18 | // register a single rule |