3 Commits

Author SHA1 Message Date
1389d5c768 Add git attributes file 2022-06-08 18:19:38 +09:00
df23a7a1b1 Update documentation 2022-06-08 15:37:10 +09:00
652c3554f8 Fix comment in phpunit test file 2022-06-08 15:31:48 +09:00
3 changed files with 20 additions and 2 deletions

6
.gitattributes vendored Normal file
View File

@@ -0,0 +1,6 @@
test/ export-ignore
phpstan.neon export-ignore
phpunit.xml export-ignore
psalm.xml export-ignore
.phan/ export-ignore
.* export-ignore

View File

@@ -9,7 +9,19 @@ repository. The `.env` should *NEVER* be checked into anything
## How to install
`comoser require gullevek/dotEnv`
`composer require gullevek/dotEnv`
## Run it
Create a `.env` file in the current folder.
Create a file like below
```php
require '../vendor/autoload.php';
gullevek\dotEnv\DotEnv::readEnvFile(__DIR__);
```
All data will be in the `$_ENV` array
## How it works

View File

@@ -7,7 +7,7 @@ namespace tests;
use PHPUnit\Framework\TestCase;
/**
* Test class for ACL\Login
* Test class for DotEnv
* @coversDefaultClass \gullevek\DotEnv
* @testdox \gullevek\DotEnv method tests
*/