Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfabiocarneiro <fahecs@gmail.com>2015-05-27 12:56:17 +0300
committerfabiocarneiro <fahecs@gmail.com>2015-05-27 12:56:17 +0300
commita2a63d34ebb460174e1a3e8d8022fe3e3ab4b469 (patch)
treefbfc480352bc711bc03f12849824507e56b5034a /core/Plugin/Dependency.php
parentb2f5b5489ceca056217fc6663ec6c2c6b052cd42 (diff)
fix core folder with php-cs-fixer for psr-2
Diffstat (limited to 'core/Plugin/Dependency.php')
-rw-r--r--core/Plugin/Dependency.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Plugin/Dependency.php b/core/Plugin/Dependency.php
index 7e87324612..bcade2b3ca 100644
--- a/core/Plugin/Dependency.php
+++ b/core/Plugin/Dependency.php
@@ -51,12 +51,11 @@ class Dependency
public function getMissingVersions($currentVersion, $requiredVersion)
{
$currentVersion = trim($currentVersion);
- $requiredVersions = explode(',' , (string) $requiredVersion);
+ $requiredVersions = explode(',', (string) $requiredVersion);
$missingVersions = array();
foreach ($requiredVersions as $required) {
-
$comparison = '>=';
$required = trim($required);
@@ -98,7 +97,8 @@ class Dependency
if (!empty($plugin)) {
return $plugin->getVersion();
}
- } catch (\Exception $e) {}
+ } catch (\Exception $e) {
+ }
}
return '';