Skip to content

Commit 698b911

Browse files
authored
Merge pull request #8 from felipanico/feature/add-phpstan
feat: PHPStan - PHP Static Analysis Tool
2 parents 5f8d6b1 + 762e320 commit 698b911

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

7.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
1515
RUN \
1616
# install and set up QA tools from Composer
1717
composer global require squizlabs/php_codesniffer \
18+
phpstan/phpstan \
1819
friendsofphp/php-cs-fixer \
1920
phan/phan \
2021
# download PHAR and make them executable
2122
&& mkdir /phars \
2223
&& curl -Lf https://phpmd.org/static/latest/phpmd.phar -o /phars/phpmd \
2324
&& 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 \
2425
&& curl -Lf https://phar.phpunit.de/phpcpd.phar -o /phars/phpcpd \
25-
&& curl -Lf https://phar.phpunit.de/phpunit-nightly.phar -o /phars/phpunit10 \
2626
&& curl -Lf https://phar.phpunit.de/phpunit-9.5.phar -o /phars/phpunit \
2727
&& chmod +x /phars/* \
2828
# post-install tools settings

8.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
1515
RUN \
1616
# install and set up QA tools from Composer
1717
composer global require squizlabs/php_codesniffer \
18+
phpstan/phpstan \
1819
friendsofphp/php-cs-fixer \
1920
phan/phan \
2021
# download PHAR and make them executable
2122
&& mkdir /phars \
2223
&& curl -Lf https://phpmd.org/static/latest/phpmd.phar -o /phars/phpmd \
2324
&& 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 \
2425
&& curl -Lf https://phar.phpunit.de/phpcpd.phar -o /phars/phpcpd \
25-
&& curl -Lf https://phar.phpunit.de/phpunit-nightly.phar -o /phars/phpunit10 \
2626
&& curl -Lf https://phar.phpunit.de/phpunit-9.5.phar -o /phars/phpunit \
2727
&& chmod +x /phars/* \
2828
# post-install tools settings

template/Dockerfile.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
RUN \
1616
# install and set up QA tools from Composer
1717
composer global require squizlabs/php_codesniffer \
18+
phpstan/phpstan \
1819
friendsofphp/php-cs-fixer \
1920
phan/phan \
2021
# download PHAR and make them executable
2122
&& mkdir /phars \
2223
&& curl -Lf https://phpmd.org/static/latest/phpmd.phar -o /phars/phpmd \
2324
&& 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 \
2425
&& curl -Lf https://phar.phpunit.de/phpcpd.phar -o /phars/phpcpd \
25-
&& curl -Lf https://phar.phpunit.de/phpunit-nightly.phar -o /phars/phpunit10 \
2626
&& curl -Lf https://phar.phpunit.de/phpunit-9.5.phar -o /phars/phpunit \
2727
&& chmod +x /phars/* \
2828
# post-install tools settings

0 commit comments

Comments
 (0)