diff --git a/.travis.yml b/.travis.yml index ca4c1d5..44422f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,14 +3,20 @@ language: php php: - 7.3 - 7.4 + - 8.0 + +env: + global: + - COMPOSER_MEMORY_LIMIT=-1 + - XDEBUG_MODE=coverage cache: directories: - $HOME/.composer/cache install: - - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction --prefer-dist - - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls + - travis_retry composer install --no-interaction --prefer-dist + - travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls script: vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml diff --git a/composer.json b/composer.json index 008f1da..69d1d5c 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "email": "dmitry.g.ivanov@gmail.com" }], "require": { - "php": "^7.3", + "php": "^7.3|^8.0", "ext-dom": "*", "ext-json": "*", "ext-simplexml": "*", diff --git a/tests/debug/BacktraceAsStringTest/backtrace.txt b/tests/debug/BacktraceAsStringTest/backtrace.txt index 27e3bc9..9c8ca0c 100644 --- a/tests/debug/BacktraceAsStringTest/backtrace.txt +++ b/tests/debug/BacktraceAsStringTest/backtrace.txt @@ -1,4 +1,4 @@ -#0 backtrace_as_string() called at [/Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:47] -#1 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->anotherExtraMethod() called at [/Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:37] -#2 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->getBacktrace() called at [/Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:13] +#0 backtrace_as_string() called at [/Users/maind/Code/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:47] +#1 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->anotherExtraMethod() called at [/Users/maind/Code/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:37] +#2 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->getBacktrace() called at [/Users/maind/Code/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:13] #3 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->it_returns_backtrace_as_string_without_args() \ No newline at end of file diff --git a/tests/debug/MinimizedBacktraceAsStringTest/backtrace.txt b/tests/debug/MinimizedBacktraceAsStringTest/backtrace.txt index 719f2ec..9be7e5e 100644 --- a/tests/debug/MinimizedBacktraceAsStringTest/backtrace.txt +++ b/tests/debug/MinimizedBacktraceAsStringTest/backtrace.txt @@ -1,4 +1,4 @@ -#0 /Applications/MAMP/htdocs/illuminated/helper-functions/src/debug.php:27 -#1 /Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:47 -#2 /Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:37 -#3 /Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:13 \ No newline at end of file +#0 /Users/maind/Code/illuminated/helper-functions/src/debug.php:27 +#1 /Users/maind/Code/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:47 +#2 /Users/maind/Code/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:37 +#3 /Users/maind/Code/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:13 \ No newline at end of file