mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Fix various warnings in PHP 8.0
This commit is contained in:
parent
f46b41f437
commit
60465fb2db
23 changed files with 65 additions and 55 deletions
|
|
@ -95,7 +95,7 @@ class ContextTest extends \Codeception\TestCase\Test
|
|||
Context::setRequestMethod();
|
||||
Context::setRequestArguments();
|
||||
$this->assertEquals('POST', Context::getRequestMethod());
|
||||
$this->assertNull(Context::getRequestVars()->foo);
|
||||
$this->assertNull(Context::getRequestVars()->foo ?? null);
|
||||
$this->assertNull(Context::get('foo')); // This is different from XE behavior
|
||||
|
||||
$_SERVER['REQUEST_METHOD'] = 'POST';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue