Skip to content

Commit 73f04bd

Browse files
committed
Add current PHP versions to testing build
Ignores deprecation warnings, that happen in PHPUnit 6 on PHP 7.4.
1 parent 41f3503 commit 73f04bd

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ matrix:
1212
- php: '7.0'
1313
- php: '7.1'
1414
- php: '7.2'
15+
- php: '7.3'
16+
- php: '7.4'
1517

1618
cache:
1719
directories:

tests/bootstrap.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
1717
*/
1818

19+
// Ignore deprecation warnings that occur in PHPUnit 6 on PHP 7.4
20+
error_reporting(E_ALL & ~E_DEPRECATED);
21+
1922
define('TESTS_PATH', __DIR__);
2023
define('TESTS_TEMP_DIR', __DIR__.'/temp');
2124
define('VENDOR_PATH', realpath(__DIR__.'/../vendor'));

0 commit comments

Comments
 (0)