mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Enhancement: Enable unary_operator_spaces fixer (#851)
* Enhancement: Enable unary_operator_spaces fixer * Fix: Run 'make coding-standards'
This commit is contained in:
@@ -48,6 +48,7 @@ $config
|
||||
'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,
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user