Passed
Pull Request — main (#36)
by
unknown
05:33
created
database/migrations/2023_05_11_053828_create_payments_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create(config('website.table_prefix', 'website').'_'.'payments', function (Blueprint $table) {
14
+        Schema::create(config('website.table_prefix', 'website').'_'.'payments', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->foreignId('user_id')->nullable()->constrained()->nullOnDelete();
17 17
             $table->integer('type')->default(1);
Please login to merge, or discard this patch.
database/migrations/2023_05_11_074536_create_posts_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create(config('website.table_prefix', 'website').'_'.'posts', function (Blueprint $table) {
14
+        Schema::create(config('website.table_prefix', 'website').'_'.'posts', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->string('name');
17 17
             $table->string('slug');
Please login to merge, or discard this patch.
database/migrations/2023_05_10_110230_create_packages_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create(config('website.table_prefix', 'website').'_'.'packages', function (Blueprint $table) {
14
+        Schema::create(config('website.table_prefix', 'website').'_'.'packages', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->string('slug');
17 17
             $table->string('name');
Please login to merge, or discard this patch.
database/migrations/2023_05_08_094045_create_categories_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create(config('website.table_prefix', 'website').'_'.'categories', function (Blueprint $table) {
14
+        Schema::create(config('website.table_prefix', 'website').'_'.'categories', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->string('slug');
17 17
             $table->string('name');
Please login to merge, or discard this patch.
database/migrations/2023_05_11_074538_create_messages_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(config('website.table_prefix', 'website').'_'.'messages', function (Blueprint $table) {
16
+        Schema::create(config('website.table_prefix', 'website').'_'.'messages', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('name');
19 19
             $table->string('email')->nullable();
Please login to merge, or discard this patch.
database/migrations/2023_05_10_084048_create_testimonials_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create(config('website.table_prefix', 'website').'_'.'testimonials', function (Blueprint $table) {
14
+        Schema::create(config('website.table_prefix', 'website').'_'.'testimonials', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->string('name');
17 17
             $table->string('email')->nullable();
Please login to merge, or discard this patch.
src/Http/Requests/PopupRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     protected function prepareForValidation(): void
20 20
     {
21 21
         $this->merge([
22
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
22
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
23 23
             'meta_name' => $this->popup->meta_name ?? $this->meta_name ?? $this->name ?? null,
24 24
             'meta_description' => $this->popup->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
25 25
         ]);
Please login to merge, or discard this patch.
database/migrations/2023_05_11_093046_create_applications_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(config('website.table_prefix', 'website').'_'.'applications', function (Blueprint $table) {
16
+        Schema::create(config('website.table_prefix', 'website').'_'.'applications', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->unsignedBigInteger('career_id')->nullable();
19 19
             $table->foreign('career_id')->references('id')->on(config('website.table_prefix', 'website').'_'.'careers')->onDelete('cascade');
Please login to merge, or discard this patch.