Completed
Pull Request — master (#36)
by Phecho
03:41
created
app/Handlers/Commands/Owner/RemoveOwnerCommandHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         event(new ProjectTeamWasRemovedEvent($team));
31 31
 
32 32
         // Remove the namespace id from all project.
33
-        $group->projects->map(function ($project) {
33
+        $group->projects->map(function($project) {
34 34
             $project->update(['namespace_id' => 0]);
35 35
         });
36 36
 
Please login to merge, or discard this patch.
app/Events/Project/ProjectEventInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,5 +15,5 @@
 block discarded – undo
15 15
 
16 16
 interface ProjectEventInterface extends EventInterface
17 17
 {
18
-	// 
18
+    // 
19 19
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Controller.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 block discarded – undo
22 22
 
23 23
     public function getProject($namespace, $path)
24 24
     {
25
-		$project = Project::leftJoin('namespaces', function ($join) {
25
+        $project = Project::leftJoin('namespaces', function ($join) {
26 26
             $join->on('projects.namespace_id', '=', 'namespaces.id');
27 27
         })->where('projects.path', '=', $path)->where('namespaces.path', '=', $namespace)->first(['projects.*']);
28 28
 
29
-		return $project;
29
+        return $project;
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     public function getProject($namespace, $path)
24 24
     {
25
-		$project = Project::leftJoin('namespaces', function ($join) {
25
+		$project = Project::leftJoin('namespaces', function($join) {
26 26
             $join->on('projects.namespace_id', '=', 'namespaces.id');
27 27
         })->where('projects.path', '=', $path)->where('namespaces.path', '=', $namespace)->first(['projects.*']);
28 28
 
Please login to merge, or discard this patch.
app/Http/Controllers/ProfilesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 
30 30
 use AltThree\Validator\ValidatingTrait;
31 31
 use Illuminate\Database\Eloquent\Model;
32
-use Illuminate\Support\Facades\Auth;
33 32
 
34 33
 class Owner extends Model
35 34
 {
Please login to merge, or discard this patch.
app/Http/Routes/DefaultRoutes.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $router->group([
31 31
             'middleware' => ['app.hasSetting'],
32 32
             'setting'    => 'app_name',
33
-        ], function ($router) {
33
+        ], function($router) {
34 34
             $router->get('/', [
35 35
                 'as'   => 'index',
36 36
                 'uses' => 'ExploreController@index',
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         });
40 40
 
41 41
         //Install Area
42
-        $router->group(['middleware' => ['app.isInstalled', 'localize']], function ($router) {
42
+        $router->group(['middleware' => ['app.isInstalled', 'localize']], function($router) {
43 43
             $router->controller('install', 'InstallController');
44 44
         });
45 45
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             'setting'    => 'app_name',
50 50
             'prefix'     => 'explore',
51 51
             'as'         => 'explore.',
52
-        ], function ($router) {
52
+        ], function($router) {
53 53
             $router->get('/', [
54 54
                 'as'   => 'index',
55 55
                 'uses' => 'ExploreController@indexAction',
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         $router->group([
72 72
             'middleware' => 'app.hasSetting',
73 73
             'setting'    => 'app_name',
74
-        ], function ($router) {
74
+        ], function($router) {
75 75
             $router->get('/atom/{namespace?}', [
76 76
                 'as'   => 'feed.atom',
77 77
                 'uses' => 'FeedController@atomAction',
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             'middleware' => ['app.hasSetting'],
88 88
             'setting'    => 'app_name',
89 89
             'as'         => 'profile.',
90
-        ], function ($router) {
90
+        ], function($router) {
91 91
             $router->get('profile', [
92 92
                 'as'   => 'index',
93 93
                 'uses' => 'ProfilesController@indexAction',
Please login to merge, or discard this patch.