Skip to content

Commit

Permalink
Describe in development documentation how to run PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
meritoo committed Nov 11, 2024
1 parent 94803a0 commit 172df07
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/Development.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,20 @@ Metrics:
* `build/reports/infection/infection-log.txt`
* `build/reports/infection/summary-log.txt`
# PHPStan
### Running analysis
```bash
docker-compose exec php vendor/bin/phpstan analyse --memory-limit 256M
```
### Generating the baseline file
```bash
docker-compose exec php vendor/bin/phpstan --generate-baseline
```
# Other
Rebuild project and run tests by running command:
Expand Down

0 comments on commit 172df07

Please sign in to comment.