Skip to content
Permalink
Browse files

Rename COMPAT_MODE to IGNORE_DEPRECATED

  • Loading branch information
redaxmedia committed Feb 14, 2020
1 parent 7b8a996 commit bfc736d13ad628d84c3481ea13e3d17c1e53167c
Showing with 2 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 tests/unit/bootstrap.php
@@ -70,7 +70,7 @@ jobs:

env:
- TEST=unit
- COMPAT_MODE=true
- IGNORE_DEPRECATED=true

- &test-acceptance
addons:
@@ -4,7 +4,7 @@
use function error_reporting;
use function getenv;

error_reporting(getenv('COMPAT_MODE') ? E_WARNING | E_ERROR | E_PARSE : E_DEPRECATED | E_WARNING | E_ERROR | E_PARSE);
error_reporting(getenv('IGNORE_DEPRECATED') ? E_WARNING | E_ERROR | E_PARSE : E_DEPRECATED | E_WARNING | E_ERROR | E_PARSE);

/* include */

0 comments on commit bfc736d

Please sign in to comment.
You can’t perform that action at this time.