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

feat: Introduce @PER-CS ruleset #7321

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion doc/ruleSets/PhpCsFixer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Rule set as used by the PHP-CS-Fixer development team, highly opinionated.
Rules
-----

- `@PER-CS2.0 <./PER-CS2.0.rst>`_
- `@PER-CS <./PER-CS.rst>`_
- `@Symfony <./Symfony.rst>`_
- `array_indentation <./../rules/whitespace/array_indentation.rst>`_
- `blank_line_before_statement <./../rules/whitespace/blank_line_before_statement.rst>`_ with config:
Expand Down
2 changes: 1 addition & 1 deletion src/RuleSet/Sets/PhpCsFixerSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class PhpCsFixerSet extends AbstractRuleSetDescription
public function getRules(): array
{
return [
'@PER-CS2.0' => true,
'@PER-CS' => true,
Wirone marked this conversation as resolved.
Show resolved Hide resolved
'@Symfony' => true,
'array_indentation' => true,
'blank_line_before_statement' => [
Expand Down