1
1
Fork 0

1 phrase per line in doc

This commit is contained in:
Hypolite Petovan 2016-10-05 16:16:33 -04:00
parent 077f69d00d
commit 27f5e0343a

View file

@ -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