Skip to content

Commit df26385

Browse files
committed
added code quality check tasks
1 parent 07a3a4c commit df26385

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

composer.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,22 @@
8585
],
8686
"post-update-cmd": [
8787
"@auto-scripts"
88-
]
88+
],
89+
"test": [
90+
"SYMFONY_DEPRECATIONS_HELPER=weak bin/phpunit"
91+
],
92+
"test-coverage": "php -d xdebug.mode=coverage vendor/bin/phpunit tests/ --coverage-html var/coverage/ --coverage-filter src",
93+
"app:code-quality": [
94+
"bin/console lint:yaml config --parse-tags",
95+
"bin/console lint:twig templates",
96+
"bin/console lint:container",
97+
"./vendor/bin/phpstan analyse --memory-limit=-1",
98+
"./vendor/bin/rector --dry-run"
99+
],
100+
"security-check": [
101+
"symfony check:security"
102+
],
103+
"phpstan": "vendor/bin/phpstan"
89104
},
90105
"conflict": {
91106
"symfony/symfony": "*"
@@ -110,4 +125,4 @@
110125
"symfony/stopwatch": "7.3.*",
111126
"symfony/web-profiler-bundle": "7.3.*"
112127
}
113-
}
128+
}

0 commit comments

Comments
 (0)