Completed
Pull Request — master (#16)
by Nikola
03:04 queued 01:42
created
DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
                         ->scalarNode('features')
41 41
                             ->beforeNormalization()
42 42
                                 ->ifArray()
43
-                                ->then(function ($v) use ($features) {
43
+                                ->then(function($v) use ($features) {
44 44
                                     $featureMask = 0;
45 45
                                     foreach ($v as $featureName) {
46 46
                                         $featureName = strtoupper($featureName);
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
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                 file_get_contents(
92 92
                     FilterInjectorTransformer::PHP_FILTER_READ.
93 93
                     SourceTransformingLoader::FILTER_IDENTIFIER.
94
-                    "/resource=" . $realPath
94
+                    "/resource=".$realPath
95 95
                 );
96 96
             } catch (\Exception $e) {
97 97
                 $errors[$realPath] = $e;
Please login to merge, or discard this patch.
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.