Completed
Push — master ( 02af7a...be6bf8 )
by Rai
11:37
created
src/Lumen/Authentication/JWT/Libs/JWT.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -28,12 +28,12 @@
 block discarded – undo
28 28
         $this->builder = new Builder();
29 29
 
30 30
         $this->builder
31
-             ->setIssuer(gethostname())
32
-             ->setId(time(), true);
33
-             // ->setIssuedAt(time())
34
-             // ->setNotBefore(time() + 60)
35
-             // ->setExpiration(time() + 3600)
36
-             // ->set('teste', 1);
31
+                ->setIssuer(gethostname())
32
+                ->setId(time(), true);
33
+                // ->setIssuedAt(time())
34
+                // ->setNotBefore(time() + 60)
35
+                // ->setExpiration(time() + 3600)
36
+                // ->set('teste', 1);
37 37
     }
38 38
 
39 39
     /**
Please login to merge, or discard this patch.
src/Lumen/Authentication/JWT/Providers/JWTServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         $this->app->bind('Bludata\Lumen\Authentication\JWT\Interfaces\JWTInterface', 'Bludata\Lumen\Authentication\JWT\Libs\JWT');
14 14
 
15 15
         $this->app['auth']->viaRequest(
16
-            'api', function ($request) {
16
+            'api', function($request) {
17 17
                 if ($token = $request->header('authorization')) {
18 18
                     $auth = app('Bludata\Lumen\Authentication\JWT\Interfaces\AuthRepositoryInterface');
19 19
 
Please login to merge, or discard this patch.
src/Lumen/Providers/CustomConnectionSqlanywhereServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function boot()
14 14
     {
15
-        app('LaravelDoctrine\ORM\Configuration\Connections\ConnectionManager')->extend('sqlanywhere', function () {
15
+        app('LaravelDoctrine\ORM\Configuration\Connections\ConnectionManager')->extend('sqlanywhere', function() {
16 16
             return config('database.connections.sqlanywhere');
17 17
         });
18 18
     }
Please login to merge, or discard this patch.
src/Lumen/Tests/Repositories/BaseRepositoryTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@  discard block
 block discarded – undo
15 15
         $entity = $this->getMockObject($except);
16 16
 
17 17
         $this->getRepository()
18
-             ->save($entity)
19
-             ->flush($entity);
18
+                ->save($entity)
19
+                ->flush($entity);
20 20
 
21 21
         return $entity;
22 22
     }
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $entity = $this->getFlushedMockObject();
88 88
 
89 89
         $repository->remove($entity)
90
-                   ->flush($entity);
90
+                    ->flush($entity);
91 91
 
92 92
         $repository->find($entity->getId());
93 93
     }
Please login to merge, or discard this patch.
src/Doctrine/ORM/Entities/BaseEntity.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
     public function prePersist()
83 83
     {
84 84
         $this->getRepository()
85
-             ->preSave($this)
86
-             ->validate($this);
85
+                ->preSave($this)
86
+                ->validate($this);
87 87
     }
88 88
 
89 89
     /**
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
     public function preUpdate()
93 93
     {
94 94
         $this->getRepository()
95
-             ->preSave($this)
96
-             ->validate($this);
95
+                ->preSave($this)
96
+                ->validate($this);
97 97
     }
98 98
 
99 99
     public function getRepository()
Please login to merge, or discard this patch.
src/Common/Traits/AttributesTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         return array_combine(
19 19
             $attributes,
20 20
             array_map(
21
-                function ($attr) {
21
+                function($attr) {
22 22
                     $getMethod = $this->getMethod($attr);
23 23
                     if (method_exists($this, $getMethod)) {
24 24
                         return $this->$getMethod();
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
     public function toArray()
107 107
     {
108
-        return array_map(function ($attr) {
108
+        return array_map(function($attr) {
109 109
             if (method_exists($attr, 'toArray')) {
110 110
                 return $attr->toArray();
111 111
             }
Please login to merge, or discard this patch.
src/Doctrine/Common/Traits/SetPropertiesEntityTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 /**
55 55
                  * Busca a anotação Doctrine\ORM\Mapping\Column.
56 56
                  */
57
-                $column = array_filter($propertyAnnotations, function ($annotation) {
57
+                $column = array_filter($propertyAnnotations, function($annotation) {
58 58
                     return $annotation instanceof Column;
59 59
                 });
60 60
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                 /**
66 66
                  * Busca a anotação Bludata\Doctrine\Common\Annotations\ToObject.
67 67
                  */
68
-                $toObject = array_filter($propertyAnnotations, function ($annotation) {
68
+                $toObject = array_filter($propertyAnnotations, function($annotation) {
69 69
                     return $annotation instanceof ToObject;
70 70
                 });
71 71
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                         /**
85 85
                          * Busca pelas anotações Doctrine\ORM\Mapping\ManyToOne || Doctrine\ORM\Mapping\OneToMany || Doctrine\ORM\Mapping\ManyToMany.
86 86
                          */
87
-                        $ormMapping = array_filter($propertyAnnotations, function ($annotation) {
87
+                        $ormMapping = array_filter($propertyAnnotations, function($annotation) {
88 88
                             return $annotation instanceof ManyToOne
89 89
                                    ||
90 90
                                    $annotation instanceof OneToMany
Please login to merge, or discard this patch.
src/Lumen/Traits/Services/ReadTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 trait ReadTrait
6 6
 {
7
-	public function findAll(array $filters = null)
7
+    public function findAll(array $filters = null)
8 8
     {
9 9
         return $this->mainRepository->findAll()->withFilters($filters);
10 10
     }
Please login to merge, or discard this patch.
src/Lumen/Traits/Services/DeleteTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 trait DeleteTrait
6 6
 {
7
-	public function remove($id)
7
+    public function remove($id)
8 8
     {
9 9
         return $this->mainRepository
10 10
                     ->find($id)
Please login to merge, or discard this patch.