Skip to content

Commit

Permalink
Fix: Add opening tags and strict declaration to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Feb 23, 2020
1 parent 9d26d99 commit 28c340c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ $ composer require ergebnis/environment-variables
If you want to read, set, and unset environment variables in an object-oriented way in a production environment, you can use [`Ergebnis\Environment\Variables\Production`](src/Production.php):

```php
<?php

declare(strict_types=1);

use Ergebnis\Environment\Variables;

final class BuildEnvironment
Expand Down Expand Up @@ -61,6 +65,10 @@ If your tests depend on environment variables, you have the following challenges
To solve this problem, you can use [`Ergebnis\Environment\Variables\Test`](src/Test.php):

```php
<?php

declare(strict_types=1);

use Ergebnis\Environment\Variables;
use PHPUnit\Framework;

Expand Down

0 comments on commit 28c340c

Please sign in to comment.