Skip to content

Commit

Permalink
Upgrade phpunit to ^11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
DumitracheAdrian committed Sep 25, 2024
1 parent 4bbd617 commit 8eed474
Show file tree
Hide file tree
Showing 77 changed files with 579 additions and 526 deletions.
8 changes: 4 additions & 4 deletions .docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.1.5-fpm
FROM php:8.3.1-fpm

RUN apt-get update \
&& apt-get install -y --no-install-recommends vim curl debconf subversion git apt-transport-https apt-utils \
Expand All @@ -14,8 +14,8 @@ RUN docker-php-ext-configure gd --with-jpeg
RUN docker-php-ext-install pdo pdo_mysql gd zip pcntl

COPY php.ini /usr/local/etc/php/php.ini
COPY php.ini /etc/php/8.1.5/php.ini
COPY php-fpm-pool.conf /etc/php/8.1.5/pool.d/www.conf
COPY php.ini /etc/php/8.3.1/php.ini
COPY php-fpm-pool.conf /etc/php/8.3.1/pool.d/www.conf

#COMPOSER
RUN curl -sSk https://getcomposer.org/installer | php -- --disable-tls && \
Expand All @@ -34,7 +34,7 @@ RUN apt-get install -y --no-install-recommends awscli
#XDEBUG
ARG xdebug
RUN if [ $xdebug = "1" ] ; then \
pecl install -f xdebug-3.1.4 \
pecl install -f xdebug-3.3.1 \
&& docker-php-ext-enable xdebug \
; fi

Expand Down
6 changes: 3 additions & 3 deletions app/src/Resources/skeleton/draw-package/composer.json.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
}
],
"require": {
"php": ">=8.1"
"php": ">=8.2"
},
"require-dev": {
"phpunit/phpunit": "^10.0"
"phpunit/phpunit": "^11.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand All @@ -28,4 +28,4 @@
"dev-master": "0.11-dev"
}
}
}
}
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"jms/serializer-bundle": "^5.4.0",
"knplabs/doctrine-behaviors": "*",
"nesbot/carbon": "^2.0",
"php": ">=8.1",
"php": ">=8.2",
"phpdocumentor/reflection-docblock": "^5.2",
"phpunit/phpunit": "^10.0",
"phpunit/phpunit": "^11.3",
"psr/http-message": "^1.0",
"psr/log": "^3",
"ramsey/uuid": "^4.2",
Expand Down
Loading

0 comments on commit 8eed474

Please sign in to comment.