File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1+ FROM mcr.microsoft.com/devcontainers/php:8.2-bullseye
2+
3+ # Install libraries needed to compile GD
4+ RUN apt-get update \
5+ && apt-get install -y libpng-dev libjpeg-dev libfreetype6-dev \
6+ && docker-php-ext-configure gd --with-freetype --with-jpeg \
7+ && docker-php-ext-install gd \
8+ && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " PHP with GD" ,
3+ "build" : { "dockerfile" : " Dockerfile" },
4+ "postCreateCommand" : " composer install" ,
5+ "customizations" : {
6+ "vscode" : {
7+ "extensions" : [
8+ " felixfbecker.php-intellisense"
9+ ]
10+ }
11+ }
12+ }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ composer require --dev meyfa/phpunit-assert-gd
2020
2121| AssertGD version | Supported PHP version | Supported PHPUnit version |
2222| :-----------------| :----------------------| :--------------------------|
23- | 4.* | >= 8.1 | 10.1 |
23+ | 4.* | >= 8.1 | ^ 10.1 and ^11.0 |
2424| 3.* | >= 7.3 | 9 |
2525| 2.* | >= 7.2 | 8 |
2626| 1.* | 5.3.3 - 8.0 | 4.8.36 - 6.5.0 |
@@ -137,4 +137,4 @@ an exact match and 1 is the complete opposite.
137137
138138You may then provide an instance of the class as the 5th parameter of
139139the ` assertSimilarGD ` or ` assertNotSimilarGD ` method to use this
140- calculation method for determining the image difference.
140+ calculation method for determining the image difference.
Original file line number Diff line number Diff line change 1313 ],
1414 "require" : {
1515 "php" : " >=8.1" ,
16- "phpunit/phpunit" : " ^10.1" ,
16+ "phpunit/phpunit" : " ^10.1|^11.0 " ,
1717 "ext-gd" : " *"
1818 },
1919 "require-dev" : {
You can’t perform that action at this time.
0 commit comments