Skip to content

Commit 91b561a

Browse files
authored
Run Psalm on PHP 8.3 (#463)
This requires me to keep the following packages in my dev, some are for Psalm itself, others allow it to analyze the code base: php8.3-cli php8.3-common php8.3-intl php8.3-mbstring php8.3-opcache php8.3-readline php8.3-xml They can be removed once Psalm supports PHP 8.4 (#439), or when I stop using it.
2 parents 3c4d828 + d99ad1f commit 91b561a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.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
1+
.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
22

33
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
44

@@ -45,7 +45,10 @@ phpstan-vendor:
4545
vendor/phpstan/phpstan/phpstan -vvv --ansi analyse --configuration phpstan-vendor.neon
4646

4747
psalm:
48-
vendor/bin/psalm.phar
48+
php8.3 vendor/bin/psalm.phar
49+
50+
psalm-clear-cache:
51+
php8.3 vendor/bin/psalm.phar --clear-cache
4952

5053
tester:
5154
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/

0 commit comments

Comments
 (0)