Skip to content

Commit

Permalink
Fixed WATCHDOG_WARNING.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk authored Aug 6, 2018
1 parent 26ce802 commit 6ea5a01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/D7/WatchdogTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public function checkWatchdog(AfterScenarioScope $scope) {
->execute()
->fetchAll();

if (!defined(WATCHDOG_WARNING)) {
define(WATCHDOG_WARNING, 4);
if (!defined('WATCHDOG_WARNING')) {
define('WATCHDOG_WARNING', 4);
}

if (!empty($entries)) {
Expand Down
4 changes: 2 additions & 2 deletions src/D8/WatchdogTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public function checkWatchdog(AfterScenarioScope $scope) {
->execute()
->fetchAll();

if (!defined(WATCHDOG_WARNING)) {
define(WATCHDOG_WARNING, 4);
if (!defined('WATCHDOG_WARNING')) {
define('WATCHDOG_WARNING', 4);
}

if (!empty($entries)) {
Expand Down

0 comments on commit 6ea5a01

Please sign in to comment.