Passed
Push — master ( ccb079...7906b4 )
by Paul
04:39
created
plugin/Commands/TogglePinned.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
     public $id;
8 8
     public $pinned;
9 9
 
10
-    public function __construct($input)
10
+    public function __construct( $input )
11 11
     {
12 12
         $this->id = $input['id'];
13 13
         $this->pinned = isset($input['pinned'])
14
-            ? wp_validate_boolean($input['pinned'])
14
+            ? wp_validate_boolean( $input['pinned'] )
15 15
             : null;
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
plugin/Commands/ChangeStatus.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     public $id;
8 8
     public $status;
9 9
 
10
-    public function __construct($input)
10
+    public function __construct( $input )
11 11
     {
12 12
         $this->id = $input['post_id'];
13 13
         $this->status = 'approve' == $input['status']
Please login to merge, or discard this patch.
plugin/Commands/RegisterTinymcePopups.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public $popups;
8 8
 
9
-    public function __construct($input)
9
+    public function __construct( $input )
10 10
     {
11 11
         $this->popups = $input;
12 12
     }
Please login to merge, or discard this patch.
plugin/Commands/RegisterTaxonomy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public $args;
8 8
 
9
-    public function __construct($input)
9
+    public function __construct( $input )
10 10
     {
11 11
         $this->args = $input;
12 12
     }
Please login to merge, or discard this patch.
plugin/Commands/EnqueueAdminAssets.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public $pointers;
8 8
 
9
-    public function __construct(array $input)
9
+    public function __construct( array $input )
10 10
     {
11 11
         $this->pointers = $input['pointers'];
12 12
     }
Please login to merge, or discard this patch.
plugin/Commands/RegisterShortcodes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public $shortcodes;
8 8
 
9
-    public function __construct($input)
9
+    public function __construct( $input )
10 10
     {
11 11
         $this->shortcodes = $input;
12 12
     }
Please login to merge, or discard this patch.
config/forms/submission-form.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -2,32 +2,32 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     'rating' => [
5
-        'label' => __('Your overall rating', 'site-reviews'),
5
+        'label' => __( 'Your overall rating', 'site-reviews' ),
6 6
         'type' => 'rating',
7 7
     ],
8 8
     'title' => [
9
-        'label' => __('Title of your review', 'site-reviews'),
10
-        'placeholder' => __('Summarize your review or highlight an interesting detail', 'site-reviews'),
9
+        'label' => __( 'Title of your review', 'site-reviews' ),
10
+        'placeholder' => __( 'Summarize your review or highlight an interesting detail', 'site-reviews' ),
11 11
         'type' => 'text',
12 12
     ],
13 13
     'content' => [
14
-        'label' => __('Your review', 'site-reviews'),
15
-        'placeholder' => __('Tell people your review', 'site-reviews'),
14
+        'label' => __( 'Your review', 'site-reviews' ),
15
+        'placeholder' => __( 'Tell people your review', 'site-reviews' ),
16 16
         'rows' => 5,
17 17
         'type' => 'textarea',
18 18
     ],
19 19
     'name' => [
20
-        'label' => __('Your name', 'site-reviews'),
21
-        'placeholder' => __('Tell us your name', 'site-reviews'),
20
+        'label' => __( 'Your name', 'site-reviews' ),
21
+        'placeholder' => __( 'Tell us your name', 'site-reviews' ),
22 22
         'type' => 'text',
23 23
     ],
24 24
     'email' => [
25
-        'label' => __('Your email', 'site-reviews'),
26
-        'placeholder' => __('Tell us your email', 'site-reviews'),
25
+        'label' => __( 'Your email', 'site-reviews' ),
26
+        'placeholder' => __( 'Tell us your email', 'site-reviews' ),
27 27
         'type' => 'email',
28 28
     ],
29 29
     'terms' => [
30
-        'label' => __('This review is based on my own experience and is my genuine opinion.', 'site-reviews'),
30
+        'label' => __( 'This review is based on my own experience and is my genuine opinion.', 'site-reviews' ),
31 31
         'type' => 'checkbox',
32 32
     ],
33 33
 ];
Please login to merge, or discard this patch.
config/inline-styles.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    ':star-empty' => glsr()->url('assets/images/star-empty.svg'),
5
-    ':star-error' => glsr()->url('assets/images/star-error.svg'),
6
-    ':star-full' => glsr()->url('assets/images/star-full.svg'),
7
-    ':star-half' => glsr()->url('assets/images/star-half.svg'),
4
+    ':star-empty' => glsr()->url( 'assets/images/star-empty.svg' ),
5
+    ':star-error' => glsr()->url( 'assets/images/star-error.svg' ),
6
+    ':star-full' => glsr()->url( 'assets/images/star-full.svg' ),
7
+    ':star-half' => glsr()->url( 'assets/images/star-half.svg' ),
8 8
 ];
Please login to merge, or discard this patch.
views/partials/form/table-row-multiple.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php defined('WPINC') || die; ?>
1
+<?php defined( 'WPINC' ) || die; ?>
2 2
 
3 3
 <tr class="glsr-field {{ class }}">
4 4
     <th scope="row">{{ label }}</th>
Please login to merge, or discard this patch.