Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions tests/system/Config/DotEnvTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
use PHPUnit\Framework\Attributes\PreserveGlobalState;
use PHPUnit\Framework\Attributes\RunInSeparateProcess;
use PHPUnit\Framework\Attributes\WithoutErrorHandler;
use TypeError;

/**
* @internal
Expand Down Expand Up @@ -115,13 +114,6 @@ public function testLoadsBase64(): void
$this->assertSame('OpenSSL', getenv('encryption.driver'));
}

public function testLoadsNoneStringFiles(): void
{
$this->expectException(TypeError::class);

new DotEnv($this->fixturesFolder, 2);
}

public function testCommentedLoadsVars(): void
{
$dotenv = new DotEnv($this->fixturesFolder, 'commented.env');
Expand Down
7 changes: 1 addition & 6 deletions utils/phpstan-baseline/argument.type.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# total 88 errors
# total 87 errors

parameters:
ignoreErrors:
Expand Down Expand Up @@ -52,11 +52,6 @@ parameters:
count: 4
path: ../../tests/system/Commands/RoutesTest.php

-
message: '#^Parameter \#2 \$file of class CodeIgniter\\Config\\DotEnv constructor expects string, int given\.$#'
count: 1
path: ../../tests/system/Config/DotEnvTest.php

-
message: '#^Parameter \#1 \$expected of method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) expects class\-string\<Config\\TestRegistrar\>, string given\.$#'
count: 1
Expand Down
2 changes: 1 addition & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# total 2837 errors
# total 2836 errors
includes:
- argument.type.neon
- assign.propertyType.neon
Expand Down