Level 10
I'm using php-cs-fixer
you can create a file in /Users/{your-username}/.phpcsfixer
and put something like this:
(my config)
<?php
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'no_unused_imports' => true,
'ordered_imports' => ['sortAlgorithm' => 'length']
]);
then in sublime in your package user config, you can put something like this:
{
"on_save": true,
"config": "/Users/{your-username}/.phpcsfixer",
}