Completed
Push — master ( 4b8bb5...60b638 )
by Alexey
04:19
created
system/modules/Notifications/install_script.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return function ($step = NULL, $params = []) {
3
+return function($step = NULL, $params = []) {
4 4
 
5 5
     $groups = [
6 6
         [
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-return function ($step = NULL, $params = []) {
3
+return function ($step = null, $params = []) {
4 4
     App::$cur->db->createTable('notifications_notification', [
5 5
         'notification_id' => 'pk',
6 6
         'notification_chanel_id' => 'int(11) UNSIGNED NOT NULL',
Please login to merge, or discard this patch.
system/Inji/Statics.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public static function file($path, $resize = '', $resizeCrop = '', $resizePos = '') {
23 23
         $absolutePath = App::$cur->staticLoader->parsePath($path);
24
-        $convet = FALSE;
24
+        $convet = false;
25 25
         if (!file_exists($absolutePath) && file_exists(mb_convert_encoding($absolutePath, 'Windows-1251', 'UTF-8'))) {
26 26
             $absolutePath = mb_convert_encoding($absolutePath, 'Windows-1251', 'UTF-8');
27 27
             $convet = true;
Please login to merge, or discard this patch.
system/Inji/Router.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
                 return true;
82 82
             }
83 83
         }
84
-        return FALSE;
84
+        return false;
85 85
     }
86 86
 
87 87
     /**
Please login to merge, or discard this patch.
system/widgets/msgList.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,18 +4,18 @@
 block discarded – undo
4 4
     <div class="alert alert-<?= $msg['status']; ?> alert-dismissable">
5 5
         <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
6 6
         <strong><?php
7
-          switch ($msg['status']) {
8
-              case 'success':
7
+            switch ($msg['status']) {
8
+                case 'success':
9 9
                   echo 'Успех!';
10
-                  break;
11
-              case 'danger':
10
+                    break;
11
+                case 'danger':
12 12
               case 'warning':
13 13
                   echo 'Внимание!';
14
-                  break;
15
-              default:
14
+                    break;
15
+                default:
16 16
                   echo 'Информация.';
17
-          }
18
-          ?></strong> <?= $msg['text']; ?>
17
+            }
18
+            ?></strong> <?= $msg['text']; ?>
19 19
     </div>
20 20
     <?php
21 21
 }
Please login to merge, or discard this patch.
system/program/admin/objects/adminController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             Tools::redirect('/admin', 'У вас нет прав доступа для просмотра этого объекта', 'danger');
44 44
         }
45 45
         $item = $fullModelName::get($pk);
46
-        $this->view->setTitle(($fullModelName::$objectName ? $fullModelName::$objectName : $fullModelName) . ($item ? ( ' - ' . $item->name()) : ''));
46
+        $this->view->setTitle(($fullModelName::$objectName ? $fullModelName::$objectName : $fullModelName) . ($item ? (' - ' . $item->name()) : ''));
47 47
         if (!empty($_POST['comment'])) {
48 48
             $comment = new Dashboard\Comment();
49 49
             $comment->text = $_POST['comment'];
Please login to merge, or discard this patch.
system/program/setup/modules/Main/appSetupControllers/content/index.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <div class="row">
2 2
     <div class="col-lg-12">
3 3
       <?php
4
-      $dataManager = new Ui\DataManager('Apps\App', 'setup');
5
-      $dataManager->draw();
6
-      ?>
4
+        $dataManager = new Ui\DataManager('Apps\App', 'setup');
5
+        $dataManager->draw();
6
+        ?>
7 7
     </div>
8 8
     <div class="col-lg-12">
9 9
         <?php
Please login to merge, or discard this patch.
system/modules/Ui/widgets/Table/head.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <tfoot>
2 2
     <tr>
3 3
       <?php
4
-      foreach ($table->cols as $col) {
5
-          if (is_string($col)) {
6
-              echo "<th>{$col}</th>";
7
-          } else {
8
-              echo Html::el('th', !empty($col['attributes']) ? $col['attributes'] : [], $col['text']);
9
-          }
10
-      }
11
-      ?>
4
+        foreach ($table->cols as $col) {
5
+            if (is_string($col)) {
6
+                echo "<th>{$col}</th>";
7
+            } else {
8
+                echo Html::el('th', !empty($col['attributes']) ? $col['attributes'] : [], $col['text']);
9
+            }
10
+        }
11
+        ?>
12 12
     </tr>
13 13
 </tfoot>
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
system/modules/Ui/Extensions/Access/snippets/accessGetter/Ui_ActiveForm.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 return [
12 12
     'classes' => ['Ui\DataManager'],
13 13
     'get' => function($element) {
14
-$access = NULL;
14
+$access = null;
15 15
 $path = [
16 16
     'models',
17 17
     $element->modelName,
Please login to merge, or discard this patch.
system/modules/Access/snippets/accessGetter/Controller.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 return [
12 12
     'classes' => ['Ui\DataManager'],
13 13
     'get' => function($element) {
14
-$access = NULL;
14
+$access = null;
15 15
 $path = [
16 16
     'models',
17 17
     $element->modelName,
Please login to merge, or discard this patch.