Fixed the syntax of php-cs-fixer, missed the fix command:
php-cs-fixer --dry-run --level=psr2 fix
Fixed the pre-commit script, missed the fix command
The command should be the first argument after executable:
exec("php-cs-fixer fix --dry-run --level=psr2 " . escapeshellarg($fileName), $output, $return);
[#3029] Move "fix" keyword
- Moved to after command, but before options
Merge branch 'hotfix/3029' into develop
Forward port #3029
Merge branch 'hotfix/3029'
@weierophinney As I wrote previously, you've merged a bugged bugfix
@Slamdunk See 09dc602 @weierophinney read your comment before merge
Commits mixing is not so clear while merging, sry if I didn't see that.