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.