Completed
Push — master ( 8e6dfe...ada09b )
by Craig
07:23
created
src/system/CategoriesModule/Form/Type/CategoryTreeType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         $resolver->setAllowedTypes('includeLeaf', 'bool');
81 81
         $resolver->setAllowedTypes('all', 'bool');
82 82
 
83
-        $resolver->setNormalizer('label', function (Options $options, $label) {
83
+        $resolver->setNormalizer('label', function(Options $options, $label) {
84 84
             if (null === $label || empty($label)) {
85 85
                 $isMultiple = $options['multiple'];
86 86
                 $translator = $options['translator'];
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
             return $label;
92 92
         });
93
-        $resolver->setNormalizer('placeholder', function (Options $options, $placeholder) {
93
+        $resolver->setNormalizer('placeholder', function(Options $options, $placeholder) {
94 94
             if (!$options['required']) {
95 95
                 if (null === $placeholder || empty($placeholder)) {
96 96
                     $isMultiple = $options['multiple'];
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
             return $placeholder;
104 104
         });
105
-        $resolver->setNormalizer('choices', function (Options $options, $choices) {
105
+        $resolver->setNormalizer('choices', function(Options $options, $choices) {
106 106
             if (empty($choices)) {
107 107
                 $choices = $this->getCategoryChoices($options);
108 108
             }
Please login to merge, or discard this patch.
src/system/CategoriesModule/Tests/Api/CategoryPermissionApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
         $api = $this->getMockBuilder(PermissionApiInterface::class)
105 105
             ->getMock();
106 106
         $api->method('hasPermission')->will($this->returnCallback(
107
-            function ($component = null, $instance = null, $level = ACCESS_NONE, $user = null) {
107
+            function($component = null, $instance = null, $level = ACCESS_NONE, $user = null) {
108 108
                 list($regId, $catId) = explode('::', $instance);
109 109
 
110 110
                 return $catId % 2 == 0;
Please login to merge, or discard this patch.
src/system/ThemeModule/DependencyInjection/ZikulaThemeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      */
24 24
     public function load(array $configs, ContainerBuilder $container)
25 25
     {
26
-        $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config')));
26
+        $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config')));
27 27
 
28 28
         $loader->load('services.yml');
29 29
         $loader->load('twig.yml');
Please login to merge, or discard this patch.
system/ExtensionsModule/DependencyInjection/ZikulaExtensionsExtension.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
      */
27 27
     public function load(array $configs, ContainerBuilder $container)
28 28
     {
29
-        $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config')));
29
+        $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config')));
30 30
 
31 31
         $loader->load('services.yml');
32 32
         $loader->load('helpers.yml');
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Twig/Extension/CoreExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,8 +131,8 @@
 block discarded – undo
131 131
     {
132 132
         $string = preg_replace_callback(
133 133
             '/(.)@(.)/s',
134
-            function ($m) {
135
-                return "&#" . sprintf("%03d", ord($m[1])) . ";@&#" .sprintf("%03d", ord($m[2])) . ";";
134
+            function($m) {
135
+                return "&#" . sprintf("%03d", ord($m[1])) . ";@&#" . sprintf("%03d", ord($m[2])) . ";";
136 136
             },
137 137
             $string
138 138
         );
Please login to merge, or discard this patch.
src/system/SecurityCenterModule/Tests/Api/HtmlFilterApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     {
65 65
         $variableApi = $this->getMockBuilder(VariableApiInterface::class)->getMock();
66 66
         $variableApi->method('getSystemVar')->willReturnCallback(
67
-            function ($string, $default) use ($htmlEntities, $outputFilter) {
67
+            function($string, $default) use ($htmlEntities, $outputFilter) {
68 68
                 switch ($string) {
69 69
                     case 'outputfilter':
70 70
                         return $outputFilter;
Please login to merge, or discard this patch.
src/system/UsersModule/DependencyInjection/ZikulaUsersExtension.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
      */
27 27
     public function load(array $configs, ContainerBuilder $container)
28 28
     {
29
-        $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__.'/../Resources/config')));
29
+        $loader = new YamlFileLoader($container, new FileLocator(realpath(__DIR__ . '/../Resources/config')));
30 30
 
31 31
         $loader->load('services.yml');
32 32
         $loader->load('doctrine.yml');
Please login to merge, or discard this patch.
src/system/ThemeModule/Api/PageAssetApi.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,9 +104,9 @@
 block discarded – undo
104 104
         }
105 105
 
106 106
         // ensure proper variable types
107
-        $value = (string) $value;
108
-        $type = (string) $type;
109
-        $weight = (int) $weight;
107
+        $value = (string)$value;
108
+        $type = (string)$type;
109
+        $weight = (int)$weight;
110 110
 
111 111
         if ('stylesheet' == $type) {
112 112
             $this->styleSheets->add([$value => $weight]);
Please login to merge, or discard this patch.
src/system/RoutesModule/Form/Type/Base/AbstractConfigType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
                 'attr' => [
107 107
                     'maxlength' => 255,
108 108
                     'title' => $this->__('Enter the route entries per page.') . ' ' . $this->__('Only digits are allowed.')
109
-                ],'scale' => 0
109
+                ], 'scale' => 0
110 110
             ])
111 111
         ;
112 112
     }
Please login to merge, or discard this patch.