Skip to content

Commit 1108131

Browse files
authored
Enhancement: Enable unary_operator_spaces fixer (#851)
* Enhancement: Enable unary_operator_spaces fixer * Fix: Run 'make coding-standards'
1 parent b8df60d commit 1108131

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
'strict_param' => true,
4949
'switch_case_space' => true,
5050
'trim_array_spaces' => true,
51+
'unary_operator_spaces' => true,
5152
'visibility_required' => true,
5253
'void_return' => true,
5354
'whitespace_after_comma_in_array' => true,

include/email-validation.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function is_emailable_address($email)
1212
{
1313
$email = filter_var($email, FILTER_VALIDATE_EMAIL);
1414
// No email, no validation
15-
if (! $email) {
15+
if (!$email) {
1616
return false;
1717
}
1818

0 commit comments

Comments
 (0)