git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
eae4bcf
Branches
Tags
master
ticket
webinterface.git
checkcodingstyle
update codingstyle checks to PER and php 8.2
Hanno Böck
commited
eae4bcf
at 2022-12-01 14:54:07
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,@PHP82Migration --dry-run --diff . ./local-php-security-checker