0a35fd841bd03789406e4dc9395b9a68567d8baa
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 check php 8.3 migration cod...

Hanno Böck authored 11 months ago

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