Completed
Pull Request — master (#2188)
by
unknown
21s
created
core/TagParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
rector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
core/web/jsonld/CommentTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 namespace luya\web\jsonld;
4 4
 
5 5
 /**
6
-  * JsonLd Comment Trait.
6
+ * JsonLd Comment Trait.
7 7
  *
8 8
  * @see https://schema.org/Comment
9 9
  * @author Basil Suter <[email protected]>
Please login to merge, or discard this patch.
core/messages/pl/luya.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-   '{attribute} must have a minimum length of {length} characters.' => '{attribute} musi mieć co najmniej {length} znaków.',
5
-   '{attribute} must include at least one special character.' => '{attribute} musi zawierać przynajmniej jeden znak specjalny.',
6
-   '{attribute} must include at least one digit.' => '{attribute} musi zawierać co najmniej jedną cyfrę.',
7
-   '{attribute} must include at least one letter.' => '{attribute} musi zawierać co najmniej jedną literę.',
8
-   '{attribute} must include at least one uppercase letter.' => '{attribute} musi zawierać co najmniej jedną wielką literę.',
9
-   '{attribute} must include at least one lowercase letter.' => '{attribute} musi zawierać co najmniej jedną małą literę.',
10
-   '{attribute} must be a float or numeric value.' => '{attribute} musi być wartością zmiennoprzecinkową lub liczbową.'
4
+    '{attribute} must have a minimum length of {length} characters.' => '{attribute} musi mieć co najmniej {length} znaków.',
5
+    '{attribute} must include at least one special character.' => '{attribute} musi zawierać przynajmniej jeden znak specjalny.',
6
+    '{attribute} must include at least one digit.' => '{attribute} musi zawierać co najmniej jedną cyfrę.',
7
+    '{attribute} must include at least one letter.' => '{attribute} musi zawierać co najmniej jedną literę.',
8
+    '{attribute} must include at least one uppercase letter.' => '{attribute} musi zawierać co najmniej jedną wielką literę.',
9
+    '{attribute} must include at least one lowercase letter.' => '{attribute} musi zawierać co najmniej jedną małą literę.',
10
+    '{attribute} must be a float or numeric value.' => '{attribute} musi być wartością zmiennoprzecinkową lub liczbową.'
11 11
 ];
Please login to merge, or discard this patch.
core/web/UrlManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -333,10 +333,10 @@
 block discarded – undo
333 333
         $params = (array) $params;
334 334
         $url = $this->internalCreateUrl($params, $composition);
335 335
         if (strpos($url, '://') === false) {
336
-            $url = $this->getHostInfo() . $url;
336
+            $url = $this->getHostInfo().$url;
337 337
         }
338 338
         if (is_string($scheme) && ($pos = strpos($url, '://')) !== false) {
339
-            $url = $scheme . substr($url, $pos);
339
+            $url = $scheme.substr($url, $pos);
340 340
         }
341 341
         return $url;
342 342
     }
Please login to merge, or discard this patch.
core/web/jsonld/DurationValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
                     $str .= "T";
78 78
                     $istime = true;
79 79
                 }
80
-                $str .= strval($unit) . $unitName;
80
+                $str .= strval($unit).$unitName;
81 81
             }
82 82
         }
83 83
 
Please login to merge, or discard this patch.
core/traits/ErrorHandlerTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -176,9 +176,9 @@  discard block
 block discarded – undo
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
         }
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
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
     }
Please login to merge, or discard this patch.