Skip to content

Commit 74c2853

Browse files
committed
refactor: updated php-cs-fixer settings
1 parent c18b054 commit 74c2853

File tree

5 files changed

+11
-45
lines changed

5 files changed

+11
-45
lines changed

.idea/php-result-monad.iml

Lines changed: 0 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 1 addition & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
],
2222
"require-dev": {
2323
"phpunit/phpunit": "*",
24-
"phpstan/phpstan": "^1.10",
25-
"friendsofphp/php-cs-fixer": "^3.38"
24+
"phpstan/phpstan": "^1.10"
25+
},
26+
"scripts": {
27+
"fix": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix"
2628
}
2729
}

tools/php-cs-fixer/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor

tools/php-cs-fixer/composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require-dev": {
3+
"friendsofphp/php-cs-fixer": "^3.38"
4+
}
5+
}

0 commit comments

Comments
 (0)