From b36f4149f1f0aeeb086cec1ed73ccafd7da5694c Mon Sep 17 00:00:00 2001 From: William Allen Date: Tue, 17 Oct 2023 23:34:47 -0400 Subject: [PATCH] Add files to PHPStan config --- _docs/developer/testing/linting_static_analysis.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_docs/developer/testing/linting_static_analysis.md b/_docs/developer/testing/linting_static_analysis.md index bc291d96..1019200c 100644 --- a/_docs/developer/testing/linting_static_analysis.md +++ b/_docs/developer/testing/linting_static_analysis.md @@ -66,10 +66,10 @@ Then run: ```bash # from root level of Submitty repository -php site/vendor/bin/phpstan analyze -c site/phpstan.neon site/app site/public/index.php site/socket/index.php +php site/vendor/bin/phpstan analyze -c site/phpstan.neon # or if in the site/ directory of the Submitty repository -php vendor/bin/phpstan analyze app public/index.php socket/index.php +php vendor/bin/phpstan analyze ``` Unlike flake8 and phpcs, a path or file _MUST_ be passed to phpstan.