Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit 8a6e445

Browse files
committed
Explain how to develop the project
1 parent 910f6fb commit 8a6e445

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,11 @@ You can find a `phpstan.neon` example in the `tests` directory, here: [tests/php
2828

2929
## Unsupported cases
3030
- `require $file;` - won't throw an error since it cannot read variables.
31-
- `require (new MyClass())->file;` - won't throw an error since it cannot read class properties.
31+
- `require (new MyClass())->file;` - won't throw an error since it cannot read class properties.
32+
33+
## Development
34+
For local development and testing, `composer.json` contains several commands that you can run.
35+
- `composer run tests ` - runs the PHPUnit tests.
36+
- `composer run phpstan` - runs PHPStan on the `src` and `tests` directories.
37+
- `composer run phpcs` - runs PHP CodeSniffer on the `src` and `tests` directories.
38+
- `composer run phpcs:fix` - runs PHP CodeSniffer on the `src` and `tests` directories and tries to fix the issues.

0 commit comments

Comments
 (0)