Skip to content

Commit b2e58e7

Browse files
committed
#394 Fix deprecations (dynamic variables)
1 parent 052bcfe commit b2e58e7

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

library/Opus/Doi/DoiMailNotification.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ class DoiMailNotification
6262

6363
private $recipientProvider;
6464

65+
/** @var array */
66+
private $notifications;
67+
6568
public function __construct()
6669
{
6770
$this->notifications = [];

tests/Opus/Model/Dependent/Link/AbstractModelMock.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ class AbstractModelMock extends AbstractModel
4141
/** @var bool */
4242
private $mockValid = true;
4343

44+
/** @var string */
45+
private $_mockDisplayName;
46+
4447
/**
4548
* No fields to add for this mock model so the method has an empty body.
4649
*

tests/Opus/Model/Mock/AbstractDbMock.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ public function __construct($id = null, ?Zend_Db_Table_Abstract $tableGatewayMod
7373
*/
7474
protected function init()
7575
{
76-
$this->_validatorPrefix[] = 'Opus_Model_ValidateTest';
77-
$this->_filterPrefix[] = 'Opus_Model_FilterTest';
78-
7976
$value = new Field('Value');
8077
$this->addField($value);
8178
}

tests/Opus/Model/Mock/AbstractModelMock.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ public function __construct($cons = 'default')
7373
*/
7474
protected function init()
7575
{
76-
$this->validatorPrefix[] = 'Opus_Model_ValidateTest';
77-
$this->filterPrefix[] = 'Opus_Model_FilterTest';
78-
7976
$id = new Field('Id');
8077

8178
$value = new Field('Value');

0 commit comments

Comments
 (0)