Completed
Push — develop ( 8dee05 )
by Dmytro
20:08
created
core/src/Models/Category.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -27,16 +27,16 @@
 block discarded – undo
27 27
 {
28 28
     use Traits\Models\ManagerActions;
29 29
 
30
-	public $timestamps = false;
30
+    public $timestamps = false;
31 31
 
32
-	protected $casts = [
33
-		'rank' => 'int'
34
-	];
32
+    protected $casts = [
33
+        'rank' => 'int'
34
+    ];
35 35
 
36
-	protected $fillable = [
37
-		'category',
38
-		'rank'
39
-	];
36
+    protected $fillable = [
37
+        'category',
38
+        'rank'
39
+    ];
40 40
 
41 41
     public function templates() : Eloquent\Relations\HasMany
42 42
     {
Please login to merge, or discard this patch.
core/src/Models/SiteContent.php 1 patch
Indentation   +63 added lines, -63 removed lines patch added patch discarded remove patch
@@ -79,69 +79,69 @@
 block discarded – undo
79 79
     const CREATED_AT = 'createdon';
80 80
     const UPDATED_AT = 'editedon';
81 81
     const DELETED_AT = 'deletedon';
82
-	protected $dateFormat = 'U';
83
-
84
-	protected $casts = [
85
-		'published' => 'int',
86
-		'pub_date' => 'int',
87
-		'unpub_date' => 'int',
88
-		'parent' => 'int',
89
-		'isfolder' => 'int',
90
-		'richtext' => 'bool',
91
-		'template' => 'int',
92
-		'menuindex' => 'int',
93
-		'searchable' => 'int',
94
-		'cacheable' => 'int',
95
-		'createdby' => 'int',
96
-		'createdon' => 'int',
97
-		'editedby' => 'int',
98
-		'editedon' => 'int',
99
-		'deleted' => 'int',
100
-		'deletedby' => 'int',
101
-		'publishedon' => 'int',
102
-		'publishedby' => 'int',
103
-		'donthit' => 'bool',
104
-		'privateweb' => 'bool',
105
-		'privatemgr' => 'bool',
106
-		'content_dispo' => 'bool',
107
-		'hidemenu' => 'bool',
108
-		'alias_visible' => 'int'
109
-	];
110
-
111
-	protected $fillable = [
112
-		'type',
113
-		'contentType',
114
-		'pagetitle',
115
-		'longtitle',
116
-		'description',
117
-		'alias',
118
-		'link_attributes',
119
-		'published',
120
-		'pub_date',
121
-		'unpub_date',
122
-		'parent',
123
-		'isfolder',
124
-		'introtext',
125
-		'content',
126
-		'richtext',
127
-		'template',
128
-		'menuindex',
129
-		'searchable',
130
-		'cacheable',
131
-		'createdby',
132
-		'editedby',
133
-		'deleted',
134
-		'deletedby',
135
-		'publishedon',
136
-		'publishedby',
137
-		'menutitle',
138
-		'donthit',
139
-		'privateweb',
140
-		'privatemgr',
141
-		'content_dispo',
142
-		'hidemenu',
143
-		'alias_visible'
144
-	];
82
+    protected $dateFormat = 'U';
83
+
84
+    protected $casts = [
85
+        'published' => 'int',
86
+        'pub_date' => 'int',
87
+        'unpub_date' => 'int',
88
+        'parent' => 'int',
89
+        'isfolder' => 'int',
90
+        'richtext' => 'bool',
91
+        'template' => 'int',
92
+        'menuindex' => 'int',
93
+        'searchable' => 'int',
94
+        'cacheable' => 'int',
95
+        'createdby' => 'int',
96
+        'createdon' => 'int',
97
+        'editedby' => 'int',
98
+        'editedon' => 'int',
99
+        'deleted' => 'int',
100
+        'deletedby' => 'int',
101
+        'publishedon' => 'int',
102
+        'publishedby' => 'int',
103
+        'donthit' => 'bool',
104
+        'privateweb' => 'bool',
105
+        'privatemgr' => 'bool',
106
+        'content_dispo' => 'bool',
107
+        'hidemenu' => 'bool',
108
+        'alias_visible' => 'int'
109
+    ];
110
+
111
+    protected $fillable = [
112
+        'type',
113
+        'contentType',
114
+        'pagetitle',
115
+        'longtitle',
116
+        'description',
117
+        'alias',
118
+        'link_attributes',
119
+        'published',
120
+        'pub_date',
121
+        'unpub_date',
122
+        'parent',
123
+        'isfolder',
124
+        'introtext',
125
+        'content',
126
+        'richtext',
127
+        'template',
128
+        'menuindex',
129
+        'searchable',
130
+        'cacheable',
131
+        'createdby',
132
+        'editedby',
133
+        'deleted',
134
+        'deletedby',
135
+        'publishedon',
136
+        'publishedby',
137
+        'menutitle',
138
+        'donthit',
139
+        'privateweb',
140
+        'privatemgr',
141
+        'content_dispo',
142
+        'hidemenu',
143
+        'alias_visible'
144
+    ];
145 145
 
146 146
     protected $managerActionsMap = [
147 147
         'id' => [
Please login to merge, or discard this patch.
core/src/Models/SitePlugin.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -45,32 +45,32 @@  discard block
 block discarded – undo
45 45
     use Traits\Models\ManagerActions,
46 46
         Traits\Models\TimeMutator;
47 47
 
48
-	const CREATED_AT = 'createdon';
49
-	const UPDATED_AT = 'editedon';
48
+    const CREATED_AT = 'createdon';
49
+    const UPDATED_AT = 'editedon';
50 50
     protected $dateFormat = 'U';
51 51
 
52
-	protected $casts = [
53
-		'editor_type' => 'int',
54
-		'category' => 'int',
55
-		'cache_type' => 'bool',
56
-		'locked' => 'int',
57
-		'disabled' => 'int',
58
-		'createdon' => 'int',
59
-		'editedon' => 'int'
60
-	];
61
-
62
-	protected $fillable = [
63
-		'name',
64
-		'description',
65
-		'editor_type',
66
-		'category',
67
-		'cache_type',
68
-		'plugincode',
69
-		'locked',
70
-		'properties',
71
-		'disabled',
72
-		'moduleguid'
73
-	];
52
+    protected $casts = [
53
+        'editor_type' => 'int',
54
+        'category' => 'int',
55
+        'cache_type' => 'bool',
56
+        'locked' => 'int',
57
+        'disabled' => 'int',
58
+        'createdon' => 'int',
59
+        'editedon' => 'int'
60
+    ];
61
+
62
+    protected $fillable = [
63
+        'name',
64
+        'description',
65
+        'editor_type',
66
+        'category',
67
+        'cache_type',
68
+        'plugincode',
69
+        'locked',
70
+        'properties',
71
+        'disabled',
72
+        'moduleguid'
73
+    ];
74 74
 
75 75
     protected $managerActionsMap = [
76 76
         'actions.cancel' => 76,
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         ]
86 86
     ];
87 87
 
88
-	public function scopeActivePhx(Eloquent\Builder $builder)
88
+    public function scopeActivePhx(Eloquent\Builder $builder)
89 89
     {
90 90
         return $builder->where('disabled', '!=', 1)
91 91
             ->whereRaw('plugincode LIKE "%phx.parser.class.inc.php%OnParseDocument();%"');
Please login to merge, or discard this patch.
core/src/Models/ManagerLog.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -20,24 +20,24 @@
 block discarded – undo
20 20
  */
21 21
 class ManagerLog extends Eloquent\Model
22 22
 {
23
-	protected $table = 'manager_log';
24
-	public $timestamps = false;
23
+    protected $table = 'manager_log';
24
+    public $timestamps = false;
25 25
 
26
-	protected $casts = [
27
-		'timestamp' => 'int',
28
-		'internalKey' => 'int',
29
-		'action' => 'int'
30
-	];
26
+    protected $casts = [
27
+        'timestamp' => 'int',
28
+        'internalKey' => 'int',
29
+        'action' => 'int'
30
+    ];
31 31
 
32
-	protected $fillable = [
33
-		'timestamp',
34
-		'internalKey',
35
-		'username',
36
-		'action',
37
-		'itemid',
38
-		'itemname',
39
-		'message',
40
-		'ip',
41
-		'useragent'
42
-	];
32
+    protected $fillable = [
33
+        'timestamp',
34
+        'internalKey',
35
+        'username',
36
+        'action',
37
+        'itemid',
38
+        'itemname',
39
+        'message',
40
+        'ip',
41
+        'useragent'
42
+    ];
43 43
 }
Please login to merge, or discard this patch.
core/src/Models/UserSetting.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -13,16 +13,16 @@
 block discarded – undo
13 13
  */
14 14
 class UserSetting extends Eloquent\Model
15 15
 {
16
-	public $incrementing = false;
17
-	public $timestamps = false;
16
+    public $incrementing = false;
17
+    public $timestamps = false;
18 18
 
19
-	protected $casts = [
20
-		'user' => 'int'
21
-	];
19
+    protected $casts = [
20
+        'user' => 'int'
21
+    ];
22 22
 
23
-	protected $fillable = [
24
-		'setting_value'
25
-	];
23
+    protected $fillable = [
24
+        'setting_value'
25
+    ];
26 26
 
27 27
     public function user()
28 28
     {
Please login to merge, or discard this patch.
core/src/Models/SiteTmplvarContentvalue.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -14,18 +14,18 @@
 block discarded – undo
14 14
  */
15 15
 class SiteTmplvarContentvalue extends Eloquent\Model
16 16
 {
17
-	public $timestamps = false;
17
+    public $timestamps = false;
18 18
 
19
-	protected $casts = [
20
-		'tmplvarid' => 'int',
21
-		'contentid' => 'int'
22
-	];
19
+    protected $casts = [
20
+        'tmplvarid' => 'int',
21
+        'contentid' => 'int'
22
+    ];
23 23
 
24
-	protected $fillable = [
25
-		'tmplvarid',
26
-		'contentid',
27
-		'value'
28
-	];
24
+    protected $fillable = [
25
+        'tmplvarid',
26
+        'contentid',
27
+        'value'
28
+    ];
29 29
 
30 30
     public function resource()
31 31
     {
Please login to merge, or discard this patch.
core/src/Models/SiteModule.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -44,40 +44,40 @@
 block discarded – undo
44 44
     use Traits\Models\ManagerActions,
45 45
         Traits\Models\TimeMutator;
46 46
 
47
-	const CREATED_AT = 'createdon';
48
-	const UPDATED_AT = 'editedon';
47
+    const CREATED_AT = 'createdon';
48
+    const UPDATED_AT = 'editedon';
49 49
     protected $dateFormat = 'U';
50 50
 
51
-	protected $casts = [
52
-		'editor_type' => 'int',
53
-		'disabled' => 'int',
54
-		'category' => 'int',
55
-		'wrap' => 'int',
56
-		'locked' => 'int',
57
-		'enable_resource' => 'int',
58
-		'createdon' => 'int',
59
-		'editedon' => 'int',
60
-		'enable_sharedparams' => 'int'
61
-	];
51
+    protected $casts = [
52
+        'editor_type' => 'int',
53
+        'disabled' => 'int',
54
+        'category' => 'int',
55
+        'wrap' => 'int',
56
+        'locked' => 'int',
57
+        'enable_resource' => 'int',
58
+        'createdon' => 'int',
59
+        'editedon' => 'int',
60
+        'enable_sharedparams' => 'int'
61
+    ];
62 62
 
63
-	protected $fillable = [
64
-		'name',
65
-		'description',
66
-		'editor_type',
67
-		'disabled',
68
-		'category',
69
-		'wrap',
70
-		'locked',
71
-		'icon',
72
-		'enable_resource',
73
-		'resourcefile',
74
-		'guid',
75
-		'enable_sharedparams',
76
-		'properties',
77
-		'modulecode'
78
-	];
63
+    protected $fillable = [
64
+        'name',
65
+        'description',
66
+        'editor_type',
67
+        'disabled',
68
+        'category',
69
+        'wrap',
70
+        'locked',
71
+        'icon',
72
+        'enable_resource',
73
+        'resourcefile',
74
+        'guid',
75
+        'enable_sharedparams',
76
+        'properties',
77
+        'modulecode'
78
+    ];
79 79
 
80
-	protected $managerActionsMap = [
80
+    protected $managerActionsMap = [
81 81
         'actions.cancel' => 76,
82 82
         'actions.new' => 107,
83 83
         'id' => [
Please login to merge, or discard this patch.
core/src/Models/WebgroupAccess.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -13,16 +13,16 @@
 block discarded – undo
13 13
  */
14 14
 class WebgroupAccess extends Eloquent\Model
15 15
 {
16
-	protected $table = 'webgroup_access';
17
-	public $timestamps = false;
16
+    protected $table = 'webgroup_access';
17
+    public $timestamps = false;
18 18
 
19
-	protected $casts = [
20
-		'webgroup' => 'int',
21
-		'documentgroup' => 'int'
22
-	];
19
+    protected $casts = [
20
+        'webgroup' => 'int',
21
+        'documentgroup' => 'int'
22
+    ];
23 23
 
24
-	protected $fillable = [
25
-		'webgroup',
26
-		'documentgroup'
27
-	];
24
+    protected $fillable = [
25
+        'webgroup',
26
+        'documentgroup'
27
+    ];
28 28
 }
Please login to merge, or discard this patch.
core/src/Models/SitePluginEvent.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -16,16 +16,16 @@
 block discarded – undo
16 16
 {
17 17
     use Traits\Models\ManagerActions;
18 18
 
19
-	public $incrementing = false;
20
-	public $timestamps = false;
19
+    public $incrementing = false;
20
+    public $timestamps = false;
21 21
 
22
-	protected $casts = [
23
-		'pluginid' => 'int',
24
-		'evtid' => 'int',
25
-		'priority' => 'int'
26
-	];
22
+    protected $casts = [
23
+        'pluginid' => 'int',
24
+        'evtid' => 'int',
25
+        'priority' => 'int'
26
+    ];
27 27
 
28
-	protected $fillable = [
29
-		'priority'
30
-	];
28
+    protected $fillable = [
29
+        'priority'
30
+    ];
31 31
 }
Please login to merge, or discard this patch.