File tree Expand file tree Collapse file tree 3 files changed +2
-15
lines changed Expand file tree Collapse file tree 3 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 2222use PHPUnit \Framework \Attributes \PreserveGlobalState ;
2323use PHPUnit \Framework \Attributes \RunInSeparateProcess ;
2424use PHPUnit \Framework \Attributes \WithoutErrorHandler ;
25- use TypeError ;
2625
2726/**
2827 * @internal
@@ -115,13 +114,6 @@ public function testLoadsBase64(): void
115114 $ this ->assertSame ('OpenSSL ' , getenv ('encryption.driver ' ));
116115 }
117116
118- public function testLoadsNoneStringFiles (): void
119- {
120- $ this ->expectException (TypeError::class);
121-
122- new DotEnv ($ this ->fixturesFolder , 2 );
123- }
124-
125117 public function testCommentedLoadsVars (): void
126118 {
127119 $ dotenv = new DotEnv ($ this ->fixturesFolder , 'commented.env ' );
Original file line number Diff line number Diff line change 1- # total 88 errors
1+ # total 87 errors
22
33parameters :
44 ignoreErrors :
@@ -52,11 +52,6 @@ parameters:
5252 count : 4
5353 path : ../../tests/system/Commands/RoutesTest.php
5454
55- -
56- message : ' #^Parameter \#2 \$file of class CodeIgniter\\Config\\DotEnv constructor expects string, int given\.$#'
57- count : 1
58- path : ../../tests/system/Config/DotEnvTest.php
59-
6055 -
6156 message : ' #^Parameter \#1 \$expected of method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) expects class\-string\<Config\\TestRegistrar\>, string given\.$#'
6257 count : 1
Original file line number Diff line number Diff line change 1- # total 2837 errors
1+ # total 2836 errors
22includes :
33 - argument.type.neon
44 - assign.propertyType.neon
You can’t perform that action at this time.
0 commit comments