you can also define where to search the .formatter.yml file using the
--config|-c option

$ php-formatter formatter:use:sort src/ --config="src/"

Commands

PHP Formatter is a set of commands useful for your PHP projects. They do not
consider any kind of Common Coding Standard, like PSR-0 or PSR-1, is more like
a useful way of working for developers and reviewers.