[web-php] master: Enhancement: Enable ternary_operator_spaces fixer
| From: | Andreas Möller via Derick Rethans | Date: | Thu, 07 Dec 2023 11:58:43 +0000 |
| Subject: | [web-php] master: Enhancement: Enable ternary_operator_spaces fixer | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-31226@lists.php.net to get a copy of this message | ||
Author: Andreas Möller (localheinz)
Committer: Derick Rethans (derickr)
Date: 2023-12-07T11:45:04Z
Commit: https://github.com/php/web-php/commit/384f1dbc0afd8954a75e9bfee8f307e14d7ab809
Raw diff: https://github.com/php/web-php/commit/384f1dbc0afd8954a75e9bfee8f307e14d7ab809.diff
Enhancement: Enable ternary_operator_spaces fixer
Changed paths:
M .php-cs-fixer.php
Diff:
diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php
index 78ffda6407..9f3f861105 100644
--- a/.php-cs-fixer.php
+++ b/.php-cs-fixer.php
@@ -51,6 +51,7 @@
],
'strict_param' => true,
'switch_case_space' => true,
+ 'ternary_operator_spaces' => true,
'trailing_comma_in_multiline' => [
'elements' => [
'arguments',