Skip to content

Commit 9d21d8d

Browse files
authored
Merge pull request #174 from MauricioFauth/php83-support
Add PHP 8.3 support
2 parents 291d888 + ecc5dd4 commit 9d21d8d

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

Dockerfile

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,21 @@ RUN export OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | cut -d '"' -f2)
210210
php8.2-xml \
211211
php8.2-xsl \
212212
php8.2-zip \
213+
\
214+
php8.3-cli \
215+
php8.3-bz2 \
216+
php8.3-curl \
217+
php8.3-dev \
218+
php8.3-fileinfo \
219+
php8.3-intl \
220+
php8.3-mbstring \
221+
php8.3-phar \
222+
php8.3-phpdbg \
223+
php8.3-readline \
224+
php8.3-sockets \
225+
php8.3-xml \
226+
php8.3-xsl \
227+
php8.3-zip \
213228
&& apt autoremove -y \
214229
&& apt clean
215230

@@ -250,7 +265,7 @@ COPY composer.json \
250265

251266
RUN cd /tools \
252267
# Install `ext-bcmath` as it seems to be a requirement for `roave/backward-compatibility-check`
253-
&& apt install -y php-bcmath \
268+
&& apt install -y php-bcmath php8.3-bcmath \
254269
&& composer install \
255270
--classmap-authoritative
256271

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ The container the action provides and consumes builds off the ubuntu:focal image
237237
- 8.0
238238
- 8.1
239239
- 8.2
240+
- 8.3
240241

241242
Each provides the following extensions by default:
242243

scripts/php_ini_dev_settings.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SUBSTITUTIONS+=('s/mysqlnd.collect_memory_statistics ?= ?(On|Off)/mysqlnd.collec
1414
SUBSTITUTIONS+=('s/zend.assertions ?= ?(-1|1)/zend.assertions = 1/')
1515
SUBSTITUTIONS+=('s/opcache.huge_code_pages ?= ?(0|1)/opcache.huge_code_pages = 0/')
1616

17-
for PHP_VERSION in 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2;do
17+
for PHP_VERSION in 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3;do
1818
for PHP_SAPI in cli phpdbg; do
1919
INI_FILE="/etc/php/${PHP_VERSION}/${PHP_SAPI}/php.ini"
2020
for SUBSTITUTION in "${SUBSTITUTIONS[@]}";do

0 commit comments

Comments
 (0)