fix(developer): remove phpdocumentor (no PHP 8.4 support)

phpdocumentor/phpdocumentor doesn't support PHP 8.4 yet, causing
the composer global require to fail during image build.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Snider 2026-02-01 17:16:08 +00:00
parent 9901887233
commit f7d1a2cce0

View file

@ -124,13 +124,12 @@ RUN ln -sf /usr/bin/php84 /usr/bin/php
RUN curl -sS https://getcomposer.org/installer | php -- \ RUN curl -sS https://getcomposer.org/installer | php -- \
--install-dir=/usr/bin --filename=composer --install-dir=/usr/bin --filename=composer
# PHP tools via Composer # PHP tools via Composer (phpdocumentor excluded - doesn't support PHP 8.4 yet)
RUN composer global require --no-interaction \ RUN composer global require --no-interaction \
phpunit/phpunit:^11.0 \ phpunit/phpunit:^11.0 \
pestphp/pest:^3.0 \ pestphp/pest:^3.0 \
phpstan/phpstan:^2.0 \ phpstan/phpstan:^2.0 \
laravel/pint:^1.0 \ laravel/pint:^1.0
phpdocumentor/phpdocumentor:^3.0
# FrankenPHP (static binary) # FrankenPHP (static binary)
RUN curl -fsSL "https://github.com/dunglas/frankenphp/releases/latest/download/frankenphp-linux-$(uname -m | sed 's/aarch64/arm64/' | sed 's/x86_64/x86_64/')" -o /usr/local/bin/frankenphp && \ RUN curl -fsSL "https://github.com/dunglas/frankenphp/releases/latest/download/frankenphp-linux-$(uname -m | sed 's/aarch64/arm64/' | sed 's/x86_64/x86_64/')" -o /usr/local/bin/frankenphp && \