Completed
Pull Request — master (#1)
by Gorka
04:16
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.
LIN3SAdminBundle/DependencyInjection/Lin3sCmsAdminBridgeExtension.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('lin3s_cms_admin_bridge.config', $config);
Please login to merge, or discard this patch.
Infrastructure/Symfony/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.
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.
LIN3S/CMSKernel/Infrastructure/Web/Symfony/Form/Type/TemplateableType.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
             throw new \LogicException('templateable form needs to have "templateName" field');
48 48
         }
49 49
 
50
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) use ($options) {
50
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) use ($options) {
51 51
             $data = $event->getData();
52 52
 
53 53
             $templates = $this->templateFactory->templates();
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             $this->templateType($templateName)->buildForm($event->getForm(), $options);
61 61
         });
62 62
 
63
-        $builder->addEventListener(FormEvents::PRE_SUBMIT, function (FormEvent $event) use ($options) {
63
+        $builder->addEventListener(FormEvents::PRE_SUBMIT, function(FormEvent $event) use ($options) {
64 64
             $data = $event->getData();
65 65
             $templates = $this->templateFactory->templates();
66 66
             reset($templates);
Please login to merge, or discard this patch.
src/LIN3S/CMSKernel/Domain/Model/Translation/TranslationCollection.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
         parent::add($translation);
36 36
     }
37 37
 
38
+    /**
39
+     * @param Translation $translation
40
+     */
38 41
     public function addTranslation($translation, Translatable $translatable)
39 42
     {
40 43
         $translationReflection = new \ReflectionClass($translation);
Please login to merge, or discard this patch.