Passed
Push — main ( 8a25dd...3c103b )
by TARIQ
12:48
created
api/config/session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
 
129 129
     'cookie' => env(
130 130
         'SESSION_COOKIE',
131
-        Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
131
+        Str::slug(env('APP_NAME', 'laravel'), '_') . '_session'
132 132
     ),
133 133
 
134 134
     /*
Please login to merge, or discard this patch.
api/public/index.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 |
17 17
 */
18 18
 
19
-if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
19
+if (file_exists($maintenance = __DIR__ . '/../storage/framework/maintenance.php')) {
20 20
     require $maintenance;
21 21
 }
22 22
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 |
32 32
 */
33 33
 
34
-require __DIR__.'/../vendor/autoload.php';
34
+require __DIR__ . '/../vendor/autoload.php';
35 35
 
36 36
 /*
37 37
 |--------------------------------------------------------------------------
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 |
45 45
 */
46 46
 
47
-$app = require_once __DIR__.'/../bootstrap/app.php';
47
+$app = require_once __DIR__ . '/../bootstrap/app.php';
48 48
 
49 49
 $kernel = $app->make(Kernel::class);
50 50
 
Please login to merge, or discard this patch.
api/database/factories/UserFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function unverified()
35 35
     {
36
-        return $this->state(function (array $attributes) {
36
+        return $this->state(function(array $attributes) {
37 37
             return [
38 38
                 'email_verified_at' => null,
39 39
             ];
Please login to merge, or discard this patch.
api/database/migrations/2014_10_12_100000_create_password_resets_table.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
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('password_resets', function (Blueprint $table) {
16
+        Schema::create('password_resets', function(Blueprint $table) {
17 17
             $table->string('email')->index();
18 18
             $table->string('token');
19 19
             $table->timestamp('created_at')->nullable();
Please login to merge, or discard this patch.
api/database/migrations/2014_10_12_000000_create_users_table.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
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('users', function (Blueprint $table) {
16
+        Schema::create('users', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->string('email')->unique();
Please login to merge, or discard this patch.
api/database/migrations/2019_08_19_000000_create_failed_jobs_table.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
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('failed_jobs', function (Blueprint $table) {
16
+        Schema::create('failed_jobs', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('uuid')->unique();
19 19
             $table->text('connection');
Please login to merge, or discard this patch.
migrations/2019_12_14_000001_create_personal_access_tokens_table.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
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('personal_access_tokens', function (Blueprint $table) {
16
+        Schema::create('personal_access_tokens', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->morphs('tokenable');
19 19
             $table->string('name');
Please login to merge, or discard this patch.
api/app/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $this->configureRateLimiting();
30 30
 
31
-        $this->routes(function () {
31
+        $this->routes(function() {
32 32
             Route::middleware('api')
33 33
                 ->prefix('api')
34 34
                 ->group(base_path('routes/api.php'));
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected function configureRateLimiting()
47 47
     {
48
-        RateLimiter::for('api', function (Request $request) {
48
+        RateLimiter::for ('api', function(Request $request) {
49 49
             return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());
50 50
         });
51 51
     }
Please login to merge, or discard this patch.
api/app/Console/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     protected function commands()
27 27
     {
28
-        $this->load(__DIR__.'/Commands');
28
+        $this->load(__DIR__ . '/Commands');
29 29
 
30 30
         require base_path('routes/console.php');
31 31
     }
Please login to merge, or discard this patch.