Skip to content

Switch to laravel/pint for formatting#348

Merged
itinerare merged 4 commits into
lk-arpg:developfrom
itinerare:feature/pint
Aug 8, 2022
Merged

Switch to laravel/pint for formatting#348
itinerare merged 4 commits into
lk-arpg:developfrom
itinerare:feature/pint

Conversation

@itinerare
Copy link
Copy Markdown
Member

@itinerare itinerare commented Jul 19, 2022

It's still using php-cs-fixer under the hood, so the only real functional differences for our purposes are that it's built for Laravel out of the box (so doesn't need to be configured for it) and the config file is in JSON instead. It also has a clean Laravel-style output which is a nice bonus!

Relevant changes are all in the first commit; the rest is just running it w some settings updates that stood out when I was testing.

Tested locally, plus I updated the github workflow and composer scripts appropriately and verified that those are working.

- effects should be consistent with php-cs-fixer as pint uses it
- adjust composer scripts
- remove php-cs-fixer config in favor of equiv config for pint
@itinerare itinerare requested a review from Draginraptor July 19, 2022 19:13
@itinerare itinerare added dependencies Pull requests that update a dependency file needs review Pull requests that are pending community review labels Jul 19, 2022
@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Aug 8, 2022
@itinerare itinerare merged commit 1c07bc1 into lk-arpg:develop Aug 8, 2022
@itinerare itinerare deleted the feature/pint branch August 8, 2022 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file reviewed Pull requests that have received community review and are pending merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants