Skip to content

Commit 5c960dd

Browse files
committed
Setting up ECS for code styling.
1 parent f2c4700 commit 5c960dd

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
"fig/log-test": "^1.1",
2929
"phpstan/phpstan": "^2.1",
3030
"phpstan/extension-installer": "^1.4",
31-
"phpstan/phpstan-strict-rules": "^2.0"
31+
"phpstan/phpstan-strict-rules": "^2.0",
32+
"symplify/easy-coding-standard": "^12.5",
33+
"roave/security-advisories": "dev-latest"
3234
},
3335
"minimum-stability": "dev",
3436
"prefer-stable": true,
@@ -48,7 +50,7 @@
4850
"cs-check": "phpcs",
4951
"cs-fix": "phpcbf",
5052
"dev": "@dev:qa",
51-
"dev:analyze": "psalm",
53+
"dev:analyze": "phpstan",
5254
"dev:coverage": "XDEBUG_MODE=coverage phpunit --coverage-text --colors=always",
5355
"dev:coverage:html": "XDEBUG_MODE=coverage phpunit --coverage-html build/coverage && echo '\\nCoverage Report: build/coverage/index.html'",
5456
"dev:cs": "phpcs",

phpstan.neon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ parameters:
22
level: 10
33
paths:
44
- src
5-
- tests
5+
- tests
6+
- ecs.php

0 commit comments

Comments
 (0)