Passed
Branch master (25273e)
by Mihail
04:42
created
Apps/ActiveRecord/Role.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Ffcms\Core\App as MainApp;
6 6
 use Ffcms\Core\Arch\ActiveModel;
7 7
 use Ffcms\Core\Helper\Type\Arr;
8
-use Ffcms\Core\Helper\Type\Str;
9 8
 
10 9
 class Role extends ActiveModel
11 10
 {
Please login to merge, or discard this patch.
Apps/Controller/Admin/Main.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Ffcms\Core\App;
10 10
 use Ffcms\Core\Exception\SyntaxException;
11 11
 use Ffcms\Core\Helper\FileSystem\File;
12
-use Ffcms\Core\Helper\Type\Arr;
13 12
 use Ffcms\Core\Helper\Type\Integer;
14 13
 use Ffcms\Core\Helper\Type\Str;
15 14
 
Please login to merge, or discard this patch.
Apps/Controller/Front/Main.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Extend\Core\Arch\FrontAppController;
6 6
 use Ffcms\Core\Arch\View;
7
-use Apps\Model\Front\User;
8 7
 
9 8
 
10 9
 class Main extends FrontAppController
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormContentUpdate.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Ffcms\Core\Helper\Date;
10 10
 use Ffcms\Core\Helper\FileSystem\Directory;
11 11
 use Ffcms\Core\Helper\FileSystem\File;
12
-use Ffcms\Core\Helper\Type\Integer;
13 12
 use Ffcms\Core\Helper\Type\Obj;
14 13
 use Ffcms\Core\Helper\Serialize;
15 14
 use Ffcms\Core\Helper\Type\Str;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-    * Set model properties from active record data
47
-    */
46
+     * Set model properties from active record data
47
+     */
48 48
     public function before()
49 49
     {
50 50
         // is new item?
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-    * Labels
109
-    */
108
+     * Labels
109
+     */
110 110
     public function labels()
111 111
     {
112 112
         return [
Please login to merge, or discard this patch.
Apps/Model/Front/Profile/FormWallPost.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Apps\Model\Front\Profile;
4 4
 
5
-use Apps\ActiveRecord\Blacklist;
6 5
 use Apps\ActiveRecord\WallPost as WallRecords;
7 6
 use Ffcms\Core\App;
8 7
 use Ffcms\Core\Interfaces\iUser;
Please login to merge, or discard this patch.
Apps/Model/Front/User/FormLogin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Ffcms\Core\App;
6 6
 use Ffcms\Core\Arch\Model;
7
-use Ffcms\Core\Helper\Type\Obj;
8 7
 use Ffcms\Core\Helper\Type\Str;
9 8
 use Ffcms\Core\Interfaces\iUser;
10 9
 
Please login to merge, or discard this patch.
Apps/Controller/Api/Profile.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
         $findAnswer->delete();
203 203
 
204 204
         $this->response = json_encode([
205
-           'status' => 1,
205
+            'status' => 1,
206 206
             'message' => 'ok'
207 207
         ]);
208 208
     }
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormCategoryDelete.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-    * Pass properties from record construction
33
-    */
32
+     * Pass properties from record construction
33
+     */
34 34
     public function before()
35 35
     {
36 36
         $this->title = Serialize::getDecodeLocale($this->_record->title);
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    * Form labels
42
-    */
41
+     * Form labels
42
+     */
43 43
     public function labels()
44 44
     {
45 45
         return [
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-    * Validation rules
54
-    */
53
+     * Validation rules
54
+     */
55 55
     public function rules()
56 56
     {
57 57
         return [
Please login to merge, or discard this patch.
Apps/Model/Admin/Content/FormCategoryUpdate.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    * Pass properties from default record values
42
-    */
41
+     * Pass properties from default record values
42
+     */
43 43
     public function before()
44 44
     {
45 45
         if ($this->_record->id === null) {
@@ -74,8 +74,8 @@  discard block
 block discarded – undo
74 74
     }
75 75
 
76 76
     /**
77
-    * Form labels
78
-    */
77
+     * Form labels
78
+     */
79 79
     public function labels()
80 80
     {
81 81
         return [
@@ -93,8 +93,8 @@  discard block
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-    * Validation rules
97
-    */
96
+     * Validation rules
97
+     */
98 98
     public function rules()
99 99
     {
100 100
         $rules = [
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Ffcms\Core\App;
6 6
 use Ffcms\Core\Arch\Model;
7
-use Ffcms\Core\Helper\Type\Obj;
8 7
 use Ffcms\Core\Helper\Type\Str;
9 8
 use Ffcms\Core\Interfaces\iUser;
10 9
 
Please login to merge, or discard this patch.