6c6b057d3d2d38c1a857b25278cf250662ae4799
[yaffs-website] / vendor / psy / psysh / .github / CONTRIBUTING.md
1 ## Code style
2
3 Please make your code look like the other code in the project.
4
5 PsySH follows [PSR-1](http://php-fig.org/psr/psr-1/) and [PSR-2](http://php-fig.org/psr/psr-2/). The easiest way to do make sure you're following the coding standard is to [install `php-cs-fixer`](https://github.com/friendsofphp/php-cs-fixer) and run `php-cs-fixer fix` before committing.
6
7 ## Branching model
8
9 Please branch off and send pull requests to the `develop` branch.
10
11 ## Building the manual
12
13 ```sh
14 svn co https://svn.php.net/repository/phpdoc/en/trunk/reference/ php_manual
15 bin/build_manual phpdoc_manual ~/.local/share/psysh/php_manual.sqlite
16 ```
17
18 To build the manual for another language, switch out `en` above for `de`, `es`, or any of the other languages listed in the docs.
19
20 [Partial or outdated documentation is available for other languages](http://www.php.net/manual/help-translate.php) but these translations are outdated, so their content may be completely wrong or insecure!