Skip to content

Commit

Permalink
Fix CS command
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Oct 3, 2018
1 parent 41d4064 commit e45b816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/codingstandards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -460,15 +460,15 @@ In order to check some stabdards are respected, we provide some custom `PHP Code

.. code-block:: bash
phpcs --standard=tools/phpcs-rules.xml inc/ front/ ajax/ tests/
phpcs --standard=vendor/glpi-project/coding-standard/GlpiStandard/ inc/ front/ ajax/ tests/
If the above command does not provide any output, then, all is OK :)

An example error output would looks like:

.. code-block:: bash
phpcs --standard=tools/phpcs-rules.xml inc/ front/ ajax/ tests/
phpcs --standard=vendor/glpi-project/coding-standard/GlpiStandard/ inc/ front/ ajax/ tests/
FILE: /var/www/webapps/glpi/tests/HtmlTest.php
----------------------------------------------------------------------
Expand Down

0 comments on commit e45b816

Please sign in to comment.