git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
16c67e1
Branches
Tags
master
ticket
webinterface.git
checkcodingstyle
enable php84 migration rules in php-cs-fixer check
Hanno Böck
commited
16c67e1
at 2024-09-29 22:10:08
checkcodingstyle
Blame
History
Raw
#!/bin/bash set -euo pipefail surl=$(curl -s https://api.github.com/repos/fabpot/local-php-security-checker/releases/latest | grep https://.*linux_amd64 -o) [ -e local-php-security-checker ] || curl -L $surl >local-php-security-checker [ -e php-cs-fixer ] || curl -L https://cs.symfony.com/download/php-cs-fixer-v3.phar >php-cs-fixer chmod +x local-php-security-checker php-cs-fixer ./php-cs-fixer fix --rules @PER,@PHP84Migration --dry-run --diff . ./local-php-security-checker