From 08cd0fc1b46d1a3952a8002258287234055f155b Mon Sep 17 00:00:00 2001 From: Daniel Gomes Date: Sat, 14 Dec 2013 14:46:22 +0100 Subject: [PATCH] [Contributiong][Patches] Fix the broken tip about coding standards with ubot --- contributing/code/patches.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/contributing/code/patches.rst b/contributing/code/patches.rst index c3c3247cbf8..0ad5c86690a 100644 --- a/contributing/code/patches.rst +++ b/contributing/code/patches.rst @@ -177,14 +177,12 @@ in mind the following: .. tip:: - You can check the coding standards of your patch by running the following - `script `_ - (`source `_): + When submitting pull requests, `ubot`_ checks your code + for common typos and verifies that you are using the PHP coding standards + as defined in PSR-1 and PSR-2. - .. code-block:: bash - - $ cd /path/to/symfony/src - $ php symfony-cs-fixer.phar fix . Symfony20Finder + Whenever it detects problems, it kindly posts a comment on your pull request + with a patch. .. tip:: @@ -410,3 +408,4 @@ of all the commits. When you finish, execute the push command. .. _`travis-ci.org status icon`: http://about.travis-ci.org/docs/user/status-images/ .. _`travis-ci.org Getting Started Guide`: http://about.travis-ci.org/docs/user/getting-started/ .. _`documentation repository`: https://github.com/symfony/symfony-docs +.. _ubot: http://ubot.io