Skip to content

Commit

Permalink
Merge pull request #34 from flownative/task/update-xdebug-to-33x
Browse files Browse the repository at this point in the history
Use Xdebug 3.3.1 for PHP 8
  • Loading branch information
kdambekalns authored Jan 26, 2024
2 parents a7348ac + cf01e8c commit 7707d07
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,8 @@ extensions_xdebug_runtime_packages() {
# @return string
#
extensions_xdebug_url() {
if [[ "${PHP_VERSION}" =~ ^8.3 ]]; then
echo "https://github.com/xdebug/xdebug/archive/refs/heads/master.tar.gz"
elif [[ "${PHP_VERSION}" =~ ^8.2 ]]; then
echo "https://xdebug.org/files/xdebug-3.2.2.tgz"
elif [[ "${PHP_VERSION}" =~ ^8 ]]; then
echo "https://xdebug.org/files/xdebug-3.1.6.tgz"
if [[ "${PHP_VERSION}" =~ ^8 ]]; then
echo "https://xdebug.org/files/xdebug-3.3.1.tgz"
else
echo "https://xdebug.org/files/xdebug-2.9.8.tgz"
fi
Expand Down

0 comments on commit 7707d07

Please sign in to comment.