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

Enable types_spaces rule in Laravel preset #128

Merged
merged 1 commit into from
Nov 29, 2022
Merged

Enable types_spaces rule in Laravel preset #128

merged 1 commit into from
Nov 29, 2022

Conversation

zepfietje
Copy link
Contributor

This rule was missing from the Laravel preset. The Laravel codebase uses no space around types. Introducing this rule (default value matches desired formatting) makes it easier to keep your code formatted according to Laravel's style.

Rule reference: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/doc/rules/whitespace/types_spaces.rst.

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