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

List syntax rule #66

Merged
merged 1 commit into from
Jul 1, 2022
Merged

List syntax rule #66

merged 1 commit into from
Jul 1, 2022

Conversation

brandonferens
Copy link
Contributor

@brandonferens brandonferens commented Jul 1, 2022

This PR address the list_syntax rule.

list() is not used anywhere in the Laravel code base while the shortened syntax is. Adding this rule not only conforms to the existing Laravel syntax usage, but ensures other code bases using Pint conform to that syntax as well.

For reference: PHPCS list_syntax

This PR address the `list_syntax` rule.

`list()` is not used anywhere in the Laravel code base while the shortened syntax is. Adding this rules not only enforces that syntax, but ensures other code bases that use Pint conform to that syntax.

https://mlocati.github.io/php-cs-fixer-configurator/#version:3.8|fixer:list_syntax
@brandonferens
Copy link
Contributor Author

Thanks @driesvints!

@nunomaduro nunomaduro merged commit 0b9a792 into laravel:main Jul 1, 2022
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.

3 participants