mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Update for PHP7.4 compatibility + UnitTests
This commit is contained in:
parent
493c12846a
commit
b99217f2c0
9 changed files with 51 additions and 75 deletions
|
@ -13,7 +13,7 @@ class Resque_Tests_EventTest extends Resque_Tests_TestCase
|
|||
private $callbacksHit = [];
|
||||
private $worker;
|
||||
|
||||
public function setUp()
|
||||
public function setUp(): void
|
||||
{
|
||||
Test_Job::$called = false;
|
||||
|
||||
|
@ -23,7 +23,7 @@ class Resque_Tests_EventTest extends Resque_Tests_TestCase
|
|||
$this->worker->registerWorker();
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
public function tearDown(): void
|
||||
{
|
||||
Resque_Event::clearListeners();
|
||||
$this->callbacksHit = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue