Skip to content

Commit

Permalink
Add files to PHPStan config
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjallen committed Oct 18, 2023
1 parent ef23dbd commit b36f414
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 b36f414

Please sign in to comment.