Completed
Push — master ( 280bdf...d8eac9 )
by Alexis
10:56
created
Twig/Extension/ElasticaSorterExtension.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace Alpixel\Bundle\ElasticaUtilsBundle\Twig\Extension;
4 4
 
5 5
 use Alpixel\Bundle\ElasticaUtilsBundle\Services\ElasticaQuerySorter;
6
-use Symfony\Component\DependencyInjection\ContainerBuilder;
7
-use Symfony\Component\Yaml\Parser;
8 6
 
9 7
 class ElasticaSorterExtension extends \Twig_Extension
10 8
 {
Please login to merge, or discard this patch.
Services/ElasticaQuerySorter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
 
94
-    protected function addSort(Query &$query)
94
+    protected function addSort(Query & $query)
95 95
     {
96 96
         $sortBy    = explode('-', $this->fetchData('sortBy'));
97 97
         $sortOrder = $this->fetchData('sortOrder');
Please login to merge, or discard this patch.
Tests/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,6 @@
 block discarded – undo
22 22
 
23 23
     public function registerContainerConfiguration(LoaderInterface $loader)
24 24
     {
25
-        $loader->load(__DIR__.'/../config/config.yml');
25
+        $loader->load(__DIR__ . '/../config/config.yml');
26 26
     }
27 27
 }
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
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 $_SERVER['env'] = 'test';
4 4
 use Doctrine\Common\Annotations\AnnotationRegistry;
5 5
 
6
-if (!is_file($loaderFile = __DIR__.'/../vendor/autoload.php')) {
6
+if (!is_file($loaderFile = __DIR__ . '/../vendor/autoload.php')) {
7 7
     throw new \LogicException('Could not find autoload.php in vendor/. Did you run "composer install --dev"?');
8 8
 }
9 9
 $loader = require $loaderFile;
Please login to merge, or discard this patch.
DependencyInjection/AlpixelElasticaUtilsExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $configuration = new Configuration();
23 23
         $config = $this->processConfiguration($configuration, $configs);
24 24
 
25
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
25
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
26 26
         $loader->load('services.yml');
27 27
     }
28 28
 }
Please login to merge, or discard this patch.