Skip to content

Commit dd58e67

Browse files
committed
chore: introduce static code anlysis
1 parent 6b8653c commit dd58e67

File tree

2 files changed

+63
-2
lines changed

2 files changed

+63
-2
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,16 @@
2929
"require-dev": {
3030
"phpunit/phpunit": "^11.5.2",
3131
"symplify/easy-coding-standard": "12.5.16",
32-
"testcontainers/testcontainers": "1.0.2"
32+
"testcontainers/testcontainers": "1.0.2",
33+
"phpstan/phpstan": "^2.1"
3334
},
3435
"scripts": {
3536
"analyze": "vendor/bin/ecs check",
3637
"format": "vendor/bin/ecs check --fix",
38+
"stan": " vendor/bin/phpstan analyze -l 5 src tests",
3739
"qa": [
3840
"composer analyze",
41+
"composer stan",
3942
"composer test"
4043
],
4144
"test": "vendor/bin/phpunit"

composer.lock

Lines changed: 59 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)