Skip to content

Commit a00919d

Browse files
committedNov 12, 2021
Increase PHPStan analysis level to max
1 parent 1835fa0 commit a00919d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎.github/workflows/continuous-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
run: composer install --no-interaction --no-progress --no-plugins
7575

7676
- name: "Run phpstan/phpstan"
77-
run: vendor/bin/phpstan analyse --level 8 src/
77+
run: vendor/bin/phpstan analyse --level max src/
7878

7979
tests:
8080
name: "Tests"

‎Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test: ## Run PHPUnit to execute the unit tests
1818
docker-compose run --rm --no-deps zen-php /bin/sh -c "cd /var/www && ./vendor/bin/phpunit $(if $(TEST),$(TEST),)"
1919

2020
phpstan: ## Run PHPStan to perform static analysis
21-
docker-compose run --rm --no-deps zen-php /bin/sh -c "cd /var/www && ./vendor/bin/phpstan analyse --level 8 src"
21+
docker-compose run --rm --no-deps zen-php /bin/sh -c "cd /var/www && ./vendor/bin/phpstan analyse --level max src"
2222

2323
cs: ## Run PHP CodeSniffer to detect issues with coding style
2424
docker-compose run --rm --no-deps zen-php /var/www/vendor/bin/phpcs --standard=/var/www/phpcs.xml

0 commit comments

Comments
 (0)