Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.49 KB

CHANGELOG.md

File metadata and controls

49 lines (36 loc) · 1.49 KB

version 1.0.1

11/07/2023

  • fix grammatical
  • add documentation

version 1.0.0

11/05/2023

  • initial release of processenv

Test results

vendor/bin/phpunit

PHPUnit 9.6.13 by Sebastian Bergmann and contributors.

Runtime: PHP 8.2.10

Configuration: /var/www/html/phpunit.xml

✔ Cant find env file [2.52 ms]
✔ Get value by magic function [0.53 ms]
✔ Get object from env file as std class by magic function [0.19 ms]
✔ Get object value from env file as std class by magic function [0.10 ms]
✔ Get object from env file as array by magic function [0.31 ms]
✔ Get object value from env file as array by magic function [0.07 ms]
✔ Get value from env file [0.07 ms]
✔ Get object from env file as std class [0.10 ms]
✔ Get object from env file as array [0.09 ms]
✔ Get value from env file as array [0.07 ms]
✔ Get value from env file as array but is string [0.09 ms]
✔ Get value from env file in global env [0.07 ms]
✔ Get value from env file in global server [0.09 ms]
✔ Get value from env file in global env as key array [0.09 ms]
✔ Get value from env file in global server as key array [0.07 ms]
✔ Get all values from env file and global env [0.66 ms]
✔ Get default value by key not exists [0.07 ms]
✔ Get empty string by key not exists [0.06 ms]
✔ Get inline comment value [0.08 ms]
✔ Get inline comment with masked hash value [0.07 ms]

Time: 00:00.008, Memory: 4.00 MB

OK (20 tests, 23 assertions)