[NEW] format Tiki source to (currently) PSR2 with standard `composer format` command
how does this PR improves Tiki:
- it adds the
composer format
command that is the convention used around most open source PHP projects to format the source code of a project, versus a cryptic command specific to Tiki - the
composer format
command formats Tiki's source to PSR2 that is the convention used around most open source PHP projects, versus a formatting specific to Tiki - it formats the source in less than 2 minutes at first pass, versus 15 minutes with the current script
- it formats the source in less than 10 seconds at subsequent passes (files changes cache), versus 15 minutes with the current script
hence, this PR allows to format Tiki faster, and to make Tiki more standard to the outside PHP world, reducing the steep barrier encountered when approaching the project and hopefully attracting more outside developers.
Edited by Guill