From a1b35213be27e7aa63a45705dd0796b0e3a02c6c Mon Sep 17 00:00:00 2001 From: DEVizzent Date: Fri, 23 Jun 2023 00:20:26 +0200 Subject: [PATCH] Add php8.2 to the versions for testing --- .github/workflows/php.yml | 3 +++ .../local/etc/php/conf.d/docker-php-ext-xdebug.ini | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 tests/docker/rootfs/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 607c866..02c4cfb 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -20,6 +20,7 @@ jobs: - "7.4" - "8.0" - "8.1" + - "8.2" dependencies: - "lowest" - "highest" @@ -51,6 +52,8 @@ jobs: symfony-yaml: '^3.4' - php: '8.1' symfony-yaml: '^3.4' + - php: '8.2' + symfony-yaml: '^3.4' runs-on: ${{ matrix.os }} diff --git a/tests/docker/rootfs/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini b/tests/docker/rootfs/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini new file mode 100644 index 0000000..055b8c3 --- /dev/null +++ b/tests/docker/rootfs/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini @@ -0,0 +1,12 @@ +zend_extension=xdebug.so +xdebug.mode=debug +xdebug.start_with_request=yes +xdebug.discover_client_host=false +## You need this for configure it in your IDE +xdebug.idekey="PROJECT_NAME" +## This is for xdebug php cli +xdebug.trigger_value="PROJECT_NAME" +xdebug.client_port=9003 +xdebug.log_level=0 +## And here we set that we do it through docker +xdebug.client_host=host.docker.internal \ No newline at end of file