Passed
Push — main ( 93d181...6c645c )
by PRATIK
15:49
created
src/Http/Requests/ClientRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@
 block discarded – undo
35 35
         $id = $this->client->id ?? '';
36 36
 
37 37
         return [
38
-            'name' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_clients,name,' . $id,
39
-            'slug' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_clients,slug,' . $id,
38
+            'name' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_clients,name,'.$id,
39
+            'slug' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_clients,slug,'.$id,
40 40
             'description' => 'nullable|max:5500',
41 41
             'group' => 'nullable|numeric',
42 42
             'position' => 'nullable|numeric',
Please login to merge, or discard this patch.
src/Http/Requests/ProcessRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
         $id = $this->process->id ?? '';
38 38
 
39 39
         return [
40
-            'slug' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,slug,' . $id,
41
-            'name' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,name,' . $id,
40
+            'slug' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,slug,'.$id,
41
+            'name' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,name,'.$id,
42 42
             'excerpt' => 'nullable|max:5500',
43 43
             'description' => 'nullable|max:55000',
44 44
             'category_id' => 'nullable|exists:categories,id',
Please login to merge, or discard this patch.
src/Http/Requests/ServiceRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
         $id = $this->service->id ?? '';
38 38
 
39 39
         return [
40
-            'slug' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,slug,' . $id,
41
-            'name' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,name,' . $id,
40
+            'slug' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,slug,'.$id,
41
+            'name' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,name,'.$id,
42 42
             'excerpt' => 'nullable|max:5500',
43 43
             'description' => 'nullable|max:55000',
44 44
             'category_id' => 'nullable|exists:categories,id',
Please login to merge, or discard this patch.
src/Http/Requests/FeatureRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
         $id = $this->feature->id ?? '';
38 38
 
39 39
         return [
40
-            'slug' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,slug,' . $id,
41
-            'name' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,name,' . $id,
40
+            'slug' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,slug,'.$id,
41
+            'name' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,name,'.$id,
42 42
             'excerpt' => 'nullable|max:5500',
43 43
             'description' => 'nullable|max:55000',
44 44
             'category_id' => 'nullable|exists:categories,id',
Please login to merge, or discard this patch.
src/Http/Requests/AboutRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
         $id = $this->about->id ?? '';
38 38
 
39 39
         return [
40
-            'slug' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_abouts,slug,' . $id,
41
-            'title' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_abouts,title,' . $id,
40
+            'slug' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_abouts,slug,'.$id,
41
+            'title' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_abouts,title,'.$id,
42 42
             'excerpt' => 'nullable',
43 43
             'description' => 'nullable',
44 44
             'position' => 'nullable',
Please login to merge, or discard this patch.
src/Http/Requests/ProjectRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
         $id = $this->project->id ?? '';
38 38
 
39 39
         return [
40
-            'slug' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,slug,' . $id,
41
-            'name' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,name,' . $id,
40
+            'slug' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,slug,'.$id,
41
+            'name' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,name,'.$id,
42 42
             'excerpt' => 'nullable|max:5500',
43 43
             'description' => 'nullable|max:55000',
44 44
             'category_id' => 'nullable|exists:categories,id',
Please login to merge, or discard this patch.
src/Http/Requests/CategoryRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
         $id = $this->category->id ?? '';
40 40
 
41 41
         return [
42
-            'slug' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,slug,' . $id,
43
-            'name' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,name,' . $id,
42
+            'slug' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,slug,'.$id,
43
+            'name' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,name,'.$id,
44 44
             'excerpt' => 'nullable|max:5500',
45 45
             'parent_id' => 'nullable|exists:categories,id',
46 46
             'root_parent_id' => 'nullable|exists:categories,id',
Please login to merge, or discard this patch.
src/Http/Requests/NoticeRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
         $id = $this->notice->id ?? '';
38 38
 
39 39
         return [
40
-            'slug' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,slug,' . $id,
41
-            'name' => 'required|max:100|unique:' . config('website.table_prefix', 'website') . '_categories,name,' . $id,
40
+            'slug' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,slug,'.$id,
41
+            'name' => 'required|max:100|unique:'.config('website.table_prefix', 'website').'_categories,name,'.$id,
42 42
             'excerpt' => 'nullable|max:5500',
43 43
             'description' => 'nullable|max:55000',
44 44
             'category_id' => 'nullable|exists:categories,id',
Please login to merge, or discard this patch.
src/Http/Requests/ProductRequest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,12 +38,12 @@
 block discarded – undo
38 38
         $id = $this->product->id ?? '';
39 39
 
40 40
         return [
41
-            'sku' => 'required|unique:' . config('website.table_prefix', 'website') . '_products,sku,' . $id,
42
-            'name' => 'required|unique:' . config('website.table_prefix', 'website') . '_products,name,' . $id,
41
+            'sku' => 'required|unique:'.config('website.table_prefix', 'website').'_products,sku,'.$id,
42
+            'name' => 'required|unique:'.config('website.table_prefix', 'website').'_products,name,'.$id,
43 43
             'generic_name' => 'nullable',
44 44
             'strength' => 'nullable',
45 45
             'dosage_form' => 'nullable',
46
-            'slug' => 'required|unique:' . config('website.table_prefix', 'website') . '_products,slug,' . $id,
46
+            'slug' => 'required|unique:'.config('website.table_prefix', 'website').'_products,slug,'.$id,
47 47
             'category_id' => 'nullable|exists:categories,id',
48 48
             'selling_price' => 'required|numeric',
49 49
             'cost_price' => 'nullable|numeric',
Please login to merge, or discard this patch.