63 Commits

Author SHA1 Message Date
b9feacaded Add Block settings to dotenv reader
Now blocks can be set as prefix names for variables via [Block Name] type
grouping.
v2.1.0
2024-08-21 11:41:15 +09:00
646456b86b Github actions cache version update 2024-05-22 17:59:16 +09:00
4b0550b8d2 github action cache folder change 2024-05-22 17:54:04 +09:00
efb99f259e Github action phpstan temp folder location 2024-05-22 17:52:33 +09:00
72f4827985 Github actions tmp cache 2024-05-22 17:48:46 +09:00
d5bf24c8cf Github action cache path change 2024-05-22 17:43:14 +09:00
773f40e2d1 Github actions 2024-05-22 17:42:01 +09:00
0bb137dff6 phpunit xml layout update 2024-05-22 17:06:13 +09:00
7e1a19b86b Note about PHPunit test setup 2024-05-22 17:00:40 +09:00
2524092cd8 phpunit tests 2024-05-22 16:55:55 +09:00
f692ca41b1 phpunit test 2024-05-22 16:52:56 +09:00
b9620704bc Github actions update 2024-05-22 16:38:19 +09:00
5004e3c9d8 Github actions add phpunit tests 2024-05-22 16:33:54 +09:00
e86528a366 git actions update 2024-05-22 15:49:10 +09:00
e99a995a2e CI github work flow added 2024-05-22 15:40:20 +09:00
e29f9fcd88 Add another psr-4 prefix, update composer packages
Previously it was just "gullevek\dotEnv" but now also "gullevek\dotenv"
will work.

Update phan/phpstan composer dev requirement verisons
v2.0.8
2023-03-03 09:32:02 +09:00
ae0eb1f939 Convert phan config to PSR12 2023-01-19 12:45:21 +09:00
c608201de1 Switch to standard PSR-12 with spaces instead of tab v2.0.7 2023-01-19 12:38:37 +09:00
8e062ff114 Add comment to unit test skip condition 2023-01-12 15:07:12 +09:00
225e3e7929 Unit test fixes with permissions
- in case the unit test is run as root, skip test for cannot read (0000)
- set read (0664) for all must read files
- write .env file int all folders for test so that __DIR__ base will
  always find one
2023-01-12 11:42:15 +09:00
44bcb39e51 Delete .gitlab-ci.yml 2023-01-11 08:53:12 +00:00
5729a0c977 Update .gitlab-ci.yml file 2023-01-11 08:49:23 +00:00
9af7790b61 Fix Readme file 2023-01-11 17:15:37 +09:00
0579a075dc Remove bitbucket pipeline, update readme with test tools 2023-01-11 17:14:47 +09:00
58a6d994ca bitbucket pipeline test 2023-01-11 17:06:24 +09:00
233f9fbf81 Dev install phpstan, phan and phplint 2023-01-11 17:00:57 +09:00
8ae06efe4e Remove symlinked .env files 2023-01-11 16:48:28 +09:00
4079d7c66e Merge bitbucket.org:egplusww/code-blocks-dotenv 2023-01-11 16:31:30 +09:00
dd2274f3b1 Auto create .env files 2023-01-11 16:30:51 +09:00
5742314581 Initial Bitbucket Pipelines configuration 2023-01-11 06:46:28 +00:00
3668e6552c Extra check to make sure _ENV array is inited before appending to it v2.0.6 2023-01-06 10:13:20 +09:00
404f6713f8 Remove vendor and composer.lock from main 2022-06-14 07:23:10 +09:00
97b5a669aa Merge branch 'master' of github.com:gullevek/dotEnv
Merge split git repositories back again
2022-06-14 07:20:48 +09:00
899586ac83 Update phpdoc info for error 1 2022-06-09 12:56:32 +09:00
e95e0db218 Update phpdoc info for error 1 v2.0.5 2022-06-09 12:56:11 +09:00
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
0d3e10fe26 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"
v2.0.4
2022-06-09 09:17:21 +09:00
f8e5cb64ad Add git attributes file 2022-06-08 18:20:11 +09:00
1389d5c768 Add git attributes file v2.0.3 2022-06-08 18:19:38 +09:00
2ec6650c99 Readme file update 2022-06-08 15:37:43 +09:00
df23a7a1b1 Update documentation v2.0.2 2022-06-08 15:37:10 +09:00
a7bca09bf4 Comment fix in phpunit test file 2022-06-08 15:32:41 +09:00
652c3554f8 Fix comment in phpunit test file 2022-06-08 15:31:48 +09:00
2c592f0289 Add back vendor folders for development v2.0.1 2022-06-08 14:28:56 +09:00
6ee4358579 Merge branch 'development' 2022-06-08 14:27:20 +09:00
135d3d2dd4 Add gitignore file for phpunit cache 2022-06-08 14:26:58 +09:00
c0f1d9daf7 Merge git.tokyo.tequila.jp:CodeBlocks/dotenv 2022-06-08 14:25:56 +09:00
1f3ec93fb9 Revert to development git ignore file 2022-06-08 14:23:42 +09:00
2c7931b7a5 Add static checker, phpunit config file 2022-06-08 14:12:35 +09:00
914b6c1da8 Clean out files that should not be pushed to git for composer publish 2022-06-08 14:08:55 +09:00