From a0725e733e09be54bde8ba12d5c88df4f4d84046 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Tue, 29 Aug 2023 15:13:16 -0500 Subject: [PATCH] fix: Fix PHP file regex --- .pre-commit-hooks.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 4b72c52..4b35425 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -14,19 +14,19 @@ name: Pint language: system entry: docker-compose run --rm -T app ./vendor/bin/pint - files: '^(\.*.php|composer\..*)' + files: '^(.*\.php|composer\..*)' pass_filenames: false - id: docker_hot_larastan name: Larastan language: system entry: docker-compose run --rm -T app ./vendor/bin/phpstan analyse --memory-limit=2G - files: '^(\.*.php|composer\..*)' + files: '^(.*\.php|composer\..*)' pass_filenames: false - id: docker_hot_backend_test name: Backend Test language: system entry: docker-compose run --rm -T app php artisan test -p - files: '^(\.*.php|composer\..*)' + files: '^(.*\.php|composer\..*)' pass_filenames: false - id: docker_hot_vtsc name: Vtsc