Skip to content

Commit d0eaa20

Browse files
committed
* #hot-fix. PHP_DEV
1 parent c3694a5 commit d0eaa20

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/controllers/ControllersTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function actionIndex(string $ramlFile)
8383
$this->migrationsDir = self::MIGRATIONS_DIR;
8484

8585
$this->types = $data['types'];
86-
if(env('PHP_DEV') !== false)
86+
if((bool) env('PHP_DEV') === true)
8787
{
8888
$this->createDirs();
8989
$this->options = [

tests/functional/RJApiGeneratorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ function ($class) {
3939

4040
protected function _after()
4141
{
42+
putenv('PHP_DEV=false');
4243
}
4344

4445
public static function tearDownAfterClass()

0 commit comments

Comments
 (0)