Test Setup Failed
Push — master ( faae41...290539 )
by Raí
08:25 queued 01:34
created
server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 $uri = urldecode(
11
-    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
11
+    parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)
12 12
 );
13 13
 
14 14
 // This file allows us to emulate Apache's "mod_rewrite" functionality from the
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @return void
23 23
      */
24
-    public function boot()
24
+    public function boot ()
25 25
     {
26 26
         //
27 27
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * @return void
35 35
      */
36
-    public function map()
36
+    public function map ()
37 37
     {
38 38
         $this->mapApiRoutes();
39 39
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @return void
51 51
      */
52
-    protected function mapWebRoutes()
52
+    protected function mapWebRoutes ()
53 53
     {
54 54
         Route::middleware('web')
55 55
              ->namespace($this->namespace)
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @return void
65 65
      */
66
-    protected function mapApiRoutes()
66
+    protected function mapApiRoutes ()
67 67
     {
68 68
         Route::prefix('api')
69 69
              ->middleware('api')
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Illuminate\Support\Facades\Route;
6 6
 use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
7 7
 
8
-class RouteServiceProvider extends ServiceProvider
9
-{
8
+class RouteServiceProvider extends ServiceProvider {
10 9
     /**
11 10
      * This namespace is applied to your controller routes.
12 11
      *
Please login to merge, or discard this patch.
Bludata/Doctrine/Common/Contracts/Repository.php 2 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,19 +4,19 @@
 block discarded – undo
4 4
 
5 5
 interface Repository
6 6
 {
7
-    public function findAll();
7
+    public function findAll ();
8 8
 
9
-    public function findBy(array $filters): array;
9
+    public function findBy (array $filters): array;
10 10
 
11
-    public function findOneBy(array $filters): Entity;
11
+    public function findOneBy (array $filters): Entity;
12 12
 
13
-    public function find($id): Entity;
13
+    public function find ($id): Entity;
14 14
 
15
-    public function findAllRemoved();
15
+    public function findAllRemoved ();
16 16
 
17
-    public function findRemoved(): Entity;
17
+    public function findRemoved (): Entity;
18 18
 
19
-    public function createEntity(): Entity;
19
+    public function createEntity (): Entity;
20 20
 
21
-    public function remove(): Entity;
21
+    public function remove (): Entity;
22 22
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Bludata\Doctrine\Common\Contracts;
4 4
 
5
-interface Repository
6
-{
5
+interface Repository {
7 6
     public function findAll();
8 7
 
9 8
     public function findBy(array $filters): array;
Please login to merge, or discard this patch.
Bludata/Doctrine/Common/Contracts/Entity.php 2 patches
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -6,47 +6,47 @@
 block discarded – undo
6 6
 
7 7
 interface Entity
8 8
 {
9
-    public function getId();
9
+    public function getId ();
10 10
 
11
-    public function getCreatedAt(): DateTime;
11
+    public function getCreatedAt (): DateTime;
12 12
 
13
-    public function getUpdatedAt(): DateTime;
13
+    public function getUpdatedAt (): DateTime;
14 14
 
15
-    public function getDeletedAt(): DateTime;
15
+    public function getDeletedAt (): DateTime;
16 16
 
17
-    public function getRepository(): Repository;
17
+    public function getRepository (): Repository;
18 18
 
19
-    public function preRemove();
19
+    public function preRemove ();
20 20
 
21
-    public function postRemove();
21
+    public function postRemove ();
22 22
 
23
-    public function prePersist();
23
+    public function prePersist ();
24 24
 
25
-    public function postPersist();
25
+    public function postPersist ();
26 26
 
27
-    public function preUpdate();
27
+    public function preUpdate ();
28 28
 
29
-    public function postUpdate();
29
+    public function postUpdate ();
30 30
 
31
-    public function preFlush();
31
+    public function preFlush ();
32 32
 
33
-    public function postFlush();
33
+    public function postFlush ();
34 34
 
35
-    public function persist(): Entity;
35
+    public function persist (): Entity;
36 36
 
37
-    public function flush(): Entity;
37
+    public function flush (): Entity;
38 38
 
39
-    public function remove(): Entity;
39
+    public function remove (): Entity;
40 40
 
41
-    public function undelete(): Entity;
41
+    public function undelete (): Entity;
42 42
 
43
-    public function fillable(): array;
43
+    public function fillable (): array;
44 44
 
45
-    public function onlyStore(): array;
45
+    public function onlyStore (): array;
46 46
 
47
-    public function onlyUpdate(): array;
47
+    public function onlyUpdate (): array;
48 48
 
49
-    public function toArray(array $options = []): array;
49
+    public function toArray (array $options = [ ]): array;
50 50
 
51
-    public function toObject(array $options): Entity;
51
+    public function toObject (array $options): Entity;
52 52
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use DateTime;
6 6
 
7
-interface Entity
8
-{
7
+interface Entity {
9 8
     public function getId();
10 9
 
11 10
     public function getCreatedAt(): DateTime;
Please login to merge, or discard this patch.
Bludata/Doctrine/ORM/Repositories/BaseRepository.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Bludata\Doctrine\Common\Contracts\Repository;
6 6
 
7
-abstract class BaseRepository implements Repository
8
-{
7
+abstract class BaseRepository implements Repository {
9 8
 
10 9
 }
11 10
 
Please login to merge, or discard this patch.
Bludata/Doctrine/ORM/Entities/BaseEntity.php 2 patches
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -37,114 +37,114 @@
 block discarded – undo
37 37
      */
38 38
     protected $deletedAt;
39 39
 
40
-    public function getId()
40
+    public function getId ()
41 41
     {
42 42
         return $this->id;
43 43
     }
44 44
 
45
-    public function getCreatedAt(): DateTime
45
+    public function getCreatedAt (): DateTime
46 46
     {
47 47
         return $this->createdAt;
48 48
     }
49 49
 
50
-    public function getUpdatedAt(): DateTime
50
+    public function getUpdatedAt (): DateTime
51 51
     {
52 52
         return $this->createdAt;
53 53
     }
54 54
 
55
-    public function getDeletedAt(): DateTime
55
+    public function getDeletedAt (): DateTime
56 56
     {
57 57
         return $this->deletedAt;
58 58
     }
59 59
 
60
-    public function getRepository(): Repository
60
+    public function getRepository (): Repository
61 61
     {
62 62
 
63 63
     }
64 64
 
65
-    public function preRemove()
65
+    public function preRemove ()
66 66
     {
67 67
 
68 68
     }
69 69
 
70
-    public function postRemove()
70
+    public function postRemove ()
71 71
     {
72 72
 
73 73
     }
74 74
 
75
-    public function prePersist()
75
+    public function prePersist ()
76 76
     {
77 77
 
78 78
     }
79 79
 
80
-    public function postPersist()
80
+    public function postPersist ()
81 81
     {
82 82
 
83 83
     }
84 84
 
85
-    public function preUpdate()
85
+    public function preUpdate ()
86 86
     {
87 87
 
88 88
     }
89 89
 
90
-    public function postUpdate()
90
+    public function postUpdate ()
91 91
     {
92 92
 
93 93
     }
94 94
 
95
-    public function preFlush()
95
+    public function preFlush ()
96 96
     {
97 97
 
98 98
     }
99 99
 
100
-    public function postFlush()
100
+    public function postFlush ()
101 101
     {
102 102
 
103 103
     }
104 104
 
105
-    public function persist(): Entity
105
+    public function persist (): Entity
106 106
     {
107 107
 
108 108
     }
109 109
 
110
-    public function flush(): Entity
110
+    public function flush (): Entity
111 111
     {
112 112
 
113 113
     }
114 114
 
115
-    public function remove(): Entity
115
+    public function remove (): Entity
116 116
     {
117 117
 
118 118
     }
119 119
 
120
-    public function undelete(): Entity
120
+    public function undelete (): Entity
121 121
     {
122 122
         $this->deletedAt = null;
123 123
 
124 124
         return $this;
125 125
     }
126 126
 
127
-    public function fillable(): array
127
+    public function fillable (): array
128 128
     {
129
-        return [];
129
+        return [ ];
130 130
     }
131 131
 
132
-    public function onlyStore(): array
132
+    public function onlyStore (): array
133 133
     {
134
-        return [];
134
+        return [ ];
135 135
     }
136 136
 
137
-    public function onlyUpdate(): array
137
+    public function onlyUpdate (): array
138 138
     {
139
-        return [];
139
+        return [ ];
140 140
     }
141 141
 
142
-    public function toArray(array $options = []): array
142
+    public function toArray (array $options = [ ]): array
143 143
     {
144 144
 
145 145
     }
146 146
 
147
-    public function toObject(array $options): Entity
147
+    public function toObject (array $options): Entity
148 148
     {
149 149
 
150 150
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@
 block discarded – undo
11 11
  * @ORM\HasLifecycleCallbacks
12 12
  * @Gedmo\SoftDeleteable(fieldName="deletedAt", timeAware=false)
13 13
  */
14
-abstract class BaseEntity implements Entity
15
-{
14
+abstract class BaseEntity implements Entity {
16 15
     /**
17 16
      * @ORM\Id
18 17
      * @ORM\Column(type="guid", name="id")
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      * @param  \Exception  $exception
31 31
      * @return void
32 32
      */
33
-    public function report(Exception $exception)
33
+    public function report (Exception $exception)
34 34
     {
35 35
         parent::report($exception);
36 36
     }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      * @param  \Exception  $exception
43 43
      * @return \Illuminate\Http\Response
44 44
      */
45
-    public function render($request, Exception $exception)
45
+    public function render ($request, Exception $exception)
46 46
     {
47 47
         return parent::render($request, $exception);
48 48
     }
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
      * @param  \Illuminate\Auth\AuthenticationException  $exception
55 55
      * @return \Illuminate\Http\Response
56 56
      */
57
-    protected function unauthenticated($request, AuthenticationException $exception)
57
+    protected function unauthenticated ($request, AuthenticationException $exception)
58 58
     {
59 59
         if ($request->expectsJson()) {
60
-            return response()->json(['error' => 'Unauthenticated.'], 401);
60
+            return response()->json([ 'error' => 'Unauthenticated.' ], 401);
61 61
         }
62 62
 
63 63
         return redirect()->guest(route('login'));
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@
 block discarded – undo
6 6
 use Illuminate\Auth\AuthenticationException;
7 7
 use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
8 8
 
9
-class Handler extends ExceptionHandler
10
-{
9
+class Handler extends ExceptionHandler {
11 10
     /**
12 11
      * A list of the exception types that should not be reported.
13 12
      *
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
23 23
      * @return void
24 24
      */
25
-    protected function schedule(Schedule $schedule)
25
+    protected function schedule (Schedule $schedule)
26 26
     {
27 27
         // $schedule->command('inspire')
28 28
         //          ->hourly();
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * @return void
35 35
      */
36
-    protected function commands()
36
+    protected function commands ()
37 37
     {
38 38
         require base_path('routes/console.php');
39 39
     }
Please login to merge, or discard this patch.
app/Http/Middleware/VerifyCsrfToken.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
6 6
 
7
-class VerifyCsrfToken extends BaseVerifier
8
-{
7
+class VerifyCsrfToken extends BaseVerifier {
9 8
     /**
10 9
      * The URIs that should be excluded from CSRF verification.
11 10
      *
Please login to merge, or discard this patch.