From a847c7bf5cf4e0bdad3da1454aa4e08cee494b6e Mon Sep 17 00:00:00 2001 From: Snider Date: Sun, 1 Feb 2026 17:27:25 +0000 Subject: [PATCH] fix(developer): allow pestphp/pest-plugin in composer Composer blocks plugins by default for security. Need to explicitly allow pest-plugin before running composer global require. Co-Authored-By: Claude Opus 4.5 --- developer/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/developer/Dockerfile b/developer/Dockerfile index dd07b47..65c0d4a 100644 --- a/developer/Dockerfile +++ b/developer/Dockerfile @@ -124,8 +124,9 @@ RUN ln -sf /usr/bin/php84 /usr/bin/php RUN curl -sS https://getcomposer.org/installer | php -- \ --install-dir=/usr/bin --filename=composer -# PHP tools via Composer (phpdocumentor excluded - doesn't support PHP 8.4 yet) -RUN composer global require --no-interaction \ +# Allow Pest plugin and install PHP tools globally +RUN composer global config allow-plugins.pestphp/pest-plugin true && \ + composer global require --no-interaction \ phpunit/phpunit:^11.0 \ pestphp/pest:^3.0 \ phpstan/phpstan:^2.0 \