Skip to content

Commit 805b21c

Browse files
committed
ECS
1 parent 99264f9 commit 805b21c

File tree

7 files changed

+255
-214
lines changed

7 files changed

+255
-214
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
CHANGELOG.md export-ignore
88
codeception.yml export-ignore
99
composer.lock export-ignore
10+
ecs.php export-ignore
1011
gruntfile.js export-ignore
1112
gulpfile.js export-ignore
1213
package.json export-ignore
@@ -16,4 +17,4 @@ SECURITY.md export-ignore
1617
tests/ export-ignore
1718

1819
# Auto detect text files and perform LF normalization
19-
* text=auto
20+
* text=auto

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"craftcms/cms": "^3.7.0"
3131
},
3232
"require-dev": {
33+
"craftcms/ecs": "dev-main",
3334
"craftcms/phpstan": "dev-main"
3435
},
3536
"autoload": {
@@ -38,6 +39,8 @@
3839
}
3940
},
4041
"scripts": {
42+
"check-cs": "ecs check --ansi",
43+
"fix-cs": "ecs check --ansi --fix",
4144
"phpstan": "phpstan --memory-limit=1G"
4245
},
4346
"extra": {

0 commit comments

Comments
 (0)