Skip to content

Commit f61c836

Browse files
committedDec 21, 2020
Add PHP8 support
1 parent 82c620e commit f61c836

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed
 

‎.travis.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,20 @@ php:
44
- 7.2
55
- 7.3
66
- 7.4
7+
- 8.0
8+
9+
env:
10+
global:
11+
- COMPOSER_MEMORY_LIMIT=-1
12+
- XDEBUG_MODE=coverage
713

814
cache:
915
directories:
1016
- $HOME/.composer/cache
1117

1218
install:
13-
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction --prefer-dist
14-
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls
19+
- travis_retry composer install --no-interaction --prefer-dist
20+
- travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls
1521

1622
script: vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
1723

‎composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"email": "dmitry.g.ivanov@gmail.com"
1313
}],
1414
"require": {
15-
"php": "^7.2.5",
15+
"php": "^7.2.5|^8.0",
1616
"ext-dom": "*",
1717
"ext-json": "*",
1818
"ext-simplexml": "*",
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#0 backtrace_as_string() called at [/Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:47]
2-
#1 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->anotherExtraMethod() called at [/Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:37]
3-
#2 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->getBacktrace() called at [/Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:13]
1+
#0 backtrace_as_string() called at [/Users/maind/Code/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:47]
2+
#1 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->anotherExtraMethod() called at [/Users/maind/Code/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:37]
3+
#2 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->getBacktrace() called at [/Users/maind/Code/illuminated/helper-functions/tests/debug/BacktraceAsStringTest.php:13]
44
#3 Illuminated\Helpers\Tests\Debug\BacktraceAsStringTest->it_returns_backtrace_as_string_without_args()
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#0 /Applications/MAMP/htdocs/illuminated/helper-functions/src/debug.php:27
2-
#1 /Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:47
3-
#2 /Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:37
4-
#3 /Applications/MAMP/htdocs/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:13
1+
#0 /Users/maind/Code/illuminated/helper-functions/src/debug.php:27
2+
#1 /Users/maind/Code/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:47
3+
#2 /Users/maind/Code/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:37
4+
#3 /Users/maind/Code/illuminated/helper-functions/tests/debug/MinimizedBacktraceAsStringTest.php:13

0 commit comments

Comments
 (0)
Please sign in to comment.