mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 21:56:31 +02:00
Also remove deprecation warnings when running outside of travis on php 7.4
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<phpunit bootstrap="vendor/autoload.php" colors="true">
|
<phpunit bootstrap="tests/bootstrap.php" colors="true">
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Monolog Test Suite">
|
<testsuite name="Monolog Test Suite">
|
||||||
<directory>tests/Monolog/</directory>
|
<directory>tests/Monolog/</directory>
|
||||||
|
9
tests/bootstrap.php
Normal file
9
tests/bootstrap.php
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if (PHP_VERSION_ID >= 70400) {
|
||||||
|
error_reporting(E_ALL & ~E_DEPRECATED);
|
||||||
|
} else {
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
}
|
||||||
|
|
||||||
|
include __DIR__.'/../vendor/autoload.php';
|
Reference in New Issue
Block a user