Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolim4 committed Jan 6, 2024
1 parent 93af157 commit 4286e24
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,14 @@
Merge requests are welcome but will require the tests plus the quality tools to pass:

_(Commands must be run from the repository root)_
### PHPCS:
### PHPCS, PHPMD, PHPSTAN (Level 6), unit tests:

```bash
# Fixer + Linter
./vendor/bin/phpcbf lib/ --report=summary
composer run-script quality
composer run-script tests

# Linter only
./vendor/bin/phpcs lib/ --report=summary
```
### PHPMD:
```bash
./vendor/bin/phpmd lib/ ansi phpmd.xml
```

### PHPSTAN (Level 6):
```bash
./vendor/bin/phpstan analyse lib/ -l 6 -c phpstan.neon 2>&1
# In case you want to fix the code style automatically:
./vendor/bin/phpcbf lib/ --report=summary
```

## Support & Security
Expand Down

0 comments on commit 4286e24

Please sign in to comment.