File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 19
19
use function in_array ;
20
20
use function is_dir ;
21
21
use function is_file ;
22
+ use function ksort ;
22
23
use function restore_error_handler ;
23
24
use function set_error_handler ;
24
25
use function sha1_file ;
@@ -81,10 +82,15 @@ public function loadContainer(): string
81
82
82
83
$ attributesPhp = __DIR__ . '/../../vendor/attributes.php ' ;
83
84
85
+ $ staticParameters = $ this ->staticParameters ;
86
+ ksort ($ staticParameters ['env ' ]);
87
+ unset($ staticParameters ['env ' ]['_ ' ]);
88
+ unset($ staticParameters ['env ' ]['SHLVL ' ]);
89
+
84
90
$ className = $ loader ->load (
85
91
[$ this , 'generateContainer ' ],
86
92
[
87
- $ this -> staticParameters ,
93
+ $ staticParameters ,
88
94
array_keys ($ this ->dynamicParameters ),
89
95
$ this ->configs ,
90
96
PHP_VERSION_ID - PHP_RELEASE_VERSION ,
You can’t perform that action at this time.
0 commit comments