Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit 82ae56a

Browse files
committed
Fixed PHPCS problems
1 parent 8d6fa0e commit 82ae56a

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

test/AbstractFactory/ConfigAbstractFactoryTest.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace ZendTest\ServiceManager\AbstractFactory;
1111

12-
1312
use ProxyManager\Factory\LazyLoadingValueHolderFactory;
1413
use Zend\ServiceManager\AbstractFactory\ConfigAbstractFactory;
1514
use Zend\ServiceManager\Proxy\LazyServiceFactory;
@@ -22,15 +21,15 @@
2221
class ConfigAbstractFactoryTest extends \PHPUnit_Framework_TestCase
2322
{
2423

25-
function testCanCreateShortCircuits()
24+
public function testCanCreateShortCircuits()
2625
{
2726
$abstractFactory = new ConfigAbstractFactory();
2827
$serviceManager = new ServiceManager();
2928

3029
self::assertFalse($abstractFactory->canCreate($serviceManager, 'MarcoSucks'));
3130
}
3231

33-
function testCanCreate()
32+
public function testCanCreate()
3433
{
3534
$abstractFactory = new ConfigAbstractFactory();
3635
$serviceManager = new ServiceManager();
@@ -47,7 +46,7 @@ function testCanCreate()
4746
self::assertFalse($abstractFactory->canCreate($serviceManager, ServiceManager::class));
4847
}
4948

50-
function testInvokeWithInvokableClass()
49+
public function testInvokeWithInvokableClass()
5150
{
5251
$abstractFactory = new ConfigAbstractFactory();
5352
$serviceManager = new ServiceManager();
@@ -63,7 +62,7 @@ function testInvokeWithInvokableClass()
6362
self::assertInstanceOf(InvokableObject::class, $abstractFactory($serviceManager, InvokableObject::class));
6463
}
6564

66-
function testInvokeWithSimpleArguments()
65+
public function testInvokeWithSimpleArguments()
6766
{
6867
$abstractFactory = new ConfigAbstractFactory();
6968
$serviceManager = new ServiceManager();
@@ -88,7 +87,7 @@ function testInvokeWithSimpleArguments()
8887
);
8988
}
9089

91-
function testInvokeWithComplexArguments()
90+
public function testInvokeWithComplexArguments()
9291
{
9392
$abstractFactory = new ConfigAbstractFactory();
9493
$serviceManager = new ServiceManager();

test/TestAsset/ComplexDependencyObject.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace ZendTest\ServiceManager\TestAsset;
1111

12-
1312
use Zend\ServiceManager\Proxy\LazyServiceFactory;
1413

1514
class ComplexDependencyObject

test/TestAsset/SimpleDependencyObject.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace ZendTest\ServiceManager\TestAsset;
1111

12-
1312
class SimpleDependencyObject
1413
{
1514
public function __construct(InvokableObject $invokableObject, FailingFactory $failingFactory)

0 commit comments

Comments
 (0)