Passed
Push — dependabot/npm_and_yarn/dev/re... ( 1111e8 )
by
unknown
31:44 queued 16:01
created
app/Models/ProfilePic.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  *
21 21
  * @property \App\Models\User $user
22 22
  */
23
-class ProfilePic extends BaseModel {
23
+class ProfilePic extends BaseModel{
24 24
 
25 25
     protected $casts = [
26 26
         'user_id' => 'int',
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         'image'
32 32
     ];
33 33
 
34
-    public function user() {
34
+    public function user(){
35 35
         return $this->belongsTo(\App\Models\User::class);
36 36
     }
37 37
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,8 @@  discard block
 block discarded – undo
20 20
  *
21 21
  * @property \App\Models\User $user
22 22
  */
23
-class ProfilePic extends BaseModel {
23
+class ProfilePic extends BaseModel
24
+{
24 25
 
25 26
     protected $casts = [
26 27
         'user_id' => 'int',
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
         'image'
32 33
     ];
33 34
 
34
-    public function user() {
35
+    public function user()
36
+    {
35 37
         return $this->belongsTo(\App\Models\User::class);
36 38
     }
37 39
 
Please login to merge, or discard this patch.
app/Models/JobPoster.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@
 block discarded – undo
373 373
      */
374 374
     public function submitted_applications() // phpcs:ignore
375 375
     {
376
-        return $this->hasMany(\App\Models\JobApplication::class)->whereDoesntHave('application_status', function ($query): void {
376
+        return $this->hasMany(\App\Models\JobApplication::class)->whereDoesntHave('application_status', function($query): void {
377 377
             $query->where('name', 'draft');
378 378
         });
379 379
     }
Please login to merge, or discard this patch.
app/Models/Lookup/SkillStatus.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  *
19 19
  * @property \Illuminate\Database\Eloquent\Collection $skill_declarations
20 20
  */
21
-class SkillStatus extends BaseModel {
21
+class SkillStatus extends BaseModel{
22 22
 
23 23
     protected $fillable = [
24 24
         'name'
@@ -29,12 +29,12 @@  discard block
 block discarded – undo
29 29
      */
30 30
     protected $appends = ['status'];
31 31
 
32
-    public function skill_declarations() {
32
+    public function skill_declarations(){
33 33
         return $this->hasMany(\App\Models\SkillDeclaration::class);
34 34
     }
35 35
 
36 36
     // Accessors
37
-    public function getStatusAttribute() {
37
+    public function getStatusAttribute(){
38 38
         return Lang::get('common/skills.status')[$this->name];
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@  discard block
 block discarded – undo
18 18
  *
19 19
  * @property \Illuminate\Database\Eloquent\Collection $skill_declarations
20 20
  */
21
-class SkillStatus extends BaseModel {
21
+class SkillStatus extends BaseModel
22
+{
22 23
 
23 24
     protected $fillable = [
24 25
         'name'
@@ -29,12 +30,14 @@  discard block
 block discarded – undo
29 30
      */
30 31
     protected $appends = ['status'];
31 32
 
32
-    public function skill_declarations() {
33
+    public function skill_declarations()
34
+    {
33 35
         return $this->hasMany(\App\Models\SkillDeclaration::class);
34 36
     }
35 37
 
36 38
     // Accessors
37
-    public function getStatusAttribute() {
39
+    public function getStatusAttribute()
40
+    {
38 41
         return Lang::get('common/skills.status')[$this->name];
39 42
     }
40 43
 }
Please login to merge, or discard this patch.
app/Models/Lookup/VeteranStatus.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
  * @property \Illuminate\Database\Eloquent\Collection $job_applications
16 16
  *
17 17
  */
18
-class VeteranStatus extends BaseModel {
18
+class VeteranStatus extends BaseModel{
19 19
 
20 20
     protected $fillable = [];
21 21
 
22
-    public function job_applications() {
22
+    public function job_applications(){
23 23
         return $this->hasMany(\App\Models\JobApplication::class);
24 24
     }
25 25
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,13 @@
 block discarded – undo
15 15
  * @property \Illuminate\Database\Eloquent\Collection $job_applications
16 16
  *
17 17
  */
18
-class VeteranStatus extends BaseModel {
18
+class VeteranStatus extends BaseModel
19
+{
19 20
 
20 21
     protected $fillable = [];
21 22
 
22
-    public function job_applications() {
23
+    public function job_applications()
24
+    {
23 25
         return $this->hasMany(\App\Models\JobApplication::class);
24 26
     }
25 27
 
Please login to merge, or discard this patch.
app/Models/Lookup/CourseStatus.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     protected $table = 'course_status';
20 20
     protected $fillable = [];
21 21
 
22
-    public function courses() {
22
+    public function courses(){
23 23
         return $this->hasMany(\App\Models\Course::class);
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,8 @@
 block discarded – undo
19 19
     protected $table = 'course_status';
20 20
     protected $fillable = [];
21 21
 
22
-    public function courses() {
22
+    public function courses()
23
+    {
23 24
         return $this->hasMany(\App\Models\Course::class);
24 25
     }
25 26
 }
Please login to merge, or discard this patch.
app/Models/Lookup/DegreeType.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 {
19 19
     protected $fillable = [];
20 20
 
21
-    public function degrees() {
21
+    public function degrees(){
22 22
         return $this->hasMany(\App\Models\Degree::class);
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@
 block discarded – undo
18 18
 {
19 19
     protected $fillable = [];
20 20
 
21
-    public function degrees() {
21
+    public function degrees()
22
+    {
22 23
         return $this->hasMany(\App\Models\Degree::class);
23 24
     }
24 25
 }
Please login to merge, or discard this patch.
app/Models/Lookup/ApplicantProfileQuestion.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,21 +24,21 @@
 block discarded – undo
24 24
  * @property string $question
25 25
  * @property string $description
26 26
  */
27
-class ApplicantProfileQuestion extends BaseModel {
27
+class ApplicantProfileQuestion extends BaseModel{
28 28
 
29 29
     protected $fillable = [];
30 30
 
31
-    public function applicant_profile_answers() {
31
+    public function applicant_profile_answers(){
32 32
         return $this->hasMany(\App\Models\ApplicantProfileAnswer::class);
33 33
     }
34 34
 
35 35
     // Accessors
36 36
 
37
-    public function getQuestionAttribute() {
37
+    public function getQuestionAttribute(){
38 38
         return Lang::get('common/lookup/applicant_profile_questions')[$this->name]['question'];
39 39
     }
40 40
 
41
-    public function getDescriptionAttribute() {
41
+    public function getDescriptionAttribute(){
42 42
         return Lang::get('common/lookup/applicant_profile_questions')[$this->name]['description'];
43 43
     }
44 44
 
Please login to merge, or discard this patch.
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,21 +24,25 @@
 block discarded – undo
24 24
  * @property string $question
25 25
  * @property string $description
26 26
  */
27
-class ApplicantProfileQuestion extends BaseModel {
27
+class ApplicantProfileQuestion extends BaseModel
28
+{
28 29
 
29 30
     protected $fillable = [];
30 31
 
31
-    public function applicant_profile_answers() {
32
+    public function applicant_profile_answers()
33
+    {
32 34
         return $this->hasMany(\App\Models\ApplicantProfileAnswer::class);
33 35
     }
34 36
 
35 37
     // Accessors
36 38
 
37
-    public function getQuestionAttribute() {
39
+    public function getQuestionAttribute()
40
+    {
38 41
         return Lang::get('common/lookup/applicant_profile_questions')[$this->name]['question'];
39 42
     }
40 43
 
41
-    public function getDescriptionAttribute() {
44
+    public function getDescriptionAttribute()
45
+    {
42 46
         return Lang::get('common/lookup/applicant_profile_questions')[$this->name]['description'];
43 47
     }
44 48
 
Please login to merge, or discard this patch.
app/Models/Lookup/ReviewStatus.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
  * Acessors:
17 17
  * @property string $translation
18 18
  */
19
-class ReviewStatus extends BaseModel {
19
+class ReviewStatus extends BaseModel{
20 20
 
21 21
     protected $fillable = [];
22 22
 
23
-    public function getTranslationAttribute() {
23
+    public function getTranslationAttribute(){
24 24
         return Lang::get('common/lookup/review_status')[$this->name];
25 25
     }
26 26
 
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,11 +16,13 @@
 block discarded – undo
16 16
  * Acessors:
17 17
  * @property string $translation
18 18
  */
19
-class ReviewStatus extends BaseModel {
19
+class ReviewStatus extends BaseModel
20
+{
20 21
 
21 22
     protected $fillable = [];
22 23
 
23
-    public function getTranslationAttribute() {
24
+    public function getTranslationAttribute()
25
+    {
24 26
         return Lang::get('common/lookup/review_status')[$this->name];
25 27
     }
26 28
 
Please login to merge, or discard this patch.
app/Models/Lookup/SkillType.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
  *
15 15
  * @property \Illuminate\Database\Eloquent\Collection $skills
16 16
  */
17
-class SkillType extends BaseModel {
17
+class SkillType extends BaseModel{
18 18
 
19 19
     protected $fillable = [
20 20
         'name'
21 21
     ];
22 22
 
23
-    public function skills() {
23
+    public function skills(){
24 24
         return $this->hasMany(\App\Models\Skill::class);
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,13 +14,15 @@
 block discarded – undo
14 14
  *
15 15
  * @property \Illuminate\Database\Eloquent\Collection $skills
16 16
  */
17
-class SkillType extends BaseModel {
17
+class SkillType extends BaseModel
18
+{
18 19
 
19 20
     protected $fillable = [
20 21
         'name'
21 22
     ];
22 23
 
23
-    public function skills() {
24
+    public function skills()
25
+    {
24 26
         return $this->hasMany(\App\Models\Skill::class);
25 27
     }
26 28
 }
Please login to merge, or discard this patch.