a little bash script to run php-cs-fixer
only on changed and added php files between current branch and a base branch (defaults to develop
)
meant to be launched from tree root as bin/dev/check-php-cs.sh
Optional --fix
flag to automatically fix code.
https://paste.gl-como.it/LEtjbdMd#check-php-cs.sh
I had it around and maybe it could be useful...
Friendica Developers reshared this.
Fabio
Unknown parent • •https://paste.sr.ht/~fabrixxm/19f3be50bbe291c13e4542c29bd07a85d6964125
Fabio
Unknown parent • •https://paste.sr.ht/~fabrixxm/677f30f208d527ba898b4d6be225a8303765ac52