Skip to content

Commit d91f567

Browse files
authored
Merge pull request #41 from proget-hq/debug-const
Add YII_DEBUG to checked consts
2 parents bf8194f + 715824d commit d91f567

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceMap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(string $configPath)
2424
throw new \InvalidArgumentException(sprintf('Provided config path %s must exist', $configPath));
2525
}
2626

27+
\defined('YII_DEBUG') or \define('YII_DEBUG', true);
2728
\defined('YII_ENV_DEV') or \define('YII_ENV_DEV', false);
2829
\defined('YII_ENV_PROD') or \define('YII_ENV_PROD', false);
2930
\defined('YII_ENV_TEST') or \define('YII_ENV_TEST', true);

0 commit comments

Comments
 (0)