<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
use Friendica\Console\ServerBlock;
use Friendica\Core\Config\IConfig;
+use Mockery;
class ServerBlockConsoleTest extends ConsoleTest
{
'reason' => 'Illegal content',
]
];
+ /**
+ * @var IConfig|Mockery\LegacyMockInterface|Mockery\MockInterface
+ */
+ private $configMock;
- protected function setUp()
+ protected function setUp() : void
{
parent::setUp();
- $this->configMock = \Mockery::mock(IConfig::class);
+ $this->configMock = Mockery::mock(IConfig::class);
}
/**