Skip to content
This repository was archived by the owner on Mar 15, 2019. It is now read-only.

Commit eb719fb

Browse files
author
Julien Neuhart
authored
adding PHP Coding Standards Fixer (#19)
1 parent 30e0f56 commit eb719fb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.docker/toolbox/Dockerfile.blueprint

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,21 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
106106
chmod +x /usr/local/bin/composer &&\
107107
apk --no-cache add git
108108

109+
# |--------------------------------------------------------------------------
110+
# | PHP Coding Standards Fixer
111+
# |--------------------------------------------------------------------------
112+
# |
113+
# | The PHP Coding Standards Fixer tool fixes most issues in your code when
114+
# | you want to follow the PHP coding standards as defined in the PSR-1 and
115+
# | PSR-2 documents and many more.
116+
# |
117+
118+
ENV PHP_CS_FIXER_VERSION 2.4.0
119+
120+
RUN curl -L http://cs.sensiolabs.org/download/php-cs-fixer-v$PHP_CS_FIXER_VERSION.phar -o php-cs-fixer &&\
121+
chmod a+x php-cs-fixer &&\
122+
mv php-cs-fixer /usr/local/bin/php-cs-fixer
123+
109124
# |--------------------------------------------------------------------------
110125
# | NodeJS
111126
# |--------------------------------------------------------------------------

0 commit comments

Comments
 (0)