Check your PHP file with php-cs-fixer

Sep 6, 2020 PHP php-cs-fixer

command

#Do not automatically format (difference display only)
$ docker run -v $ (pwd): / project herloct / php-cs-fixer fix --dry-run -v --diff --diff-format udiff.

#Automatic shaping
$ docker run -v $ (pwd): / project herloct / php-cs-fixer fix -v --diff --diff-format udiff ..

Reference