Completed
Push — master ( 487c4e...3ebe8c )
by Dan
06:24 queued 11s
created
src/Knp/FriendlyContexts/Alice/Fixtures/Alice2/Loader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,11 +32,11 @@
 block discarded – undo
32 32
         parent::instantiateFixtures($fixtures);
33 33
 
34 34
         foreach ($fixtures as $fixture) {
35
-            $spec = array_map(function ($property) {
35
+            $spec = array_map(function($property) {
36 36
                 return $property->getValue();
37 37
             }, $fixture->getProperties());
38 38
 
39
-            $this->cache[] = [ $spec, $this->objects->get($fixture->getName()) ];
39
+            $this->cache[] = [$spec, $this->objects->get($fixture->getName())];
40 40
         }
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
src/Knp/FriendlyContexts/Alice/Fixtures/Alice3/Loader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
     public function load($filename)
54 54
     {
55
-        if ( ! is_array($filename)) {
55
+        if (!is_array($filename)) {
56 56
             $filename = array($filename);
57 57
         }
58 58
         return $this->loader->loadFiles($filename)->getObjects();
Please login to merge, or discard this patch.
src/Knp/FriendlyContexts/Context/AliceContext.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@
 block discarded – undo
47 47
             }
48 48
 
49 49
             $this->getEntityManager()->flush();
50
-        }
51
-        else {
50
+        } else {
52 51
             foreach ($fixtures as $id => $fixture) {
53 52
                 if (in_array($id, $files)) {
54 53
                     foreach ($loader->load($fixture) as $object) {
Please login to merge, or discard this patch.
testapp/app/AppKernel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
 
20 20
     public function registerContainerConfiguration(LoaderInterface $loader)
21 21
     {
22
-        $loader->load($this->getProjectDir() . '/app/config/config_' . $this->getEnvironment() . '.yml');
22
+        $loader->load($this->getProjectDir().'/app/config/config_'.$this->getEnvironment().'.yml');
23 23
     }
24 24
 
25 25
     public function getProjectDir()
26 26
     {
27
-        return realpath(__DIR__ . '/../');
27
+        return realpath(__DIR__.'/../');
28 28
     }
29 29
 }
Please login to merge, or discard this patch.