You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are having issues aligning out phpinsights config to match our existing pint(1.16.2) config, which is based on the laravel preset.
The laravel config defines braces_position as braces is depreciated, and is configured to allow single line empty bodys, although this is contrary to PSR-12. (Opening brace must be on a new line).
No matter how I configure phpinsights it insists on producing code that fails the linter, despite the linter being the same CS-Fixer based.
Is it possible to get a new BracePositionFixer that reflects the current CSFixer ruleset?
Does anyone have any advise on how to get phpinsights to play well with pint in default config?
The text was updated successfully, but these errors were encountered:
We are having issues aligning out phpinsights config to match our existing pint(1.16.2) config, which is based on the laravel preset.
The laravel config defines
braces_position
asbraces
is depreciated, and is configured to allow single line empty bodys, although this is contrary to PSR-12. (Opening brace must be on a new line).No matter how I configure phpinsights it insists on producing code that fails the linter, despite the linter being the same CS-Fixer based.
Is it possible to get a new BracePositionFixer that reflects the current CSFixer ruleset?
Does anyone have any advise on how to get phpinsights to play well with pint in default config?
The text was updated successfully, but these errors were encountered: