Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move "single_space_after_construct" to Symfony ruleset #5228

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ With configuration: ``['constructs' => ['yield_from']]``.
Rule sets
---------

The rule is part of the following rule set:
The rule is part of the following rule sets:

@Symfony
Using the ``@Symfony`` rule set will enable the ``single_space_after_construct`` rule with the default config.

@PhpCsFixer
Using the ``@PhpCsFixer`` rule set will enable the ``single_space_after_construct`` rule with the default config.
2 changes: 1 addition & 1 deletion src/RuleSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ final class RuleSet implements RuleSetInterface
],
'single_line_throw' => true,
'single_quote' => true,
'single_space_after_construct' => true,
'single_trait_insert_per_statement' => true,
'space_after_semicolon' => [
'remove_in_empty_for_expressions' => true,
Expand Down Expand Up @@ -333,7 +334,6 @@ final class RuleSet implements RuleSetInterface
'simple_to_complex_string_variable' => true,
'single_line_comment_style' => true,
'single_line_throw' => false,
'single_space_after_construct' => true,
],
'@PhpCsFixer:risky' => [
'@Symfony:risky' => true,
Expand Down