Update to PHP 8.4, new option lib

This commit is contained in:
2024-09-30 23:39:23 -04:00
parent df436c9ef4
commit 4b29345dc7
16 changed files with 151 additions and 151 deletions

View File

@@ -24,7 +24,7 @@ class ExistsMapperTest extends TestCase
{
try {
Configuration::overrideMode(Mode::PgSQL);
$this->assertFalse((new ExistsMapper())->map([false, 'nope']), 'Result should have been false');
$this->assertFalse(new ExistsMapper()->map([false, 'nope']), 'Result should have been false');
} finally {
Configuration::overrideMode(null);
}
@@ -35,7 +35,7 @@ class ExistsMapperTest extends TestCase
{
try {
Configuration::overrideMode(Mode::SQLite);
$this->assertTrue((new ExistsMapper())->map([1, 'yep']), 'Result should have been true');
$this->assertTrue(new ExistsMapper()->map([1, 'yep']), 'Result should have been true');
} finally {
Configuration::overrideMode(null);
}
@@ -46,6 +46,6 @@ class ExistsMapperTest extends TestCase
{
$this->expectException(DocumentException::class);
Configuration::overrideMode(null);
(new ExistsMapper())->map(['0']);
new ExistsMapper()->map(['0']);
}
}