Remove PSR12.Properties.ConstantVisibility in favor of slevomat by gmponos · Pull Request #203 · doctrine/coding-standard · GitHub
Skip to content

Remove PSR12.Properties.ConstantVisibility in favor of slevomat#203

Open
gmponos wants to merge 1 commit into
doctrine:8.2.xfrom
gmponos:patch-3
Open

Remove PSR12.Properties.ConstantVisibility in favor of slevomat#203
gmponos wants to merge 1 commit into
doctrine:8.2.xfrom
gmponos:patch-3

Conversation

@gmponos

@gmponos gmponos commented Jun 19, 2020

Copy link
Copy Markdown
Contributor

Isn't this already checked by slevomat?

Does the one cover cases that the other does not? Then if yes.. shouldn't the PSR12.Properties.ConstantVisibility be turned to an error.. because currently it is a warning

@gmponos gmponos requested a review from a team as a code owner June 19, 2020 09:09

@carusogabriel carusogabriel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the benefits of using Slevomat's rule instead of PHPCS'?

Does it check more stuff or stricter?

I always like to think as well: slevomat/coding-standard is an extension for PHPCS. The less we depend on it, better! We might remove it one day as PHPCS is going to cover everything.

@gmponos

gmponos commented Jun 23, 2020

Copy link
Copy Markdown
Contributor Author

@gmponos

gmponos commented Jun 23, 2020

Copy link
Copy Markdown
Contributor Author

@greg0ire greg0ire changed the base branch from master to 8.2.x October 25, 2020 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants