Skip to content

Commit 02c69ac

Browse files
committed
feat: document Larastan commands
1 parent 7ede7d7 commit 02c69ac

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

docs/technical/architecture/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: default
33
title: Software Architecture
44
nav_order: 3
55
has_children: true
6+
parent: Technical Documentation
67
permalink: /docs/technical/architecture
78
---
89

docs/technical/local-development.md

+16
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,19 @@ composer run pint-test
7373
# Test the code style of the changes you made
7474
composer run pint-test-dirty
7575
```
76+
77+
## Static code analyses (PHPStan)
78+
79+
We've implemented Larastan (PHPStan) to analyse our code statically. It will search for type errors in the codebase.
80+
81+
To run the static code analyses locally, you can run:
82+
83+
```shell
84+
composer run analyse
85+
```
86+
87+
To generate a new baseline, you can run:
88+
89+
```shell
90+
composer run analyse-baseline
91+
```

0 commit comments

Comments
 (0)