Skip to content

Commit e63cc09

Browse files
committed
Fix E_DEPRECATED warnings caused by PHPUnit
1 parent b8e74ee commit e63cc09

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Tests/bootstrap.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
require_once 'vendor/autoload.php';
3+
4+
// Turn off E_DEPRECATED caused by outdated PHPUnit
5+
$errorReporting = error_reporting();
6+
error_reporting($errorReporting & ~E_DEPRECATED);

0 commit comments

Comments
 (0)