Passed
Branch master (3058e5)
by refat
06:27 queued 01:27
created
App/Controllers/Admin/LoginController.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,16 +6,16 @@
 block discarded – undo
6 6
 
7 7
 class LoginController extends Controller
8 8
 {
9
-  public function index()
10
-  {
11
-    $context = [
9
+	public function index()
10
+	{
11
+		$context = [
12 12
 
13
-    ];
14
-    return $this->PugView->render('admin/pages/login', $context);
15
-  }
13
+		];
14
+		return $this->PugView->render('admin/pages/login', $context);
15
+	}
16 16
 
17
-  public function submit()
18
-  {
17
+	public function submit()
18
+	{
19 19
 
20
-  }
20
+	}
21 21
 }
22 22
\ No newline at end of file
Please login to merge, or discard this patch.
App/Controllers/Admin/LogoutController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 
7 7
 class LogoutController extends Controller
8 8
 {
9
-  public function index()
10
-  {
9
+	public function index()
10
+	{
11 11
 
12
-  }
12
+	}
13 13
 }
14 14
\ No newline at end of file
Please login to merge, or discard this patch.
App/Controllers/NotfoundController.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
6 6
 
7 7
 class NotfoundController extends Controller
8 8
 {
9
-  public function index()
10
-  {
11
-    $context = [
9
+	public function index()
10
+	{
11
+		$context = [
12 12
 
13
-    ];
14
-    return $this->PugView->render('notfound', $context);
15
-  }
13
+		];
14
+		return $this->PugView->render('notfound', $context);
15
+	}
16 16
 }
17 17
\ No newline at end of file
Please login to merge, or discard this patch.
App/Middleware/MiddlewaresInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 
7 7
 interface MiddlewaresInterface
8 8
 {
9
-  public function handle(Application $app, $nex);
9
+	public function handle(Application $app, $nex);
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.
App/Middleware/Admin/PermissionsMiddleware.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 
8 8
 class PermissionsMiddleware implements Middleware
9 9
 {
10
-  public function handle(Application $app, $next)
11
-  {
10
+	public function handle(Application $app, $next)
11
+	{
12 12
 
13
-  }
13
+	}
14 14
 }
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
App/Middleware/Admin/AjaxMiddleware.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 
8 8
 class AjaxMiddleware implements Middleware
9 9
 {
10
-  public function handle(Application $app, $next)
11
-  {
12
-    // if(empty($_SERVER['HTTP_X_REQUESTED_WITH'])) $this->url->redirectTo('error');
13
-  }
10
+	public function handle(Application $app, $next)
11
+	{
12
+		// if(empty($_SERVER['HTTP_X_REQUESTED_WITH'])) $this->url->redirectTo('error');
13
+	}
14 14
 }
15 15
\ No newline at end of file
Please login to merge, or discard this patch.
App/Models/UserModel.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,15 +6,15 @@
 block discarded – undo
6 6
 
7 7
 class UserModel extends Model
8 8
 {
9
-  protected $table = 'users';
9
+	protected $table = 'users';
10 10
 
11
-  public function permissions($id)
12
-  {
13
-    return $this->hasMany('UsersGroupPermissions', $id, 'id', 'users_group_id');
14
-  }
11
+	public function permissions($id)
12
+	{
13
+		return $this->hasMany('UsersGroupPermissions', $id, 'id', 'users_group_id');
14
+	}
15 15
 
16
-  public function comments($id)
17
-  {
18
-    return $this->hasMany('Comment', $id);
19
-  }
16
+	public function comments($id)
17
+	{
18
+		return $this->hasMany('Comment', $id);
19
+	}
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
App/Models/UsersGroupPermissionsModel.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 
7 7
 class UsersGroupPermissionsModel extends Model
8 8
 {
9
-  protected $table = 'users_group_permissions';
9
+	protected $table = 'users_group_permissions';
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.
config.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,18 +1,18 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-  'db' => [
5
-    'server'  => 'localhost',
6
-    'dbname'  => 'blog',
7
-    'dbuser'  => 'root',
8
-    'dbpass'  => ''
9
-  ],
10
-  'website' => [
11
-    'websiteLang'         => 'de',
12
-    'websiteCharset'      => 'UTF-8',
13
-    'websiteDecsription'  => 'Nice Framework',
14
-    'websiteKeywords'     => 'framework',
15
-    'websiteAuth'         => 'Refat Alsakka',
16
-    'websiteName'         => 'framework',
17
-  ],
4
+	'db' => [
5
+		'server'  => 'localhost',
6
+		'dbname'  => 'blog',
7
+		'dbuser'  => 'root',
8
+		'dbpass'  => ''
9
+	],
10
+	'website' => [
11
+		'websiteLang'         => 'de',
12
+		'websiteCharset'      => 'UTF-8',
13
+		'websiteDecsription'  => 'Nice Framework',
14
+		'websiteKeywords'     => 'framework',
15
+		'websiteAuth'         => 'Refat Alsakka',
16
+		'websiteName'         => 'framework',
17
+	],
18 18
 ];
19 19
\ No newline at end of file
Please login to merge, or discard this patch.