Skip to content

Commit

Permalink
Merge branch '2.x' of github.com:lucacracco/phpqa into 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
lussoluca committed Feb 3, 2021
2 parents 77cec6f + a06a89a commit f3960a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN apt-get purge -y --auto-remove $BUILD_DEPS

# Add extra libraries.
# TODO remove 'psalm/plugin-symfony' after close the issue https://github.com/jakzal/toolbox/issues/235.
RUN composer global require drupal/coder:^8.3 psalm/plugin-symfony:^2.1
RUN composer global require drupal/coder:^8.3 psalm/plugin-symfony:^2.1

# Install code sniffer of Drupal.
RUN phpcs --config-set installed_paths "$(phpcs --config-show|grep installed_paths|awk '{ print $2 }'),/tools/.composer/vendor/drupal/coder/coder_sniffer,/tools/.composer/vendor/sirbrillig/phpcs-variable-analysis/VariableAnalysis"
Expand All @@ -24,4 +24,4 @@ COPY edgedesign-phpqa $TOOLBOX_TARGET_DIR/edgedesign-phpqa
RUN composer install --no-progress --working-dir=$TOOLBOX_TARGET_DIR/edgedesign-phpqa

# Set the alias for EdgedesignCZ PHPQA.
RUN echo 'alias phpqa="/tools/edgedesign-phpqa/vendor/bin/phpqa"' >> ~/.bashrc
RUN echo "alias phpqa='$TOOLBOX_TARGET_DIR/edgedesign-phpqa/vendor/bin/phpqa'" >> ~/.bashrc

0 comments on commit f3960a0

Please sign in to comment.