Passed
Pull Request — main (#34)
by PRATIK
04:46
created
src/Http/Requests/PostRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     protected function prepareForValidation(): void
23 23
     {
24 24
         $this->merge([
25
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
25
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
26 26
             'meta_name' => $this->post->meta_name ?? $this->meta_name ?? $this->name ?? null,
27 27
             'meta_description' => $this->post->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
28 28
             'user_id' => Auth::user()->id,
Please login to merge, or discard this patch.
src/Http/Requests/PackageRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function prepareForValidation(): void
22 22
     {
23 23
         $this->merge([
24
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
24
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
25 25
             'meta_name' => $this->service->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->service->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.
src/Http/Requests/ProcessRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function prepareForValidation(): void
22 22
     {
23 23
         $this->merge([
24
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
24
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
25 25
             'meta_name' => $this->process->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->process->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.
src/Http/Requests/ProjectRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function prepareForValidation(): void
22 22
     {
23 23
         $this->merge([
24
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
24
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
25 25
             'meta_name' => $this->project->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->project->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.
src/Http/Requests/NoticeRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function prepareForValidation(): void
22 22
     {
23 23
         $this->merge([
24
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
24
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
25 25
             'meta_name' => $this->notice->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->notice->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.
src/Http/Requests/FeatureRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function prepareForValidation(): void
22 22
     {
23 23
         $this->merge([
24
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
24
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
25 25
             'meta_name' => $this->feature->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->feature->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.
src/Http/Requests/PageRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function prepareForValidation(): void
22 22
     {
23 23
         $this->merge([
24
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
24
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
25 25
             'meta_name' => $this->page->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->page->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.
src/Http/Requests/FacilityRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function prepareForValidation(): void
22 22
     {
23 23
         $this->merge([
24
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
24
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
25 25
             'meta_name' => $this->facility->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->facility->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.
src/Http/Requests/SoftwareRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function prepareForValidation(): void
22 22
     {
23 23
         $this->merge([
24
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
24
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
25 25
             'meta_name' => $this->software->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->software->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.