diff --git a/composer.json b/composer.json index 80628f3..7d8298c 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,8 @@ "license": "MIT", "autoload": { "psr-4": { - "gullevek\\dotEnv\\": "src/" + "gullevek\\dotEnv\\": "src/", + "gullevek\\dotenv\\": "src/" } }, "authors": [ @@ -26,7 +27,7 @@ }, "require-dev": { "phpunit/phpunit": "^9", - "phpstan/phpstan": "1.10.x-dev", - "phan/phan": "v5.x-dev" + "phpstan/phpstan": "^1.10", + "phan/phan": "^5.4" } } diff --git a/test/read_env_file.php b/test/read_env_file.php index d421ca8..58b0f15 100644 --- a/test/read_env_file.php +++ b/test/read_env_file.php @@ -31,4 +31,8 @@ $status = DotEnv::readEnvFile(__DIR__ . DIRECTORY_SEPARATOR . 'env'); print "STATUS: " . (string)$status . "
"; print "ENV:
" . print_r($_ENV, true) . "

"; +$status = gullevek\dotenv\DotEnv::readEnvFile(__DIR__ . DIRECTORY_SEPARATOR . 'env'); +print "STATUS B: " . (string)$status . "
"; +print "ENV B:
" . print_r($_ENV, true) . "

"; + // __END__