@@ -230,6 +230,10 @@ |
||
230 | 230 | } |
231 | 231 | |
232 | 232 | |
233 | + /** |
|
234 | + * @param string $class |
|
235 | + * @param string $name |
|
236 | + */ |
|
233 | 237 | public function createConfiguration($class = null, $name = null, array $options = array()) |
234 | 238 | { |
235 | 239 | $config = $this |
@@ -240,18 +240,18 @@ |
||
240 | 240 | |
241 | 241 | if ($name !== null) { |
242 | 242 | $config->expects($this->any()) |
243 | - ->method('getName') |
|
244 | - ->will($this->returnValue($name)); |
|
243 | + ->method('getName') |
|
244 | + ->will($this->returnValue($name)); |
|
245 | 245 | } |
246 | 246 | if ($class !== null) { |
247 | 247 | $config->expects($this->any()) |
248 | - ->method('getClass') |
|
249 | - ->will($this->returnValue($class)); |
|
248 | + ->method('getClass') |
|
249 | + ->will($this->returnValue($class)); |
|
250 | 250 | } |
251 | 251 | if ($options !== array()) { |
252 | 252 | $config->expects($this->any()) |
253 | - ->method('getOptions') |
|
254 | - ->will($this->returnValue($options)); |
|
253 | + ->method('getOptions') |
|
254 | + ->will($this->returnValue($options)); |
|
255 | 255 | } |
256 | 256 | |
257 | 257 | return $config; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | call_user_func(function() { |
3 | - if ( ! is_file($autoloadFile = __DIR__.'/../vendor/autoload.php')) { |
|
3 | + if (!is_file($autoloadFile = __DIR__.'/../vendor/autoload.php')) { |
|
4 | 4 | throw new \LogicException('Could not find vendor/autoload.php. Did you forget to run "composer install --dev"?'); |
5 | 5 | } |
6 | 6 | require $autoloadFile; |