Passed
Push — master ( ff717e...ba0f3b )
by Paul
08:41 queued 04:33
created
config/forms/submission-form.php 2 patches
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -1,33 +1,33 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'rating' => [
5
-        'label' => __('Your overall rating', 'site-reviews'),
6
-        'type' => 'rating',
7
-    ],
8
-    'title' => [
9
-        'label' => __('Title of your review', 'site-reviews'),
10
-        'placeholder' => __('Summarize your review or highlight an interesting detail', 'site-reviews'),
11
-        'type' => 'text',
12
-    ],
13
-    'content' => [
14
-        'label' => __('Your review', 'site-reviews'),
15
-        'placeholder' => __('Tell people your review', 'site-reviews'),
16
-        'rows' => 5,
17
-        'type' => 'textarea',
18
-    ],
19
-    'name' => [
20
-        'label' => __('Your name', 'site-reviews'),
21
-        'placeholder' => __('Tell us your name', 'site-reviews'),
22
-        'type' => 'text',
23
-    ],
24
-    'email' => [
25
-        'label' => __('Your email', 'site-reviews'),
26
-        'placeholder' => __('Tell us your email', 'site-reviews'),
27
-        'type' => 'email',
28
-    ],
29
-    'terms' => [
30
-        'label' => __('This review is based on my own experience and is my genuine opinion.', 'site-reviews'),
31
-        'type' => 'checkbox',
32
-    ],
4
+	'rating' => [
5
+		'label' => __('Your overall rating', 'site-reviews'),
6
+		'type' => 'rating',
7
+	],
8
+	'title' => [
9
+		'label' => __('Title of your review', 'site-reviews'),
10
+		'placeholder' => __('Summarize your review or highlight an interesting detail', 'site-reviews'),
11
+		'type' => 'text',
12
+	],
13
+	'content' => [
14
+		'label' => __('Your review', 'site-reviews'),
15
+		'placeholder' => __('Tell people your review', 'site-reviews'),
16
+		'rows' => 5,
17
+		'type' => 'textarea',
18
+	],
19
+	'name' => [
20
+		'label' => __('Your name', 'site-reviews'),
21
+		'placeholder' => __('Tell us your name', 'site-reviews'),
22
+		'type' => 'text',
23
+	],
24
+	'email' => [
25
+		'label' => __('Your email', 'site-reviews'),
26
+		'placeholder' => __('Tell us your email', 'site-reviews'),
27
+		'type' => 'email',
28
+	],
29
+	'terms' => [
30
+		'label' => __('This review is based on my own experience and is my genuine opinion.', 'site-reviews'),
31
+		'type' => 'checkbox',
32
+	],
33 33
 ];
Please login to merge, or discard this 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/styles/ninja_forms.php 1 patch
Indentation   +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
-    'fields' => [
5
-        'input' => 'ninja-forms-field nf-element',
6
-        'textarea' => 'ninja-forms-field nf-element',
7
-    ],
4
+	'fields' => [
5
+		'input' => 'ninja-forms-field nf-element',
6
+		'textarea' => 'ninja-forms-field nf-element',
7
+	],
8 8
 ];
Please login to merge, or discard this patch.
config/styles/contact_form_7.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'fields' => [
5
-        'input' => 'wpcf7-form-control',
6
-        'input_text' => 'wpcf7-form-control wpcf7-text',
7
-        'input_email' => 'wpcf7-form-control wpcf7-text wpcf7-email',
8
-        'select' => 'wpcf7-form-control wpcf7-select',
9
-        'textarea' => 'wpcf7-form-control wpcf7-textarea',
10
-    ],
11
-    'validation' => [
12
-        'error_tag' => 'span',
13
-        'error_tag_class' => 'wpcf7-not-valid-tip',
14
-        'input_error_class' => 'wpcf7-not-valid',
15
-        'message_initial_class' => 'wpcf7-display-none',
16
-        'message_success_class' => 'wpcf7-mail-sent-ok',
17
-        'message_tag_class' => 'wpcf7-response-output',
18
-    ],
4
+	'fields' => [
5
+		'input' => 'wpcf7-form-control',
6
+		'input_text' => 'wpcf7-form-control wpcf7-text',
7
+		'input_email' => 'wpcf7-form-control wpcf7-text wpcf7-email',
8
+		'select' => 'wpcf7-form-control wpcf7-select',
9
+		'textarea' => 'wpcf7-form-control wpcf7-textarea',
10
+	],
11
+	'validation' => [
12
+		'error_tag' => 'span',
13
+		'error_tag_class' => 'wpcf7-not-valid-tip',
14
+		'input_error_class' => 'wpcf7-not-valid',
15
+		'message_initial_class' => 'wpcf7-display-none',
16
+		'message_success_class' => 'wpcf7-mail-sent-ok',
17
+		'message_tag_class' => 'wpcf7-response-output',
18
+	],
19 19
 ];
