mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Made test properties to be private instead of protected
This commit is contained in:
@@ -14,9 +14,9 @@ use Symfony\Component\Console\Tester\CommandTester;
|
||||
class DisableKeyCommandTest extends TestCase
|
||||
{
|
||||
/** @var CommandTester */
|
||||
protected $commandTester;
|
||||
private $commandTester;
|
||||
/** @var ObjectProphecy */
|
||||
protected $apiKeyService;
|
||||
private $apiKeyService;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -16,9 +16,9 @@ use Symfony\Component\Console\Tester\CommandTester;
|
||||
class GenerateKeyCommandTest extends TestCase
|
||||
{
|
||||
/** @var CommandTester */
|
||||
protected $commandTester;
|
||||
private $commandTester;
|
||||
/** @var ObjectProphecy */
|
||||
protected $apiKeyService;
|
||||
private $apiKeyService;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -14,9 +14,9 @@ use Symfony\Component\Console\Tester\CommandTester;
|
||||
class ListKeysCommandTest extends TestCase
|
||||
{
|
||||
/** @var CommandTester */
|
||||
protected $commandTester;
|
||||
private $commandTester;
|
||||
/** @var ObjectProphecy */
|
||||
protected $apiKeyService;
|
||||
private $apiKeyService;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ use function str_split;
|
||||
class GenerateCharsetCommandTest extends TestCase
|
||||
{
|
||||
/** @var CommandTester */
|
||||
protected $commandTester;
|
||||
private $commandTester;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ use function substr_count;
|
||||
class GeneratePreviewCommandTest extends TestCase
|
||||
{
|
||||
/** @var CommandTester */
|
||||
protected $commandTester;
|
||||
private $commandTester;
|
||||
/** @var ObjectProphecy */
|
||||
private $previewGenerator;
|
||||
/** @var ObjectProphecy */
|
||||
|
||||
@@ -18,9 +18,9 @@ use Symfony\Component\Console\Tester\CommandTester;
|
||||
class GenerateShortUrlCommandTest extends TestCase
|
||||
{
|
||||
/** @var CommandTester */
|
||||
protected $commandTester;
|
||||
private $commandTester;
|
||||
/** @var ObjectProphecy */
|
||||
protected $urlShortener;
|
||||
private $urlShortener;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -21,9 +21,9 @@ use function strpos;
|
||||
class GetVisitsCommandTest extends TestCase
|
||||
{
|
||||
/** @var CommandTester */
|
||||
protected $commandTester;
|
||||
private $commandTester;
|
||||
/** @var ObjectProphecy */
|
||||
protected $visitsTracker;
|
||||
private $visitsTracker;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -17,9 +17,9 @@ use Zend\Paginator\Paginator;
|
||||
class ListShortUrlsCommandTest extends TestCase
|
||||
{
|
||||
/** @var CommandTester */
|
||||
protected $commandTester;
|
||||
private $commandTester;
|
||||
/** @var ObjectProphecy */
|
||||
protected $shortUrlService;
|
||||
private $shortUrlService;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -17,9 +17,9 @@ use const PHP_EOL;
|
||||
class ResolveUrlCommandTest extends TestCase
|
||||
{
|
||||
/** @var CommandTester */
|
||||
protected $commandTester;
|
||||
private $commandTester;
|
||||
/** @var ObjectProphecy */
|
||||
protected $urlShortener;
|
||||
private $urlShortener;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -9,7 +9,7 @@ use Shlinkio\Shlink\CLI\ConfigProvider;
|
||||
class ConfigProviderTest extends TestCase
|
||||
{
|
||||
/** @var ConfigProvider */
|
||||
protected $configProvider;
|
||||
private $configProvider;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ use function array_merge;
|
||||
class ApplicationFactoryTest extends TestCase
|
||||
{
|
||||
/** @var ApplicationFactory */
|
||||
protected $factory;
|
||||
private $factory;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user