Commit Graph

2 Commits

Author SHA1 Message Date
74b0d02a7c Ignore comments at the end of line
If the variable value had no quotes a comment at the end of the
line was added to the variable.
 Spaces between text and comment mark will be removed too

Old:
FOO=Test # Comment -> $_ENV['FOO'] = "Test # Comment"

New:
FOO=Test # Comment -> $_ENV['FOO'] = "Test"
2022-06-09 09:20:29 +09:00
b73a24b447 Class rename, composer add, phpUnit tests add
Rename the class from ReadEnvFile to DotEnv.
Add everything to a composer json file so it can be published to
composer repository.
Add phpUnit tests for system
2022-06-08 11:24:23 +09:00