Skip to content

Commit

Permalink
[Testing:Developer] Add files to PHPStan config (#559)
Browse files Browse the repository at this point in the history
Documentation change associated with
Submitty/Submitty#9900.
  • Loading branch information
williamjallen authored Oct 28, 2023
1 parent 55b88c2 commit 9556133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _docs/developer/testing/linting_static_analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9556133

Please sign in to comment.