Test Setup Failed
Push — master ( 860cfc...2bcec1 )
by Raí
06:52 queued 58s
created
database/migrations/2014_10_12_000000_create_users_table.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      *
12 12
      * @return void
13 13
      */
14
-    public function up()
14
+    public function up ()
15 15
     {
16 16
         Schema::create('users', function (Blueprint $table) {
17 17
             $table->increments('id');
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @return void
30 30
      */
31
-    public function down()
31
+    public function down ()
32 32
     {
33 33
         Schema::dropIfExists('users');
34 34
     }
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
 use Illuminate\Database\Schema\Blueprint;
5 5
 use Illuminate\Support\Facades\Schema;
6 6
 
7
-class CreateUsersTable extends Migration
8
-{
7
+class CreateUsersTable extends Migration {
9 8
     /**
10 9
      * Run the migrations.
11 10
      *
Please login to merge, or discard this patch.
database/seeds/DatabaseSeeder.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      *
10 10
      * @return void
11 11
      */
12
-    public function run()
12
+    public function run ()
13 13
     {
14 14
         // $this->call(UsersTableSeeder::class);
15 15
     }
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
 use Illuminate\Database\Seeder;
4 4
 
5
-class DatabaseSeeder extends Seeder
6
-{
5
+class DatabaseSeeder extends Seeder {
7 6
     /**
8 7
      * Run the database seeds.
9 8
      *
Please login to merge, or discard this patch.
config/cache.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         'database' => [
42 42
             'driver'     => 'database',
43 43
             'table'      => 'cache',
44
-            'connection' => null,
44
+            'connection' => NULL,
45 45
         ],
46 46
 
47 47
         'file' => [
Please login to merge, or discard this patch.
config/app.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     |
40 40
     */
41 41
 
42
-    'debug' => env('APP_DEBUG', false),
42
+    'debug' => env('APP_DEBUG', FALSE),
43 43
 
44 44
     /*
45 45
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
config/database.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
             'charset'     => 'utf8mb4',
51 51
             'collation'   => 'utf8mb4_unicode_ci',
52 52
             'prefix'      => '',
53
-            'strict'      => true,
54
-            'engine'      => null,
53
+            'strict'      => TRUE,
54
+            'engine'      => NULL,
55 55
         ],
56 56
 
57 57
         'pgsql' => [
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
         'default' => [
112 112
             'host'     => env('REDIS_HOST', '127.0.0.1'),
113
-            'password' => env('REDIS_PASSWORD', null),
113
+            'password' => env('REDIS_PASSWORD', NULL),
114 114
             'port'     => env('REDIS_PORT', 6379),
115 115
             'database' => 0,
116 116
         ],
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/ForgotPasswordController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *
33 33
      * @return void
34 34
      */
35
-    public function __construct()
35
+    public function __construct ()
36 36
     {
37 37
         $this->middleware('guest');
38 38
     }
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\Foundation\Auth\SendsPasswordResetEmails;
6 6
 use LaravelSeed\Http\Controllers\Controller;
7 7
 
8
-class ForgotPasswordController extends Controller
9
-{
8
+class ForgotPasswordController extends Controller {
10 9
     /*
11 10
     |--------------------------------------------------------------------------
12 11
     | Password Reset Controller
Please login to merge, or discard this patch.
Bludata/Doctrine/ORM/Helpers/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * @return an instance of the EntityManager
5 5
  */
6 6
 if (!function_exists('em')) {
7
-    function em()
7
+    function em ()
8 8
     {
9 9
         return app('Doctrine\ORM\EntityManagerInterface');
10 10
     }
Please login to merge, or discard this patch.
Bludata/Helpers/SoapClient.php 2 patches
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      * @param string $host    Parametro obrigatório, endereço do WSDL
39 39
      * @param array  $options Parametro opcional, referente aos options que serão utilizados
40 40
      */
41
-    public function __construct($host, array $options = [])
41
+    public function __construct ($host, array $options = [ ])
42 42
     {
43 43
         $this->setHost($host)
44 44
             ->setOptions($options);
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @return self
51 51
      */
52
-    public function connect()
52
+    public function connect ()
53 53
     {
54 54
         if (!$host = $this->getHost()) {
55 55
             throw new InvalidArgumentException('Host não informado');
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      *
68 68
      * @return SoapClient::__soapCall
69 69
      */
70
-    public function call()
70
+    public function call ()
71 71
     {
72 72
         $host = $this->getHost();
73 73
         if (!$host || empty($host)) {
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      *
96 96
      * @return string
97 97
      */
98
-    public function getHost()
98
+    public function getHost ()
99 99
     {
100 100
         return $this->host;
101 101
     }
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      *
108 108
      * @return self
109 109
      */
110
-    public function setHost($host)
110
+    public function setHost ($host)
111 111
     {
112 112
         $this->host = $host;
113 113
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      *
120 120
      * @return array
121 121
      */
122
-    public function getOptions()
122
+    public function getOptions ()
123 123
     {
124 124
         return $this->options;
125 125
     }
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      *
132 132
      * @return self
133 133
      */
134
-    public function setOptions(array $options)
134
+    public function setOptions (array $options)
135 135
     {
136 136
         $this->options = $options;
137 137
 
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      *
144 144
      * @return mixed
145 145
      */
146
-    public function getRequest()
146
+    public function getRequest ()
147 147
     {
148 148
         return $this->request;
149 149
     }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      *
156 156
      * @return self
157 157
      */
158
-    public function setRequest($request)
158
+    public function setRequest ($request)
159 159
     {
160 160
         $this->request = $request;
161 161
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      *
168 168
      * @return mixed
169 169
      */
170
-    public function getService()
170
+    public function getService ()
171 171
     {
172 172
         return $this->service;
173 173
     }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      *
180 180
      * @return self
181 181
      */
182
-    public function setService($service)
182
+    public function setService ($service)
183 183
     {
184 184
         $this->service = $service;
185 185
 
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      *
192 192
      * @return SoapClient
193 193
      */
194
-    public function getClient()
194
+    public function getClient ()
195 195
     {
196 196
         return $this->client;
197 197
     }
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      *
204 204
      * @return self
205 205
      */
206
-    public function setClient(NativeSoapClient $client)
206
+    public function setClient (NativeSoapClient $client)
207 207
     {
208 208
         $this->client = $client;
209 209
 
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 InvalidArgumentException;
6 6
 use SoapClient as NativeSoapClient;
7 7
 
8
-class SoapClient
9
-{
8
+class SoapClient {
10 9
     /**
11 10
      * @var string
12 11
      */
Please login to merge, or discard this patch.
Bludata/Helpers/functions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     /**
10 10
      * @param string $key
11 11
      */
12
-    function env($key, $defaultValue = '')
12
+    function env ($key, $defaultValue = '')
13 13
     {
14 14
         $env = getenv($key);
15 15
         if (!$env) {
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * @param string $input
26 26
      */
27
-    function onlyNumbers(string $input)
27
+    function onlyNumbers (string $input)
28 28
     {
29 29
         return preg_replace('/\D/i', '', $input);
30 30
     }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @param string $from = 'Y-m-d'
37 37
      * @param string $to   = 'obj'
38 38
      */
39
-    function parseDate($date, string $from = 'Y-m-d', string $to = 'obj')
39
+    function parseDate ($date, string $from = 'Y-m-d', string $to = 'obj')
40 40
     {
41 41
         if ($date instanceof DateTime && $to === 'obj') {
42 42
             return $date;
Please login to merge, or discard this patch.