eae4bcfac89ff5cc9133b94386af67f99c1ca310
Hanno Böck add script to check codings...

Hanno Böck authored 3 years ago

1) #!/bin/bash
2) set -euo pipefail
3) 
4) surl=$(curl -s https://api.github.com/repos/fabpot/local-php-security-checker/releases/latest | grep https://.*linux_amd64 -o)
5) 
6) [ -e local-php-security-checker ] || curl -L $surl >local-php-security-checker
7) [ -e php-cs-fixer ] || curl -L https://cs.symfony.com/download/php-cs-fixer-v3.phar >php-cs-fixer
8) chmod +x local-php-security-checker php-cs-fixer
9) 
Hanno Böck update codingstyle checks t...

Hanno Böck authored 2 years ago

10) ./php-cs-fixer fix --rules @PER,@PHP82Migration --dry-run --diff .