| @@ -260,8 +260,8 @@ discard block | ||
| 260 | 260 | $config_ver = $this->_getConfiguredVersionFromResourceObject($setupResource); | 
| 261 | 261 | |
| 262 | 262 | if ( | 
| 263 | - (string)$config_ver == (string)$db_ver && //structure | |
| 264 | - (string)$config_ver == (string)$db_data_ver //data | |
| 263 | + (string) $config_ver == (string) $db_ver && //structure | |
| 264 | + (string) $config_ver == (string) $db_data_ver //data | |
| 265 | 265 |              ) { | 
| 266 | 266 | continue; | 
| 267 | 267 | } | 
| @@ -321,8 +321,8 @@ discard block | ||
| 321 | 321 | |
| 322 | 322 | $args = array( | 
| 323 | 323 | '', | 
| 324 | - (string)$dbVersion, | |
| 325 | - (string)$configVersion, | |
| 324 | + (string) $dbVersion, | |
| 325 | + (string) $configVersion, | |
| 326 | 326 | ); | 
| 327 | 327 | |
| 328 | 328 | $args[0] = $dbVersion | 
| @@ -209,7 +209,7 @@ | ||
| 209 | 209 | array( | 
| 210 | 210 | 'table' => $tableName, | 
| 211 | 211 | 'operation' => 'ENGINE ' . $engine, | 
| 212 | -                'type'      => sprintf('%15s rows', (string)$affectedRows), | |
| 212 | +                'type'      => sprintf('%15s rows', (string) $affectedRows), | |
| 213 | 213 |                  'status'    => sprintf('%.3f secs', microtime(true) - $start), | 
| 214 | 214 | ) | 
| 215 | 215 | ); | 
| @@ -258,7 +258,7 @@ | ||
| 258 | 258 | $definitions, | 
| 259 | 259 | $resolved | 
| 260 | 260 | ); | 
| 261 | - $resolvedList = array_merge($resolvedList, $tables); | |
| 261 | + $resolvedList = array_merge($resolvedList, $tables); | |
| 262 | 262 | } | 
| 263 | 263 | continue; | 
| 264 | 264 | } | 
| @@ -240,7 +240,7 @@ discard block | ||
| 240 | 240 | |
| 241 | 241 |              if ($input->getOption('magentoVersion')) { | 
| 242 | 242 |                  $type = $input->getOption('magentoVersion'); | 
| 243 | -                if ($type !== (string)(int)$type) { | |
| 243 | +                if ($type !== (string) (int) $type) { | |
| 244 | 244 | $type = $this->getPackageNumberByName($type); | 
| 245 | 245 | } | 
| 246 | 246 |              } elseif ($input->getOption('magentoVersionByName')) { | 
| @@ -277,8 +277,8 @@ discard block | ||
| 277 | 277 | private function getPackageNumberByName($name) | 
| 278 | 278 |      { | 
| 279 | 279 | // directly filter integer strings | 
| 280 | -        if ($name === (string)(int)$name) { | |
| 281 | - return (int)$name; | |
| 280 | +        if ($name === (string) (int) $name) { | |
| 281 | + return (int) $name; | |
| 282 | 282 | } | 
| 283 | 283 | |
| 284 | 284 | $magentoPackages = $this->commandConfig['magento-packages']; |