Skip to content

Commit c569737

Browse files
committed
Updated README.md
1 parent bf211d4 commit c569737

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ After the `composer.json` file has been created:
2323
composer config repositories.humhub-module-coding-standards vcs https://github.com/humhub/module-coding-standards.git
2424
composer require --dev humhub/module-coding-standards:dev-main
2525
composer 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

2829
Example 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
```

0 commit comments

Comments
 (0)