Completed
Push — master ( 38be02...e1046f )
by Beñat
02:34
created
Doctrine/ORM/Translation/DoctrineFilterTranslatableSpecification.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
         foreach ($this->filters as $key => $filter) {
49 49
             if (!empty($filter)) {
50
-                $this->{'add' . ucfirst($key) . 'Criteria'}($filter);
50
+                $this->{'add'.ucfirst($key).'Criteria'}($filter);
51 51
             }
52 52
         }
53 53
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         foreach ($this->filters as $key => $filter) {
67 67
             if (!empty($filter)) {
68 68
                 $areFiltersEmpty = false;
69
-                $this->{'add' . ucfirst($key) . 'Criteria'}($filter);
69
+                $this->{'add'.ucfirst($key).'Criteria'}($filter);
70 70
             }
71 71
         }
72 72
         if (true === $areFiltersEmpty) {
Please login to merge, or discard this patch.
CMSKernel/Application/Query/Translation/FilterTranslatablesHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
         return array_merge(
58 58
             [
59
-                'translatables' => array_map(function ($translatable) use ($locale) {
59
+                'translatables' => array_map(function($translatable) use ($locale) {
60 60
                     $this->dataTransformer->write($translatable, $locale);
61 61
 
62 62
                     return $this->dataTransformer->read();
Please login to merge, or discard this patch.
src/LIN3S/CMSKernel/Domain/Model/Seo/MetaRobots.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,6 +52,6 @@
 block discarded – undo
52 52
         $index = $this->index() ? 'index' : 'noindex';
53 53
         $follow = $this->follow() ? 'follow' : 'nofollow';
54 54
 
55
-        return $index . '/' . $follow;
55
+        return $index.'/'.$follow;
56 56
     }
57 57
 }
Please login to merge, or discard this patch.
Symfony/Bundle/DependencyInjection/Lin3sCmsKernelExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     public function load(array $configs, ContainerBuilder $container)
22 22
     {
23
-        $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config/services'));
23
+        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config/services'));
24 24
         $loader->load('command_bus.yml');
25 25
         $loader->load('commands.yml');
26 26
         $loader->load('data_transformers.yml');
Please login to merge, or discard this patch.
Infrastructure/Lin3sAdminBundle/Action/Type/RemoveTranslationActionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     public function execute($entity, Entity $config, Request $request, $options = null)
46 46
     {
47
-        $id = (string)$this->getEntityId($entity, $config);
47
+        $id = (string) $this->getEntityId($entity, $config);
48 48
         if (!$entity) {
49 49
             throw new NotFoundHttpException(
50 50
                 sprintf('The translatable with %s id does not exist', $id)
Please login to merge, or discard this patch.
Lin3sAdminBundle/DependencyInjection/CmsKernelAdminBridgeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $configuration = new Configuration();
27 27
         $config = $this->processConfiguration($configuration, $configs);
28 28
 
29
-        $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
29
+        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
30 30
         $loader->load('services.yml');
31 31
 
32 32
         $container->setParameter('cms_kernel_admin_bridge.config', $config);
Please login to merge, or discard this patch.
src/LIN3S/CMSKernel/Infrastructure/Symfony/Bundle/Lin3sCmsKernelBundle.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,25 +33,25 @@  discard block
 block discarded – undo
33 33
                     'Lin3sCmsKernelMenu'        => [
34 34
                         'type'      => 'xml',
35 35
                         'is_bundle' => false,
36
-                        'dir'       => $this->basePath() . '/Menu/Mapping/',
36
+                        'dir'       => $this->basePath().'/Menu/Mapping/',
37 37
                         'prefix'    => 'LIN3S\CMSKernel\Domain\Model\Menu',
38 38
                     ],
39 39
                     'Lin3sCmsKernelPage'        => [
40 40
                         'type'      => 'xml',
41 41
                         'is_bundle' => false,
42
-                        'dir'       => $this->basePath() . '/Page/Mapping/',
42
+                        'dir'       => $this->basePath().'/Page/Mapping/',
43 43
                         'prefix'    => 'LIN3S\CMSKernel\Domain\Model\Page',
44 44
                     ],
45 45
                     'Lin3sCmsKernelSeo'         => [
46 46
                         'type'      => 'xml',
47 47
                         'is_bundle' => false,
48
-                        'dir'       => $this->basePath() . '/Seo/Mapping/',
48
+                        'dir'       => $this->basePath().'/Seo/Mapping/',
49 49
                         'prefix'    => 'LIN3S\CMSKernel\Domain\Model\Seo',
50 50
                     ],
51 51
                     'Lin3sCmsKernelTranslation' => [
52 52
                         'type'      => 'xml',
53 53
                         'is_bundle' => false,
54
-                        'dir'       => $this->basePath() . '/Translation/Mapping/',
54
+                        'dir'       => $this->basePath().'/Translation/Mapping/',
55 55
                         'prefix'    => 'LIN3S\CMSKernel\Domain\Model\Translation',
56 56
                     ],
57 57
                 ],
@@ -63,6 +63,6 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $directory = dirname((new \ReflectionClass(self::class))->getFileName());
65 65
 
66
-        return $directory . '/../../Persistence/Doctrine/ORM';
66
+        return $directory.'/../../Persistence/Doctrine/ORM';
67 67
     }
68 68
 }
Please login to merge, or discard this patch.