Skip to content

Commit 4c582f9

Browse files
committed
Formatting: Fixed PHPCS issues.
1 parent 5146a36 commit 4c582f9

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

gp-entry-blocks/gpeb-display-date-created-in-site-timezone.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Gravity Perks // Entry Blocks // Display Entry's Date Created in Site Timezone
44
* https://gravitywiz.com/documentation/gravity-forms-entry-blocks/
55
*/
6-
add_filter( 'gpeb_entry', function( $entry) {
6+
add_filter( 'gpeb_entry', function( $entry ) {
77
// Convert entry's updated date to WordPress timezone and change format.
88
$entry['date_updated'] = get_date_from_gmt( $entry['date_updated'], 'Y-m-d H:i:s' );
99
return $entry;

gp-limit-submissions/gpls-collective-limits-for-roles.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* By default, role-based limits are applied per user. This means each user of the specified
77
* role can submit the form up to the specified limit.
8-
*
8+
*
99
* Use this snippet to change this behavior so that the limit is applied collectively to all
1010
* users of the specified role.
1111
*/

gp-populate-anything/gppa-ignore-required-validation-when-no-results.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
add_filter( 'gform_field_validation_123_4', function( $result, $value, $form, $field ) {
88
if ( ! $result['is_valid'] && $result['message'] === __( 'This field is required.', 'gravityforms' ) && $field->choices[0]['gppaErrorChoice'] === 'no_choices' ) {
99
$result['is_valid'] = true;
10-
$result['message'] = '';
10+
$result['message'] = '';
1111
}
1212
return $result;
1313
}, 10, 4 );

gp-populate-anything/gppa-jetengine-repeater-mapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* https://gravitywiz.com/documentation/gravity-forms-populate-anything/
55
*
66
* Populate all rows from a JetEngine Repeater into a choice-based field.
7-
*
7+
*
88
* Instruction Video
99
*
1010
* https://www.loom.com/share/2266f91f6bd942c6915fcb8e60e819a6

gravity-forms/gw-restrict-states-in-address-fields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function validate( $result ) {
6363
}
6464

6565
if ( in_array( $selected_state, $this->_args['allowed_states'], true )
66-
|| array_key_exists( $selected_state, $this->_args['allowed_states'])) {
66+
|| array_key_exists( $selected_state, $this->_args['allowed_states'] ) ) {
6767
continue;
6868
}
6969

gravity-forms/gw-validate-that-a-value-exists.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ public function get_matching_entry( $values, $form_id ) {
131131
);
132132
}
133133

134-
$args = apply_filters( 'gwvev_get_entries_args', array(
135-
$form_id,
134+
$args = apply_filters( 'gwvev_get_entries_args', array(
135+
$form_id,
136136
array(
137137
'status' => 'active',
138138
'field_filters' => $field_filters,
139-
)
139+
),
140140
) );
141141

142142
$entries = GFAPI::get_entries( $args[0], $args[1] );

0 commit comments

Comments
 (0)