Completed
Branch master (b30f8b)
by Basil
06:06
created
modules/errorapi/views/default/_mail.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @var $model
4
- */
3
+     * @var $model
4
+     */
5 5
 ?>
6 6
 <h1 style="color: #f00;"><?php echo $model->message; ?></h1>
7 7
 <p style="color: #800000;">from <strong><?php echo $model->serverName; ?></strong></p>
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 ?>
6 6
 <h1 style="color: #f00;"><?php echo $model->message; ?></h1>
7 7
 <p style="color: #800000;">from <strong><?php echo $model->serverName; ?></strong></p>
8
-<a href="https://github.com/luyadev/luya/issues/new?title=<?php echo urlencode('#'. $model->identifier . ' ' . $model->message);?>"><?php echo errorapi\Module::t('mail_create_issue') ?></a>
8
+<a href="https://github.com/luyadev/luya/issues/new?title=<?php echo urlencode('#'.$model->identifier.' '.$model->message); ?>"><?php echo errorapi\Module::t('mail_create_issue') ?></a>
9 9
 <table cellspacing="2" cellpadding="6" border="0" width="1200">
10 10
 <?php foreach ($model->errorArray as $key => $value): ?>
11 11
 <tr>
@@ -34,13 +34,13 @@  discard block
 block discarded – undo
34 34
             <table cellspacing="0" cellpadding="4" border="0">
35 35
                 <?php foreach ($value as $k => $v): ?>
36 36
                 <tr>
37
-                    <td><?php echo $k; ?>:</td><td><?php echo (is_array($v)) ?  print_r($v, true) : $v; ?></td>
37
+                    <td><?php echo $k; ?>:</td><td><?php echo (is_array($v)) ? print_r($v, true) : $v; ?></td>
38 38
                 </tr>
39 39
                 <?php endforeach; ?>
40 40
             </table>
41 41
         <?php else: ?>
42 42
             <?php echo $value; ?>
43
-        <?php endif;?>
43
+        <?php endif; ?>
44 44
 </tr>
45 45
 <?php endforeach; ?>
46 46
 </table>
47 47
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,11 @@
 block discarded – undo
38 38
                 </tr>
39 39
                 <?php endforeach; ?>
40 40
             </table>
41
-        <?php else: ?>
42
-            <?php echo $value; ?>
41
+        <?php else {
42
+    : ?>
43
+            <?php echo $value;
44
+}
45
+?>
43 46
         <?php endif;?>
44 47
 </tr>
45 48
 <?php endforeach; ?>
Please login to merge, or discard this patch.
modules/crawler/commands/CrawlController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,6 @@
 block discarded – undo
23 23
         $this->output(print_r($container->getReport(), true));
24 24
 
25 25
         $timeElapsed = round((microtime(true) - $start) / 60, 2);
26
-        return $this->outputSuccess('Cralwer finished in ' . $timeElapsed . ' min.');
26
+        return $this->outputSuccess('Cralwer finished in '.$timeElapsed.' min.');
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
modules/cms/menu/InjectItem.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     
110 110
     public function getAlias()
111 111
     {
112
-        return $this->menuItem->alias . '/' . $this->alias;
112
+        return $this->menuItem->alias.'/'.$this->alias;
113 113
     }
114 114
     
115 115
     public function getContainer()
@@ -189,12 +189,12 @@  discard block
 block discarded – undo
189 189
 
190 190
     public function getId()
191 191
     {
192
-        return $this->menuItem->id . '_' . md5(spl_object_hash($this) . $this->getAlias());
192
+        return $this->menuItem->id.'_'.md5(spl_object_hash($this).$this->getAlias());
193 193
     }
194 194
     
195 195
     public function getNavId()
196 196
     {
197
-        return $this->menuItem->navId . '_' . $this->getChildOf();
197
+        return $this->menuItem->navId.'_'.$this->getChildOf();
198 198
     }
199 199
     
200 200
     public function toArray()
Please login to merge, or discard this patch.
modules/cms/widgets/LanguageSwitcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
             if ($item) {
57 57
                 $link = $item->link;
58 58
                 
59
-                if ($item->type == 2  && !empty($rule)) {
59
+                if ($item->type == 2 && !empty($rule)) {
60 60
                     $routeParams = [$rule['route']];
61 61
                     
62 62
                     foreach ($rule['params'] as $key => $value) {
Please login to merge, or discard this patch.
modules/cms/components/CatchAllUrlRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function parseRequest($manager, $request)
16 16
     {
17 17
         // add trace info
18
-        Yii::info('LUYA-CMS CatchAllUrlRule is parsing the Request for path info \'' . $request->pathInfo .'\'', __METHOD__);
18
+        Yii::info('LUYA-CMS CatchAllUrlRule is parsing the Request for path info \''.$request->pathInfo.'\'', __METHOD__);
19 19
         
20 20
         if (empty($request->pathInfo)) {
21 21
             return false;
Please login to merge, or discard this patch.
modules/cms/components/RouteBehaviorUrlRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function parseRequest($manager, $request)
19 19
     {
20 20
         // add trace info
21
-        Yii::info('LUYA-CMS RouteBehaviorUrlRule is parsing the Request for path info \'' . $request->pathInfo .'\'', __METHOD__);
21
+        Yii::info('LUYA-CMS RouteBehaviorUrlRule is parsing the Request for path info \''.$request->pathInfo.'\'', __METHOD__);
22 22
         // return the custom route
23 23
         
24 24
         $parts = explode("/", $request->pathInfo);
Please login to merge, or discard this patch.
modules/admin/importers/StorageImporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
         foreach ($imageList as $image) {
59 59
             if (array_key_exists($image['file_id'], $allStorageFileEntries)) {
60
-                $filterImage = $image['filter_id'] . '_' . $allStorageFileEntries[$image['file_id']]['name_new_compound'];
60
+                $filterImage = $image['filter_id'].'_'.$allStorageFileEntries[$image['file_id']]['name_new_compound'];
61 61
                 foreach ($storageFileList as $key => $file) {
62 62
                     if ($filterImage == pathinfo($file, PATHINFO_BASENAME)) {
63 63
                         unset($storageFileList[$key]);
Please login to merge, or discard this patch.
modules/admin/ngrest/aw/CallbackFormWidget.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     
61 61
     private function getFieldId($name)
62 62
     {
63
-        return Inflector::camel2id($this->id . $name);
63
+        return Inflector::camel2id($this->id.$name);
64 64
     }
65 65
     
66 66
     public function run()
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         // do we have option params for the button
70 70
         $params = (array_key_exists('params', $this->options)) ? $this->options['params'] : [];
71 71
         // create the angular controller name
72
-        $controller = 'Controller'.Inflector::camelize($this->id) . Inflector::camelize($this->callback) . time();
72
+        $controller = 'Controller'.Inflector::camelize($this->id).Inflector::camelize($this->callback).time();
73 73
         // render and return the view with the specific params
74 74
         return $this->render('@admin/views/aws/base/_callbackForm', [
75 75
             'angularCrudControllerName' => $controller,
Please login to merge, or discard this patch.
modules/admin/ngrest/base/ActiveWindow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     public function getHashName()
75 75
     {
76 76
         if ($this->_hashName === null) {
77
-            $this->_hashName = sha1($this->getName() . $this->icon . $this->alias);
77
+            $this->_hashName = sha1($this->getName().$this->icon.$this->alias);
78 78
         }
79 79
         
80 80
         return $this->_hashName;
Please login to merge, or discard this patch.