Please login to merge, or discard this patch.
config/styles/wpforms.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'fields' => [
5
-        'input' => 'wpforms-field-large',
6
-        'label' => 'wpforms-field-label',
7
-        'label_checkbox' => 'wpforms-field-label-inline',
8
-        'label_radio' => 'wpforms-field-label-inline',
9
-        'select' => 'wpforms-field-large',
10
-        'textarea' => 'wpforms-field-large',
11
-    ],
4
+	'fields' => [
5
+		'input' => 'wpforms-field-large',
6
+		'label' => 'wpforms-field-label',
7
+		'label_checkbox' => 'wpforms-field-label-inline',
8
+		'label_radio' => 'wpforms-field-label-inline',
9
+		'select' => 'wpforms-field-large',
10
+		'textarea' => 'wpforms-field-large',
11
+	],
12 12
 ];
Please login to merge, or discard this patch.
config/styles/bootstrap_4_custom.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'fields' => [
5
-        'input' => 'form-control',
6
-        'input_checkbox' => 'custom-control-input',
7
-        'input_radio' => 'custom-control-input',
8
-        'label_checkbox' => 'custom-control-label',
9
-        'label_radio' => 'custom-control-label',
10
-        'select' => 'form-control',
11
-        'textarea' => 'form-control',
12
-    ],
13
-    'validation' => [
14
-        'error_tag' => 'div',
15
-        'error_tag_class' => 'invalid-feedback',
16
-        'field_class' => 'form-group',
17
-        'input_error_class' => 'is-invalid',
18
-    ],
4
+	'fields' => [
5
+		'input' => 'form-control',
6
+		'input_checkbox' => 'custom-control-input',
7
+		'input_radio' => 'custom-control-input',
8
+		'label_checkbox' => 'custom-control-label',
9
+		'label_radio' => 'custom-control-label',
10
+		'select' => 'form-control',
11
+		'textarea' => 'form-control',
12
+	],
13
+	'validation' => [
14
+		'error_tag' => 'div',
15
+		'error_tag_class' => 'invalid-feedback',
16
+		'field_class' => 'form-group',
17
+		'input_error_class' => 'is-invalid',
18
+	],
19 19
 ];
Please login to merge, or discard this patch.
config/styles/divi.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'fields' => [
5
-        'label' => 'et_pb_contact_form_label',
6
-    ],
4
+	'fields' => [
5
+		'label' => 'et_pb_contact_form_label',
6
+	],
7 7
 ];
Please login to merge, or discard this patch.
config/styles/materialize.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,18 +1,18 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'fields' => [
5
-        'select' => 'browser-default',
6
-        'textarea' => 'materialize-textarea',
7
-    ],
8
-    'pagination' => [
9
-        'type' => 'list',
10
-    ],
11
-    'validation' => [
12
-        'error_tag' => 'span',
13
-        'input_error_class' => 'wpcf7-not-valid',
14
-        'error_tag_class' => 'wpcf7-not-valid-tip',
15
-        'input_error_class' => 'wpcf7-not-valid',
16
-        'message_tag_class' => 'wpcf7-response-output',
17
-    ],
4
+	'fields' => [
5
+		'select' => 'browser-default',
6
+		'textarea' => 'materialize-textarea',
7
+	],
8
+	'pagination' => [
9
+		'type' => 'list',
10
+	],
11
+	'validation' => [
12
+		'error_tag' => 'span',
13
+		'input_error_class' => 'wpcf7-not-valid',
14
+		'error_tag_class' => 'wpcf7-not-valid-tip',
15
+		'input_error_class' => 'wpcf7-not-valid',
16
+		'message_tag_class' => 'wpcf7-response-output',
17
+	],
18 18
 ];
Please login to merge, or discard this patch.
config/styles/bootstrap_4.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'fields' => [
5
-        'input' => 'form-control',
6
-        'input_checkbox' => 'form-check-input',
7
-        'input_radio' => 'form-check-input',
8
-        'label_checkbox' => 'form-check-label',
9
-        'label_radio' => 'form-check-label',
10
-        'select' => 'form-control',
11
-        'textarea' => 'form-control',
12
-    ],
13
-    'validation' => [
14
-        'error_tag' => 'div',
15
-        'error_tag_class' => 'invalid-feedback',
16
-        'field_class' => 'form-group',
17
-        'input_error_class' => 'is-invalid',
18
-    ],
4
+	'fields' => [
5
+		'input' => 'form-control',
6
+		'input_checkbox' => 'form-check-input',
7
+		'input_radio' => 'form-check-input',
8
+		'label_checkbox' => 'form-check-label',
9
+		'label_radio' => 'form-check-label',
10
+		'select' => 'form-control',
11
+		'textarea' => 'form-control',
12
+	],
13
+	'validation' => [
14
+		'error_tag' => 'div',
15
+		'error_tag_class' => 'invalid-feedback',
16
+		'field_class' => 'form-group',
17
+		'input_error_class' => 'is-invalid',
18
+	],
19 19
 ];
Please login to merge, or discard this patch.
config/inline-styles.php 2 patches
Indentation   +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.
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.