Skip to content

Commit 9fa94d5

Browse files
committed
AI guidelines
1 parent a2f96b1 commit 9fa94d5

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.junie/guidelines/project-rules.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
### Project Guidelines
2+
3+
#### Testing
4+
- All changes must be accompanied by appropriate tests.
5+
- Existing tests must pass after any modifications.
6+
- You can run the tests using:
7+
```bash
8+
composer test
9+
```
10+
or
11+
```bash
12+
vendor/bin/phpunit
13+
```
14+
15+
#### Static Analysis (PHPStan)
16+
- All changes must pass PHPStan analysis.
17+
- The project uses PHPStan at level 6 (as defined in `phpstan.neon.dist`).
18+
- You can run PHPStan using:
19+
```bash
20+
vendor/bin/phpstan analyze --error-format=toon
21+
```
22+
23+
#### Code Formatting
24+
- Ensure code follows the project's formatting standards.
25+
- You can format the code using:
26+
```bash
27+
./vendor/bin/php-cs-fixer fix -nq --format=json
28+
```

0 commit comments

Comments
 (0)