Fix xdebug on PHP 8.2

This commit is contained in:
cytopia
2022-11-29 06:04:58 +01:00
parent e589728280
commit 01126fb861
3 changed files with 5 additions and 3 deletions

View File

@@ -1380,7 +1380,8 @@ extensions_available:
8.2:
type: git
git_url: https://github.com/xdebug/xdebug
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
# FIXME: revert to latest tag once PHP 8.2 support is out of alpha/beta
git_ref: 3.2.0RC2
configure: --enable-xdebug
8.1:
type: git

View File

@@ -682,7 +682,7 @@ RUN set -eux \
&& git clone https://github.com/xdebug/xdebug /tmp/xdebug \
&& cd /tmp/xdebug \
# Custom: Branch
&& git checkout $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1) \
&& git checkout 3.2.0RC2 \
# Default: Install command
&& phpize \
&& ./configure --enable-xdebug \

View File

@@ -11,7 +11,8 @@ all:
8.2:
type: git
git_url: https://github.com/xdebug/xdebug
git_ref: $(git tag | grep -E '^[.0-9]+$' | sort -V | tail -1)
# FIXME: revert to latest tag once PHP 8.2 support is out of alpha/beta
git_ref: 3.2.0RC2
configure: --enable-xdebug
8.1: