From 621bcd05e8e9ec5cd9ba6b375845b7440d523137 Mon Sep 17 00:00:00 2001 From: Marty Wallace Date: Fri, 30 Jun 2017 11:40:59 +1000 Subject: [PATCH] Don't require dev value to be set in .env. --- composer.json | 2 +- src/Tempest/Env.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 0bc5664..c26f988 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "martywallace/tempest", - "version": "4.1.0", + "version": "4.1.1", "description": "A tiny PHP framework.", "homepage": "https://github.com/MartyWallace/Tempest", "type": "library", diff --git a/src/Tempest/Env.php b/src/Tempest/Env.php index 9d7bca5..385e884 100644 --- a/src/Tempest/Env.php +++ b/src/Tempest/Env.php @@ -26,8 +26,6 @@ public static function load($root) { if (is_file(rtrim($root, '/') . '/.env')) { self::$_env = new DotEnv($root); self::$_env->load(); - - self::$_env->required('dev')->allowedValues(['true', 'false']); } else { // No .env variables declared. // ...