Skip to content

Conversation

samuelmaudo
Copy link
Contributor

The PHP CS Fixer rule set is customized for that project and contains several rules that are not common in the industry.

For example, it requires all tests to have the @covers annotation, which restricts the classes that are included in the coverage reports.

This PR aims to replace this set by the Symfony rule set, on which the PHP CS Fixer rule set is based.

Its coding style is almost a standard in PHP, since Symfony is one of the largest projects and its libraries are widely used.

In addition, its rules are stable, avoiding unnecessary changes in our code base.

@samuelmaudo samuelmaudo self-assigned this Sep 27, 2024
@samuelmaudo samuelmaudo changed the title Replace PHP CS Fixer set Replace PHP CS Fixer rule set Sep 27, 2024
@samuelmaudo samuelmaudo changed the title Replace PHP CS Fixer rule set Replace PHP CS Fixer ruleset Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant