aboutsummaryrefslogtreecommitdiff
path: root/.php-cs-fixer.php
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2023-08-18 19:11:23 +0300
committerGitHub <noreply@github.com>2023-08-18 19:11:23 +0300
commit1968057f42210e3f5675d46126a1dc6506616ef3 (patch)
tree322d148ff35a38737692c2cc75a4414196b15d2b /.php-cs-fixer.php
parentad839b7858d31f4025598193b15ac422f11203d2 (diff)
Phpcs fixer (#129)
* PHPCSFixer V3.23 * Run PHPCSFixer
Diffstat (limited to '.php-cs-fixer.php')
-rw-r--r--.php-cs-fixer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php
index 7017c03..b661109 100644
--- a/.php-cs-fixer.php
+++ b/.php-cs-fixer.php
@@ -148,8 +148,6 @@ $config
'no_short_bool_cast' => true,
// When making a method or function call, there MUST NOT be a space between the method or function name and the opening parenthesis.
'no_spaces_after_function_name' => true,
- // There MUST NOT be a space after the opening parenthesis. There MUST NOT be a space before the closing parenthesis.
- 'no_spaces_inside_parenthesis' => true,
// Removes `@param`, `@return` and `@var` tags that don't provide any useful information.
'no_superfluous_phpdoc_tags' => true,
// Remove trailing whitespace at the end of non-blank lines.
@@ -242,6 +240,8 @@ $config
'single_quote' => true,
// Each trait `use` must be done as single statement.
'single_trait_insert_per_statement' => true,
+ // There MUST NOT be a space after the opening parenthesis. There MUST NOT be a space before the closing parenthesis.
+ 'spaces_inside_parentheses' => false,
// Replace all `<>` with `!=`.
'standardize_not_equals' => true,
// Lambdas not (indirect) referencing `$this` must be declared `static`.