Completed
Branch master (9d6e17)
by Tomasz
09:43
created
Tests/Request/ParamConverter/ServiceParamConverterTest.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -230,6 +230,10 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -240,18 +240,18 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.