Skip to content

List syntax rule#66

Merged
nunomaduro merged 1 commit into
laravel:mainfrom
brandonferens:patch-1
Jul 1, 2022
Merged

List syntax rule#66
nunomaduro merged 1 commit into
laravel:mainfrom
brandonferens:patch-1

Conversation

@brandonferens

@brandonferens brandonferens commented Jul 1, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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