Skip to content

Commit f4c41c4

Browse files
committed
Merge pull request #3329 from danielcsgomes/replace_broken_tip_with_ubot_in_pacthes
[Contributing][Patches] Fix the broken tip about coding standards
2 parents d29521d + 08cd0fc commit f4c41c4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

contributing/code/patches.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,12 @@ in mind the following:
177177

178178
.. tip::
179179

180-
You can check the coding standards of your patch by running the following
181-
`script <http://cs.sensiolabs.org/get/php-cs-fixer.phar>`_
182-
(`source <https://github.com/fabpot/PHP-CS-Fixer>`_):
180+
When submitting pull requests, `ubot`_ checks your code
181+
for common typos and verifies that you are using the PHP coding standards
182+
as defined in PSR-1 and PSR-2.
183183

184-
.. code-block:: bash
185-
186-
$ cd /path/to/symfony/src
187-
$ php symfony-cs-fixer.phar fix . Symfony20Finder
184+
Whenever it detects problems, it kindly posts a comment on your pull request
185+
with a patch.
188186

189187
.. tip::
190188

@@ -410,3 +408,4 @@ of all the commits. When you finish, execute the push command.
410408
.. _`travis-ci.org status icon`: http://about.travis-ci.org/docs/user/status-images/
411409
.. _`travis-ci.org Getting Started Guide`: http://about.travis-ci.org/docs/user/getting-started/
412410
.. _`documentation repository`: https://github.com/symfony/symfony-docs
411+
.. _ubot: http://ubot.io

0 commit comments

Comments
 (0)