Completed
Branch develop (14e095)
by Tom
04:59
created
src/N98/Magento/Command/MagentoConnect/ValidateExtensionCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
             $return = array();
132 132
             foreach ($files as $file) {
133 133
                 $path = $this->_getPathOfFileNodeToTarget($file);
134
-                $return[$path] = (string) $file['hash'];
134
+                $return[$path] = (string)$file['hash'];
135 135
             }
136 136
         }
137 137
 
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     protected function _getPathOfFileNodeToTarget(SimpleXMLElement $node, $path = '')
172 172
     {
173 173
         if ($node->getName() == 'target') {
174
-            return $this->_getBasePathFromTargetName((string) $node['name']) . $path;
174
+            return $this->_getBasePathFromTargetName((string)$node['name']) . $path;
175 175
         }
176 176
 
177 177
         $path   = '/' . $node['name'] . $path;
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     protected function getPathOfFileNodeToTarget($node, $path = '')
200 200
     {
201 201
         if ($node->getName() == 'target') {
202
-            return $this->_getBasePathFromTargetName((string) $node['name']) . $path;
202
+            return $this->_getBasePathFromTargetName((string)$node['name']) . $path;
203 203
         }
204 204
 
205 205
         $path = '/' . $node['name'] . $path;
Please login to merge, or discard this patch.
src/N98/Magento/DbSettings.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
97 97
             'password'    => null,
98 98
         );
99 99
 
100
-        $config           = ((array) $resources->default_setup->connection) + $config;
101
-        $config['prefix'] = (string) $resources->db->table_prefix;
100
+        $config           = ((array)$resources->default_setup->connection) + $config;
101
+        $config['prefix'] = (string)$resources->db->table_prefix;
102 102
 
103 103
         // known parameters: host, port, unix_socket, dbname, username, password, options, charset, persistent,
104 104
         //                   driver_options
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
         /* @see Varien_Db_Adapter_Pdo_Mysql::_connect */
110 110
         if (strpos($config['host'], '/') !== false) {
111
-            $config['unix_socket'] = (string) $config['host'];
111
+            $config['unix_socket'] = (string)$config['host'];
112 112
             $config['host'] = null;
113 113
             $config['port'] = null;
114 114
         } elseif (strpos($config['host'], ':') !== false) {
Please login to merge, or discard this patch.
build/phar/phar-timestamp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     throw new RuntimeException(sprintf('Is not a file or not readable: %s', var_export($file, true)));
31 31
 }
32 32
 
33
-$timestamp = (int) `git log --format=format:%ct HEAD -1`;
33
+$timestamp = (int)`git log --format=format:%ct HEAD -1`;
34 34
 $threshold = 1343826993;
35 35
 if ($timestamp < $threshold) {
36 36
     $message = sprintf(
Please login to merge, or discard this patch.
build/phar/tasks/PatchedPharPackageTask.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
         if (!is_null($this->baseDirectory)) {
316 316
             if (!$this->baseDirectory->exists()) {
317 317
                 throw new BuildException(
318
-                    "basedir '" . (string) $this->baseDirectory . "' does not exist!", $this->getLocation()
318
+                    "basedir '" . (string)$this->baseDirectory . "' does not exist!", $this->getLocation()
319 319
                 );
320 320
             }
321 321
         }
@@ -332,11 +332,11 @@  discard block
 block discarded – undo
332 332
             }
333 333
 
334 334
             if (!$this->key->exists()) {
335
-                throw new BuildException("key '" . (string) $this->key . "' does not exist!", $this->getLocation());
335
+                throw new BuildException("key '" . (string)$this->key . "' does not exist!", $this->getLocation());
336 336
             }
337 337
 
338 338
             if (!$this->key->canRead()) {
339
-                throw new BuildException("key '" . (string) $this->key . "' cannot be read!", $this->getLocation());
339
+                throw new BuildException("key '" . (string)$this->key . "' cannot be read!", $this->getLocation());
340 340
             }
341 341
         }
342 342
     }
Please login to merge, or discard this patch.