Skip to content

Commit

Permalink
Clarification about composer install and php-cs-fixer version
Browse files Browse the repository at this point in the history
  • Loading branch information
PatchRanger committed Sep 27, 2016
1 parent 1adfa9f commit f45cf4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Features that are determined not to fit within the direction of the Mautic Core

Mautic follows [Symfony's coding standards](http://symfony.com/doc/current/contributing/code/standards.html) by implementing pre-commit git hook running [php-cs-fixer](https://github.com/friendsofphp/php-cs-fixer), which is installed and updated with `composer install`/`composer update`.

All code styling is handled automatically by the aforementioned git hook. In case if you setup git hook correctly (which is true if you run `composer update` before creating a pull request), you can format your code as you like - it will be converted to Mautic code style automatically.
All code styling is handled automatically by the aforementioned git hook. In case if you setup git hook correctly (which is true if you ever run `composer install`/`composer update` before creating a pull request), you can format your code as you like - it will be converted to Mautic code style automatically.

### Pull Request Description Format

Expand Down
2 changes: 1 addition & 1 deletion build/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ else
echo ""
echo "Please install php-cs-fixer, e.g.:"
echo ""
echo " composer require --dev friendsofphp/php-cs-fixer:dev-master"
echo " composer require --dev friendsofphp/php-cs-fixer"
echo ""
fi

Expand Down

0 comments on commit f45cf4d

Please sign in to comment.