Skip to content

Commit 4ada323

Browse files
committed
FEATURE: Install editorconfig-checker wrapper for php
1 parent d0cbc11 commit 4ada323

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.ecrc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
{
22
"Verbose": true,
3-
"IgnoreDefaults": false,
4-
"Exclude": ["tests/fixtures"]
3+
"IgnoreDefaults": true,
4+
"Exclude": [
5+
".phpunit.result.cache",
6+
".php-cs-fixer.cache",
7+
".idea",
8+
".git",
9+
"vendor/",
10+
"tests/fixtures"
11+
]
512
}

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"test": "./vendor/bin/phpunit",
77
"cs": "./vendor/bin/php-cs-fixer fix --verbose --diff --dry-run",
88
"cs-fix": "./vendor/bin/php-cs-fixer fix --verbose --diff",
9-
"phpstan": "php -d memory_limit=-1 vendor/bin/phpstan analyse -c phpstan.neon --no-progress -vvv"
9+
"phpstan": "php -d memory_limit=-1 vendor/bin/phpstan analyse -c phpstan.neon --no-progress -vvv",
10+
"ec": "./vendor/bin/ec"
1011
},
1112
"authors": [
1213
{
@@ -31,7 +32,8 @@
3132
"thecodingmachine/phpstan-strict-rules": "^1",
3233
"friendsofphp/php-cs-fixer": "^3.0",
3334
"phpstan/phpstan-phpunit": "^1",
34-
"phpstan/extension-installer": "^1.1"
35+
"phpstan/extension-installer": "^1.1",
36+
"editorconfig-checker/editorconfig-checker": "^10.3"
3537
},
3638
"autoload": {
3739
"psr-4": {

0 commit comments

Comments
 (0)