LinuxCommandLibrary

pint

An opinionated PHP code style fixer based on PHP-CS-Fixer.

TLDR

Execute code style fixing

$ pint
copy


Display all files that are changed
$ pint -v
copy


Execute code style linting without applying changes
$ pint --test
copy


Execute code style fixes using a specific config file
$ pint --config [path/to/pint.json]
copy


Execute code style fixes using a specific preset
$ pint --preset [psr12]
copy

Copied to clipboard