Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Zend\ServiceManager - CS fixes for master #5333

Merged
merged 1 commit into from

2 participants

@turrsis

No description provided.

@Maks3w Maks3w was assigned
@Maks3w Maks3w merged commit 297a8b0 into from
@turrsis

@Maks3w can you say - which parameters needed for php-cs-fixer ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 24, 2013
  1. @turrsis

    CS fixes

    turrsis authored
This page is out of date. Refresh to see the latest.
View
2  tests/ZendTest/ServiceManager/AbstractPluginManagerTest.php
@@ -158,7 +158,7 @@ public function testSingleDelegatorUsage()
)
->will($this->returnValue($delegator));
- $pluginManager->setFactory('foo-service', function() use ($realService) {
+ $pluginManager->setFactory('foo-service', function () use ($realService) {
return $realService;
});
$pluginManager->addDelegator('foo-service', $delegatorFactory);
View
4 tests/ZendTest/ServiceManager/ServiceManagerTest.php
@@ -942,12 +942,12 @@ public function testDelegatorFromCallback()
$realService = $this->getMock('stdClass', array(), array(), 'RealService');
$delegator = $this->getMock('stdClass', array(), array(), 'Delegator');
- $delegatorFactoryCallback = function($serviceManager, $cName, $rName, $callback) use ($delegator) {
+ $delegatorFactoryCallback = function ($serviceManager, $cName, $rName, $callback) use ($delegator) {
$delegator->real = call_user_func($callback);
return $delegator;
};
- $this->serviceManager->setFactory('foo-service', function() use ($realService) { return $realService; } );
+ $this->serviceManager->setFactory('foo-service', function () use ($realService) { return $realService; } );
$this->serviceManager->addDelegator('foo-service', $delegatorFactoryCallback);
$service = $this->serviceManager->create('foo-service');
Something went wrong with that request. Please try again.