Completed
Push — master ( 55311e...acc5b2 )
by Craig
06:34
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/Twig/Extension/AssetExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,9 +103,9 @@
 block discarded – undo
103 103
         }
104 104
 
105 105
         // ensure proper variable types
106
-        $value = (string) $value;
107
-        $type = (string) $type;
108
-        $weight = (int) $weight;
106
+        $value = (string)$value;
107
+        $type = (string)$type;
108
+        $weight = (int)$weight;
109 109
 
110 110
         // @todo remove this code block at Core-2.0 because all themes are twig based
111 111
         $themeBundle = $this->engine->getTheme();
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.