Skip to content

[11.x] apply our new Pint rule to the /tests directory#54325

Merged
taylorotwell merged 2 commits into
laravel:11.xfrom
browner12:AB-more-pint
Jan 23, 2025
Merged

[11.x] apply our new Pint rule to the /tests directory#54325
taylorotwell merged 2 commits into
laravel:11.xfrom
browner12:AB-more-pint

Conversation

@browner12

Copy link
Copy Markdown
Contributor

I originally omitted these files to keep the PR smaller, but adding back now for consistent styling throughout repo. these are purely indentation whitespace changes.

the bad-syntax-strategy.php file is not valid PHP so we need to omit it, or it throws a Pint error.

I originally omitted these files to keep the PR smaller, but adding back now for consistent styling throughout repo. these are purely indentation whitespace changes.

the `bad-syntax-strategy.php` file is not valid PHP so we need to omit it, or it throws a Pint error.
@browner12

Copy link
Copy Markdown
Contributor Author

since this is a large PR that mostly contains whitespace changes, you can toggle the hiding the whitespace in the diff viewer to confirm only the behavior changes.

@AndrewMast

Copy link
Copy Markdown
Contributor

I really like this push to include the styling rules into the repo, especially since it means we can use it ourselves when making pull requests or on our own projects. Maybe once we migrate these rules, we can add them to the base project laravel/laravel.

I didn't realize we could toggle whitespace in the diff viewer, thanks for that haha.

@taylorotwell taylorotwell merged commit 79b44b1 into laravel:11.x Jan 23, 2025
@browner12 browner12 deleted the AB-more-pint branch January 23, 2025 23:25
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