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
@@ -109,13 +108,6 @@ public function testLoadsBase64(): void
109108 $ this ->assertSame ('OpenSSL ' , getenv ('encryption.driver ' ));
110109 }
111110
112- public function testLoadsNoneStringFiles (): void
113- {
114- $ this ->expectException (TypeError::class);
115-
116- new DotEnv ($ this ->fixturesFolder , 2 );
117- }
118-
119111 public function testCommentedLoadsVars (): void
120112 {
121113 $ 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 2844 errors
1+ # total 2843 errors
22includes :
33 - argument.type.neon
44 - assign.propertyType.neon
You can’t perform that action at this time.
0 commit comments