diff --git a/Dockerfile b/Dockerfile index 8800f60..6e03deb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,9 +26,17 @@ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/ ENV SHELL /bin/zsh -ENV PATH="$PATH:/root/.composer/vendor/bin" +ENV PATH="$PATH:/root/.composer/vendor/bin:/root/.config/composer/vendor/bin" ENV COMPOSER_ALLOW_SUPERUSER=1 -RUN composer global require friendsofphp/php-cs-fixer && php-cs-fixer --version -RUN composer global require phpstan/phpstan && phpstan -V -RUN composer global require "squizlabs/php_codesniffer=*" && phpcs -h && phpcbf -h \ No newline at end of file +RUN composer global require friendsofphp/php-cs-fixer +RUN composer global require phpstan/phpstan +RUN composer global require "squizlabs/php_codesniffer=*" +RUN composer global require rector/rector +RUN composer global require symplify/easy-coding-standard + +RUN PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer --version && \ + phpstan -V && \ + phpcs -h && phpcbf -h \ + rector --version \ + ecs --version \ No newline at end of file