We have a project setup with Pint configured as a git hook, so it reformats changed files automatically. We also have the DEVSENSE extension configured in VS Code to format PHP files automatically on save. We use the "php.format.codeStyle": "Laravel" setting. The extension applies different formatting rules, that Pint enforces, which means it's a continuous whack-a-mole between Pint and the extension, as they overwrite each other's changes.
One example would be Laravel migrations, where the extension produce:
return new class extends Migration {
however, Pint would format
return new class extends Migration
{
We have a project setup with Pint configured as a git hook, so it reformats changed files automatically. We also have the DEVSENSE extension configured in VS Code to format PHP files automatically on save. We use the
"php.format.codeStyle": "Laravel"setting. The extension applies different formatting rules, that Pint enforces, which means it's a continuous whack-a-mole between Pint and the extension, as they overwrite each other's changes.One example would be Laravel migrations, where the extension produce:
however, Pint would format