Skip to content

Commit 450816b

Browse files
authored
FIXED error for unsupported php 8.4 in xdebug (#1134)
* FIXED error for unsuported php 8.4 version by upgrading xdebug to version 3.4.0beta1 * temporarily fix by disabling php 8.4 deprecation warnings in apiv2
1 parent 929134f commit 450816b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ ENTRYPOINT [ "docker-entrypoint.sh" ]
9393
FROM hashtopolis-server-base as hashtopolis-server-dev
9494

9595
# Setting up development requirements, install xdebug
96-
RUN yes | pecl install xdebug && docker-php-ext-enable xdebug \
96+
RUN yes | pecl install xdebug-3.4.0beta1 && docker-php-ext-enable xdebug \
9797
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
9898
&& echo "xdebug.mode = debug" >> /usr/local/etc/php/conf.d/xdebug.ini \
9999
&& echo "xdebug.start_with_request = yes" >> /usr/local/etc/php/conf.d/xdebug.ini \

src/api/v2/index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88

99
date_default_timezone_set("UTC");
10-
error_reporting(E_ALL);
10+
error_reporting(E_ALL ^ E_DEPRECATED);
1111
ini_set("display_errors", '1');
1212
/**
1313
* Treat warnings as error, very usefull during unit testing.

0 commit comments

Comments
 (0)