@@ -79,16 +79,18 @@ public function testConfigure(): void
7979 $ package ->setConfig ([
8080 ConfiguratorContract::TYPE => [
8181 EnvConfigurator::getName () => [
82- 'APP_ENV ' => 'test bar ' ,
83- 'APP_DEBUG ' => '0 ' ,
84- 'APP_PARAGRAPH ' => "foo \n\"bar \"\\t " ,
85- 'DATABASE_URL ' => 'mysql://root@127.0.0.1:3306/narrowspark?charset=utf8mb4&serverVersion=5.7 ' ,
86- 'MAILER_URL ' => 'null://localhost ' ,
87- 'MAILER_USER ' => 'narrow ' ,
88- '#1 ' => 'Comment 1 ' ,
89- '#2 ' => 'Comment 3 ' ,
90- '#TRUSTED_SECRET ' => 's3cretf0rt3st"<> ' ,
91- 'APP_SECRET ' => 's3cretf0rt3st"<> ' ,
82+ 'APP_ENV ' => 'test bar ' ,
83+ 'APP_DEBUG ' => '0 ' ,
84+ 'APP_PARAGRAPH ' => "foo \n\"bar \"\\t " ,
85+ 'DATABASE_URL ' => 'mysql://root@127.0.0.1:3306/narrowspark?charset=utf8mb4&serverVersion=5.7 ' ,
86+ 'MAILER_URL ' => 'null://localhost ' ,
87+ 'MAILER_USER ' => 'narrow ' ,
88+ '#1 ' => 'Comment 1 ' ,
89+ '#2 ' => 'Comment 3 ' ,
90+ '#TRUSTED_SECRET ' => 's3cretf0rt3st"<> ' ,
91+ 'APP_SECRET ' => 's3cretf0rt3st"<> ' ,
92+ 'BOOL ' => false ,
93+ 'VALID_NUMBER_TRUE ' => 1 ,
9294 ],
9395 ],
9496 ]);
@@ -107,10 +109,11 @@ public function testConfigure(): void
107109# Comment 3
108110#TRUSTED_SECRET="s3cretf0rt3st\"<>"
109111APP_SECRET="s3cretf0rt3st\"<>"
112+ BOOL=false
113+ VALID_NUMBER_TRUE=1
110114###< fixtures/test ###
111115
112116EOF;
113-
114117 // Skip on second call
115118 $ this ->configurator ->configure ($ package );
116119
0 commit comments