Completed
Push — master ( 10206b...bd9670 )
by Craig
06:37
created
src/system/UsersModule/Tests/Api/CurrentUserApiTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -95,6 +95,9 @@
 block discarded – undo
95 95
         $this->assertNull($api->uname());
96 96
     }
97 97
 
98
+    /**
99
+     * @param integer $uid
100
+     */
98 101
     private function getApi($uid = null)
99 102
     {
100 103
         $this->session->method('get')->with('uid')->willReturn($uid);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         $this->userRepo
54 54
             ->method('find')
55 55
             ->with($this->logicalNot($this->isNull()))
56
-            ->will($this->returnCallback(function ($uid) {
56
+            ->will($this->returnCallback(function($uid) {
57 57
                 $this->user->setUid($uid);
58 58
 
59 59
                 return $this->user;
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/ThemeModule/Twig/Extension/AssetExtension.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.