Skip to content

Commit 93cecde

Browse files
committed
Include PHP Assumptions
1 parent 3e53bd7 commit 93cecde

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends $TOOL_DEPS $BUI
3939
&& composer global require --no-suggest --prefer-dist -n povils/phpmnd \
4040
&& composer global require --no-suggest --prefer-dist -n wapmorgan/php-code-fixer \
4141
&& composer global require --no-suggest --prefer-dist -n wapmorgan/php-code-analyzer \
42+
&& composer global require --no-suggest --prefer-dist -n rskuipers/php-assumptions:dev-master \
4243
&& cd $HOME && git clone https://github.com/Qafoo/QualityAnalyzer.git && cd $HOME/QualityAnalyzer && composer install --no-dev --no-suggest --prefer-dist -n \
4344
&& cd $HOME && git clone https://github.com/Halleck45/DesignPatternDetector.git && cd $HOME/DesignPatternDetector && composer install --no-dev --no-suggest --prefer-dist -n \
4445
&& cd $HOME && git clone https://github.com/JakubOnderka/PHP-Parallel-Lint.git && cd $HOME/PHP-Parallel-Lint && composer install --no-dev --no-suggest --prefer-dist -n && box build && mv parallel-lint.phar /usr/local/bin/parallel-lint && chmod +x /usr/local/bin/parallel-lint && cd && rm -rf $HOME/PHP-Parallel-Lint \

Dockerfile-alpine

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ RUN apk add --no-cache --virtual .tool-deps $TOOL_DEPS $LIB_DEPS \
3939
&& composer global require --no-suggest --prefer-dist -n povils/phpmnd \
4040
&& composer global require --no-suggest --prefer-dist -n wapmorgan/php-code-fixer \
4141
&& composer global require --no-suggest --prefer-dist -n wapmorgan/php-code-analyzer \
42+
&& composer global require --no-suggest --prefer-dist -n rskuipers/php-assumptions:dev-master \
4243
&& cd $HOME && git clone https://github.com/Qafoo/QualityAnalyzer.git && cd $HOME/QualityAnalyzer && composer install --no-dev --no-suggest --prefer-dist -n \
4344
&& cd $HOME && git clone https://github.com/Halleck45/DesignPatternDetector.git && cd $HOME/DesignPatternDetector && composer install --no-dev --no-suggest --prefer-dist -n \
4445
&& cd $HOME && git clone https://github.com/JakubOnderka/PHP-Parallel-Lint.git && cd $HOME/PHP-Parallel-Lint && composer install --no-dev --no-suggest --prefer-dist -n && box build && mv parallel-lint.phar /usr/local/bin/parallel-lint && chmod +x /usr/local/bin/parallel-lint && cd && rm -rf $HOME/PHP-Parallel-Lint \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Docker image providing static analysis tools for PHP.
2727
* phpcs - [Detects coding standard violations](https://github.com/squizlabs/PHP_CodeSniffer)
2828
* phpcbf - [Automatically corrects coding standard violations](https://github.com/squizlabs/PHP_CodeSniffer)
2929
* phpcb - [PHP Code Browser](https://github.com/mayflower/PHP_CodeBrowser)
30+
* phpa - [Checks for weak assumptions](https://github.com/rskuipers/php-assumptions)
3031
* deprecation-detector - [Finds usages of deprecated code](https://github.com/sensiolabs-de/deprecation-detector)
3132
* deptrac - [Enforces dependency rules](https://github.com/sensiolabs-de/deptrac)
3233
* phpda - [Generates dependency graphs](https://mamuz.github.io/PhpDependencyAnalysis/)

list-tools.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Available tools:
2323
* phpcs - Detects coding standard violations - https://github.com/squizlabs/PHP_CodeSniffer
2424
* phpcbf - Automatically corrects coding standard violations - https://github.com/squizlabs/PHP_CodeSniffer
2525
* phpcb - PHP Code Browser - https://github.com/mayflower/PHP_CodeBrowser
26+
* phpa - Checks for weak assumptions - https://github.com/rskuipers/php-assumptions
2627
* deprecation-detector - Finds usages of deprecated code - https://github.com/sensiolabs-de/deprecation-detector
2728
* deptrac - Enforces dependency rules - https://github.com/sensiolabs-de/deptrac
2829
* phpda - Generates dependency graphs - https://mamuz.github.io/PhpDependencyAnalysis/

0 commit comments

Comments
 (0)