From d99ad1fb583bbabbf2fa7c3bf8c6814bbbd71377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Sun, 12 Jan 2025 00:21:48 +0100 Subject: [PATCH] Add psalm-clear-cache shortcut to Makefile --- app/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Makefile b/app/Makefile index 9442bf6ed..8be61e2f7 100644 --- a/app/Makefile +++ b/app/Makefile @@ -1,4 +1,4 @@ -.PHONY: test composer-audit npm-audit cs-fix check-file-patterns check-makefile check-sri-macros-concat lint-php lint-latte lint-neon lint-xml lint-xml-auto-install phpcs phpstan phpstan-vendor psalm tester tester-include-skipped gitleaks composer-dependency-analyser update-security-txt +.PHONY: test composer-audit npm-audit cs-fix check-file-patterns check-makefile check-sri-macros-concat lint-php lint-latte lint-neon lint-xml lint-xml-auto-install phpcs phpstan phpstan-vendor psalm psalm-clear-cache tester tester-include-skipped gitleaks composer-dependency-analyser update-security-txt test: composer-audit npm-audit check-file-patterns check-makefile check-sri-macros-concat lint-php lint-latte lint-neon lint-xml phpcs phpstan tester psalm phpstan-vendor composer-dependency-analyser @@ -47,6 +47,9 @@ phpstan-vendor: psalm: php8.3 vendor/bin/psalm.phar +psalm-clear-cache: + php8.3 vendor/bin/psalm.phar --clear-cache + tester: vendor/nette/tester/src/tester -s -c tests/php-unix.ini -d zend.assertions=1 --colors 1 --coverage temp/coverage.html --coverage-src src/ tests/