Passed
Push — dev ( 9b750d...1c8353 )
by Chris
08:33 queued 10s
created
app/Services/Validation/Rules/LinkedInUrlRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function passes($attribute, $value)
25 25
     {
26
-        return preg_match('/' . self::PATTERN . '/', $value);
26
+        return preg_match('/'.self::PATTERN.'/', $value);
27 27
     }
28 28
 
29 29
     /**
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         // search $needle in process status
61 61
         $result = array_filter(
62 62
             $process_status,
63
-            function ($var) use ($needle) {
63
+            function($var) use ($needle) {
64 64
                 return strpos($var, $needle);
65 65
             }
66 66
         );
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                 'user' => request()->user(),
69 69
                 'requestUrl' => request()->url()
70 70
             ];
71
-            $message = '419 CSRF Token Mismatch. ' . collect($logData)->toJson();
71
+            $message = '419 CSRF Token Mismatch. '.collect($logData)->toJson();
72 72
             Log::debug($message);
73 73
         }
74 74
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
             return $exception->render($request);
110 110
         }
111 111
         if ($exception instanceof TokenMismatchException) {
112
-            $newMessage = $exception->getMessage() . ' ' . Lang::get('errors.refresh_page');
112
+            $newMessage = $exception->getMessage().' '.Lang::get('errors.refresh_page');
113 113
             $modifiedException = new TokenMismatchException($newMessage, $exception->getCode(), $exception);
114 114
             return parent::render($request, $modifiedException);
115 115
         }
Please login to merge, or discard this patch.
app/Http/Requests/StoreRatingGuideAnswer.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
     {
20 20
         // Ensure the user can make answers, question exists, and user is the owner of the question it answers.
21 21
         if ($this->user()->can('create', RatingGuideAnswer::class)) {
22
-            $questionId = (int) $this->input('rating_guide_question_id');
22
+            $questionId = (int)$this->input('rating_guide_question_id');
23 23
             if ($questionId) {
24 24
                 $question = RatingGuideQuestion::find($questionId);
25 25
                 return $question && $this->user()->can('update', $question);
Please login to merge, or discard this patch.
app/Http/Requests/SkillCrudRequest.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
     public function rules() : array
26 26
     {
27 27
         return [
28
-            'name' => 'required|unique_translation:skills,name' . (isset($this->id) ? ",{$this->id}" : ''),
28
+            'name' => 'required|unique_translation:skills,name'.(isset($this->id) ? ",{$this->id}" : ''),
29 29
             'description' => 'required',
30 30
             'skill_type_id' => 'exists:skill_types,id'
31 31
         ];
Please login to merge, or discard this patch.
app/Http/Controllers/ApplicantProfileController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         $validator->validate($request->all());
133 133
 
134 134
         foreach ($questions as $question) {
135
-            $answerName = $this->answerFormInputName . '.' . $question->id;
135
+            $answerName = $this->answerFormInputName.'.'.$question->id;
136 136
             if ($request->has($answerName)) {
137 137
                 $answer = ApplicantProfileAnswer::where(
138 138
                     [
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
                 )->first();
143 143
                 if ($answer == null) {
144 144
                     $answer = new ApplicantProfileAnswer();
145
-                    $answer->applicant_id =$applicant->id;
145
+                    $answer->applicant_id = $applicant->id;
146 146
                     $answer->applicant_profile_question_id = $question->id;
147 147
                 }
148 148
                 $answer->answer = $request->input($answerName);
Please login to merge, or discard this patch.
app/Services/Validation/Rules/TwitterHandleRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function passes($attribute, $value)
25 25
     {
26
-        return preg_match('/' . self::PATTERN . '/', $value);
26
+        return preg_match('/'.self::PATTERN.'/', $value);
27 27
     }
28 28
 
29 29
     /**
Please login to merge, or discard this patch.
app/Providers/AuthServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     protected function defineGates(): void
67 67
     {
68
-        Gate::define('view-assessment-plan', function ($user, $jobPoster) {
68
+        Gate::define('view-assessment-plan', function($user, $jobPoster) {
69 69
             return $user->isAdmin() ||
70 70
                 $user->isManager() && $jobPoster->manager->user_id === $user->id;
71 71
         });
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function register()
32 32
     {
33
-        $this->app->singleton(WhichPortal::class, function ($app) {
33
+        $this->app->singleton(WhichPortal::class, function($app) {
34 34
             return new WhichPortal();
35 35
         });
36 36
     }
Please login to merge, or discard this patch.