diff --git a/.git_hooks/pre-commit b/.git_hooks/pre-commit index 0d1e2b3f..4dfceeb5 100755 --- a/.git_hooks/pre-commit +++ b/.git_hooks/pre-commit @@ -1,3 +1,3 @@ #!/bin/sh -docker-compose run --rm lint \ No newline at end of file +docker run --rm -v $(pwd):/code ghcr.io/php-cs-fixer/php-cs-fixer:${FIXER_VERSION:-3-php8.3} fix --config=/code/.php-cs-fixer.php /code/src \ No newline at end of file