Skip to content

Commit

Permalink
Enhancement: Enable unary_operator_spaces fixer (#851)
Browse files Browse the repository at this point in the history
* Enhancement: Enable unary_operator_spaces fixer

* Fix: Run 'make coding-standards'
  • Loading branch information
localheinz authored Dec 6, 2023
1 parent b8df60d commit 1108131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
'strict_param' => true,
'switch_case_space' => true,
'trim_array_spaces' => true,
'unary_operator_spaces' => true,
'visibility_required' => true,
'void_return' => true,
'whitespace_after_comma_in_array' => true,
Expand Down
2 changes: 1 addition & 1 deletion include/email-validation.inc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function is_emailable_address($email)
{
$email = filter_var($email, FILTER_VALIDATE_EMAIL);
// No email, no validation
if (! $email) {
if (!$email) {
return false;
}

Expand Down

0 comments on commit 1108131

Please sign in to comment.