File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ After the `composer.json` file has been created:
2323composer config repositories.humhub-module-coding-standards vcs https://github.com/humhub/module-coding-standards.git
2424composer require --dev humhub/module-coding-standards:dev-main
2525composer config scripts.rector " vendor/bin/rector process --config=vendor/humhub/module-coding-standards/rector.php"
26+ composer config scripts.fixer " vendor/bin/php-cs-fixer fix --config=vendor/humhub/module-coding-standards/php-cs-fixer.php"
2627```
2728
2829Example of a minimal ` composer.json ` :
@@ -46,7 +47,8 @@ Example of a minimal `composer.json`:
4647 " humhub/module-coding-standards " : " dev-main"
4748 },
4849 " scripts " : {
49- " rector " : " vendor/bin/rector process --config=vendor/humhub/module-coding-standards/rector.php"
50+ " rector " : " vendor/bin/rector process --config=vendor/humhub/module-coding-standards/rector.php" ,
51+ " fixer " : " vendor/bin/php-cs-fixer fix --config=vendor/humhub/module-coding-standards/php-cs-fixer.php
5052 }
5153}
5254```
You can’t perform that action at this time.
0 commit comments