From 762e320a38184a752d2520f5aa508aed5228db2d Mon Sep 17 00:00:00 2001 From: Felipe Rocha Date: Wed, 16 Jun 2021 14:42:39 -0300 Subject: [PATCH] feat: add phpstan --- 7.4/Dockerfile | 2 +- 8.0/Dockerfile | 2 +- template/Dockerfile.blade.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/7.4/Dockerfile b/7.4/Dockerfile index 9b06b2e..941805a 100644 --- a/7.4/Dockerfile +++ b/7.4/Dockerfile @@ -15,6 +15,7 @@ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \ RUN \ # install and set up QA tools from Composer composer global require squizlabs/php_codesniffer \ + phpstan/phpstan \ friendsofphp/php-cs-fixer \ phan/phan \ # download PHAR and make them executable @@ -22,7 +23,6 @@ RUN \ && curl -Lf https://phpmd.org/static/latest/phpmd.phar -o /phars/phpmd \ && curl -Lf https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64 -o /phars/local-php-security-checker \ && curl -Lf https://phar.phpunit.de/phpcpd.phar -o /phars/phpcpd \ - && curl -Lf https://phar.phpunit.de/phpunit-nightly.phar -o /phars/phpunit10 \ && curl -Lf https://phar.phpunit.de/phpunit-9.5.phar -o /phars/phpunit \ && chmod +x /phars/* \ # post-install tools settings diff --git a/8.0/Dockerfile b/8.0/Dockerfile index 0fdc3d6..103d582 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -15,6 +15,7 @@ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \ RUN \ # install and set up QA tools from Composer composer global require squizlabs/php_codesniffer \ + phpstan/phpstan \ friendsofphp/php-cs-fixer \ phan/phan \ # download PHAR and make them executable @@ -22,7 +23,6 @@ RUN \ && curl -Lf https://phpmd.org/static/latest/phpmd.phar -o /phars/phpmd \ && curl -Lf https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64 -o /phars/local-php-security-checker \ && curl -Lf https://phar.phpunit.de/phpcpd.phar -o /phars/phpcpd \ - && curl -Lf https://phar.phpunit.de/phpunit-nightly.phar -o /phars/phpunit10 \ && curl -Lf https://phar.phpunit.de/phpunit-9.5.phar -o /phars/phpunit \ && chmod +x /phars/* \ # post-install tools settings diff --git a/template/Dockerfile.blade.php b/template/Dockerfile.blade.php index 94420dc..8a87db5 100644 --- a/template/Dockerfile.blade.php +++ b/template/Dockerfile.blade.php @@ -15,6 +15,7 @@ RUN \ # install and set up QA tools from Composer composer global require squizlabs/php_codesniffer \ + phpstan/phpstan \ friendsofphp/php-cs-fixer \ phan/phan \ # download PHAR and make them executable @@ -22,7 +23,6 @@ && curl -Lf https://phpmd.org/static/latest/phpmd.phar -o /phars/phpmd \ && curl -Lf https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64 -o /phars/local-php-security-checker \ && curl -Lf https://phar.phpunit.de/phpcpd.phar -o /phars/phpcpd \ - && curl -Lf https://phar.phpunit.de/phpunit-nightly.phar -o /phars/phpunit10 \ && curl -Lf https://phar.phpunit.de/phpunit-9.5.phar -o /phars/phpunit \ && chmod +x /phars/* \ # post-install tools settings