Skip to content

Commit 01126fb

Browse files
committed
Fix xdebug on PHP 8.2
1 parent e589728 commit 01126fb

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.ansible/group_vars/all/mods.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,8 @@ extensions_available:
13801380
8.2:
13811381
type: git
13821382
git_url: https://github.com/xdebug/xdebug
1383-
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
1383+
# FIXME: revert to latest tag once PHP 8.2 support is out of alpha/beta
1384+
git_ref: 3.2.0RC2
13841385
configure: --enable-xdebug
13851386
8.1:
13861387
type: git

Dockerfiles/mods/Dockerfile-8.2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ RUN set -eux \
682682
&& git clone https://github.com/xdebug/xdebug /tmp/xdebug \
683683
&& cd /tmp/xdebug \
684684
# Custom: Branch
685-
&& git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \
685+
&& git checkout 3.2.0RC2 \
686686
# Default: Install command
687687
&& phpize \
688688
&& ./configure --enable-xdebug \

php_modules/xdebug/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ all:
1111
8.2:
1212
type: git
1313
git_url: https://github.com/xdebug/xdebug
14-
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
14+
# FIXME: revert to latest tag once PHP 8.2 support is out of alpha/beta
15+
git_ref: 3.2.0RC2
1516
configure: --enable-xdebug
1617

1718
8.1:

0 commit comments

Comments
 (0)