Skip to content
Permalink
Browse files

Suppress new PHP 7.4 error regarding array offset access with type int

  • Loading branch information...
derickr committed Jul 11, 2019
1 parent ff34ac1 commit f3544fbc325cba69b2b9500e9bac80ac373cb103
Showing with 8 additions and 8 deletions.
  1. +1 −1 .appveyor/build_task.cmd
  2. +6 −6 .circleci/config.yml
  3. +1 −1 .travis.yml
@@ -45,7 +45,7 @@ setlocal enableextensions enabledelayedexpansion
mkdir c:\tests_tmp
set TEST_PHP_EXECUTABLE=%APPVEYOR_BUILD_FOLDER%\build\php.exe
set TEST_PHP_JUNIT=c:\tests_tmp\tests-junit.xml
set TEST_PHP_ARGS=-n -d -foo=1 -d zend_extension=%APPVEYOR_BUILD_FOLDER%\build\ext\php_opcache.dll -d zend_extension=%APPVEYOR_BUILD_FOLDER%\build\ext\php_xdebug.dll -dxdebug.remote_enable=1
set TEST_PHP_ARGS=-n -d -foo=yes -d zend_extension=%APPVEYOR_BUILD_FOLDER%\build\ext\php_opcache.dll -d zend_extension=%APPVEYOR_BUILD_FOLDER%\build\ext\php_xdebug.dll -dxdebug.remote_enable=1
rem set SKIP_DBGP_TESTS=1
set SKIP_IPV6_TESTS=1
set REPORT_EXIT_STATUS=1
@@ -27,7 +27,7 @@ jobs:
- run:
name: Setup extra env vars
command: |
echo 'export TEST_PHP_ARGS="-n -d foo=1 -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
echo 'export TEST_PHP_ARGS="-n -d foo=yes -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
- run-tests
environment:
REPORT_EXIT_STATUS: 1
@@ -41,7 +41,7 @@ jobs:
- run:
name: Setup extra env vars
command: |
echo 'export TEST_PHP_ARGS="-n -d foo=1 -d zend_extension=opcache.so -d opcache.enable=1 -d opcache.enable_cli=1 -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
echo 'export TEST_PHP_ARGS="-n -d foo=yes -d zend_extension=opcache.so -d opcache.enable=1 -d opcache.enable_cli=1 -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
- run-tests
environment:
REPORT_EXIT_STATUS: 1
@@ -55,7 +55,7 @@ jobs:
- run:
name: Setup extra env vars
command: |
echo 'export TEST_PHP_ARGS="-n -d foo=1 -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
echo 'export TEST_PHP_ARGS="-n -d foo=yes -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
- run-tests
environment:
REPORT_EXIT_STATUS: 1
@@ -69,7 +69,7 @@ jobs:
- run:
name: Setup extra env vars
command: |
echo 'export TEST_PHP_ARGS="-n -d foo=1 -d zend_extension=opcache.so -d opcache.enable=1 -d opcache.enable_cli=1 -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
echo 'export TEST_PHP_ARGS="-n -d foo=yes -d zend_extension=opcache.so -d opcache.enable=1 -d opcache.enable_cli=1 -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
- run-tests
environment:
REPORT_EXIT_STATUS: 1
@@ -83,7 +83,7 @@ jobs:
- run:
name: Setup extra env vars
command: |
echo 'export TEST_PHP_ARGS="-n -d foo=1 -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
echo 'export TEST_PHP_ARGS="-n -d foo=yes -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
- run-tests
environment:
REPORT_EXIT_STATUS: 1
@@ -97,7 +97,7 @@ jobs:
- run:
name: Setup extra env vars
command: |
echo 'export TEST_PHP_ARGS="-n -d foo=1 -d zend_extension=opcache.so -d opcache.enable=1 -d opcache.enable_cli=1 -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
echo 'export TEST_PHP_ARGS="-n -d foo=yes -d zend_extension=opcache.so -d opcache.enable=1 -d opcache.enable_cli=1 -d zend_extension=${CWD}/modules/xdebug.so"' >> $BASH_ENV
- run-tests
environment:
REPORT_EXIT_STATUS: 1
@@ -35,7 +35,7 @@ script:
- sudo sh -c 'echo "\n::1 localhost\n" >> /etc/hosts'
- export TEST_PHP_EXECUTABLE=`make findphp`
- export PATH=`dirname $TEST_PHP_EXECUTABLE`:$PATH
- TEST_PHP_ARGS="-n -d foo=1"
- TEST_PHP_ARGS="-n -d foo=yes"
- if [[ "$USE_OPCACHE" == "1" ]]; then TEST_PHP_ARGS="$TEST_PHP_ARGS -d zend_extension=opcache.so -d opcache.enable=1 -d opcache.enable_cli=1"; fi
- export TEST_PHP_ARGS="$TEST_PHP_ARGS -d zend_extension=$PWD/modules/xdebug.so"
- export REPORT_EXIT_STATUS=1

0 comments on commit f3544fb

Please sign in to comment.
You can’t perform that action at this time.