Commit db793d5
committed
chore: add Larastan for static analysis and CI workflow
Add Larastan as a development dependency to enable static code analysis for the Laravel project. This helps in identifying potential bugs and improving code quality without running the application.
Additionally, a GitHub Actions CI workflow is introduced to automate testing, static analysis, and code style checks on every push or pull request. The workflow includes steps for PHP setup, dependency installation, PHPUnit tests, PHPStan analysis, and Pint code style verification.
A `phpstan.neon` configuration file is also added to customize the static analysis process, including paths to analyze and the desired level of strictness.1 parent 876cff8 commit db793d5
File tree
4 files changed
+1514
-911
lines changed- .github/workflows
4 files changed
+1514
-911
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments