Completed
Pull Request — master (#16)
by Nikola
01:26
created
DependencyInjection/GoAopExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function getXsdValidationBasePath()
33 33
     {
34
-        return __DIR__ . '/../Resources/config/schema';
34
+        return __DIR__.'/../Resources/config/schema';
35 35
     }
36 36
 
37 37
     /**
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         }
58 58
         $container->setParameter('goaop.options', $normalizedOptions);
59 59
 
60
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
60
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
61 61
         $loader->load('services.xml');
62 62
 
63 63
         if ($config['cache_warmer']) {
Please login to merge, or discard this patch.
Tests/DependencyInjection/GoAopExtensionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             $this->assertContainerBuilderHasService($id);
42 42
         }
43 43
 
44
-        $this->assertEquals(8, count(array_filter($this->container->getDefinitions(), function ($id) {
44
+        $this->assertEquals(8, count(array_filter($this->container->getDefinitions(), function($id) {
45 45
             return 0 === strpos($id, 'goaop.');
46 46
         }, ARRAY_FILTER_USE_KEY)));
47 47
     }
Please login to merge, or discard this patch.
CacheWarmer/AspectCacheWarmer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         $enumerator = new Enumerator($options['appDir'], $options['includePaths'], $options['excludePaths']);
80 80
         $iterator   = $enumerator->enumerate();
81 81
 
82
-        set_error_handler(function ($errno, $errstr, $errfile, $errline) {
82
+        set_error_handler(function($errno, $errstr, $errfile, $errline) {
83 83
             throw new \ErrorException($errstr, $errno, 0, $errfile, $errline);
84 84
         });
85 85
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
                 file_get_contents(
91 91
                     FilterInjectorTransformer::PHP_FILTER_READ.
92 92
                     SourceTransformingLoader::FILTER_IDENTIFIER.
93
-                    "/resource=" . $realPath
93
+                    "/resource=".$realPath
94 94
                 );
95 95
             } catch (\Exception $e) {
96 96
                 /* noop */
Please login to merge, or discard this patch.