mirror of
https://github.com/friendica/friendica
synced 2024-11-17 23:03:41 +00:00
Merge branch 'issue/#2103-alt' of https://github.com/Hypolite/friendica into issue/#2103-alt
This commit is contained in:
commit
3a9be01cb6
1 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,9 @@ Programming
|
|||
|
||||
###Coding standards
|
||||
|
||||
For the sake of consistency between contribution and general code readability, Friendica follows the widespread [PSR-2 coding standards](http://www.php-fig.org/psr/psr-2/). Don't worry, you don't have to know by heart the PSR-2 coding standards. Before comitting your work, you can use the PHP Coding Standard Fixer located in the `util` folder this way:
|
||||
For the sake of consistency between contribution and general code readability, Friendica follows the widespread [PSR-2 coding standards](http://www.php-fig.org/psr/psr-2/).
|
||||
Don't worry, you don't have to know by heart the PSR-2 coding standards to start contributing to Friendica.
|
||||
Before comitting your work, you can use the PHP Coding Standard Fixer located in the `util` folder this way:
|
||||
|
||||
$> php util/php-cs-fixer.phar fix <file or folder> --level=psr2
|
||||
|
||||
|
|
Loading…
Reference in a new issue