From: Dan Untenzu Date: Thu, 26 Jan 2017 12:25:09 +0000 (+0100) Subject: [FEATURE] Contribution Guide: Declare PSR-2 Coding Style X-Git-Tag: 3.0.0~16 X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/16ecb03f1e5bcf95bf7b70f94a683cd472c99778 [FEATURE] Contribution Guide: Declare PSR-2 Coding Style All PHP code should now follow PSR-2. --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 641fb44..7c5ed44 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,12 +55,9 @@ Translation may be add via [Jirafeau's Weblate](https://hosted.weblate.org/proje ## Coding style -- PHP function keywords are alone on a line -- Braces "{" must be put in a new line +- This project follows the [PSR-2](http://www.php-fig.org/psr/psr-2/) Coding Style - Files must be in UTF-8 without BOM and use Unix Line Endings (LF) -The whole project is not clean about that yet, feel free to fix :) - ## Branches * ```master``` = latest release, e.g. 2.0.1