mirror of
https://github.com/friendica/friendica
synced 2024-11-12 22:22:54 +00:00
1 phrase per line in doc
This commit is contained in:
parent
077f69d00d
commit
27f5e0343a
1 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,9 @@ Programming
|
||||||
|
|
||||||
###Coding standards
|
###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
|
$> php util/php-cs-fixer.phar fix <file or folder> --level=psr2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue