Fixes #467 Add tool: PHP CS Fixer

This commit is contained in:
cytopia 2019-01-11 10:52:59 +01:00
parent 74bd19b241
commit 0091e59adb
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
4 changed files with 13 additions and 1 deletions

View File

@ -552,6 +552,10 @@ The following tools will assist you on creating new projects easily as well as h
<td>:wrench: <a href="https://github.com/squizlabs/PHP_CodeSniffer">php code beautifier</a></td>
<td><code>phpcbf</code> is a command line tool that automatically correct coding standard violations.</td>
</tr>
<tr>
<td>:wrench: <a href="https://github.com/FriendsOfPHP/PHP-CS-Fixer">php cs fixer</a></td>
<td><code>php-cs-fixer</code> is a tool to automatically fix PHP Coding Standards issues.</td>
</tr>
<tr>
<td>:wrench: <a href="https://github.com/Unitech/pm2">pm2</a></td>
<td><code>pm2</code> is Node.js Production Process Manager with a built-in Load Balancer.</td>

View File

@ -95,7 +95,7 @@ services:
# PHP
# ------------------------------------------------------------
php:
image: devilbox/php-fpm:${PHP_SERVER}-work-0.67
image: devilbox/php-fpm:${PHP_SERVER}-work-0.68
hostname: php
##

View File

@ -159,6 +159,12 @@
PHP CodeSniffer <img src="https://raw.githubusercontent.com/cytopia/icons/master/11x11/ext-link.png" />
</a>
.. |ext_lnk_tool_php_cs_fixer| raw:: html
<a target="_blank" href="https://github.com/FriendsOfPHP/PHP-CS-Fixer">
PHP-CS-Fixer <img src="https://raw.githubusercontent.com/cytopia/icons/master/11x11/ext-link.png" />
</a>
.. |ext_lnk_tool_phpcbf| raw:: html
<a target="_blank" href="https://github.com/squizlabs/PHP_CodeSniffer">

View File

@ -66,6 +66,8 @@ The PHP container is your workhorse and these are your tools:
+----------------------+---------------------------------------+
| ``phalcon`` | |ext_lnk_tool_phalcon| |
+----------------------+---------------------------------------+
| ``php-cs-fixer`` | |ext_lnk_tool_php_cs_fixer| |
+----------------------+---------------------------------------+
| ``phpcs`` | |ext_lnk_tool_phpcs| |
+----------------------+---------------------------------------+
| ``phpcbf`` | |ext_lnk_tool_phpcbf| |