Skip to content

Commit

Permalink
fix: remove php-tools repo in PHP8 container #9236
Browse files Browse the repository at this point in the history
The repository in question has already been archived, and the tooling
contained in that repository is incompatible with PHP versions >8.1
  • Loading branch information
mhitza committed Dec 12, 2024
1 parent ad88d03 commit 95999d6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Dockerfile.php8-review
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,10 @@ WORKDIR /opt/
# Aborting as no plugin should be loaded if running as super user is not explicitly allowed
ENV COMPOSER_ALLOW_SUPERUSER=1

# install php-tools
RUN git clone https://github.com/linkorb/php-tools.git
RUN cd php-tools && COMPOSER_MEMORY_LIMIT=-1 /usr/bin/composer install

# install reviewdog
RUN curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s
RUN mv /opt/bin/reviewdog /usr/local/bin

# add php-tools to search path globally
RUN echo "export PATH=$PATH:/opt/php-tools/bin" >> /etc/bash.bashrc

RUN composer global require icanhazstring/composer-unused \
&& ln -s /root/.config/composer/vendor/bin/composer-unused /usr/local/bin/composer-unused

Expand Down

0 comments on commit 95999d6

Please sign in to comment.