Passed
Pull Request — master (#19)
by leon
09:56
created
src/InstallerPlugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,9 +138,9 @@
 block discarded – undo
138 138
         $phpStormDefaultPaths    = array_reverse(glob("$home/.[pP]hp[sS]torm201*/config/"));
139 139
         $phpStormNewDefaultPaths = array_reverse(glob("$home/.config/JetBrains/[pP]hp[sS]torm202*/"));
140 140
 
141
-        if (! empty($phpStormDefaultPaths)) {
141
+        if (!empty($phpStormDefaultPaths)) {
142 142
             $phpStormDefaultPath = reset($phpStormDefaultPaths);
143
-        } elseif (! empty($phpStormNewDefaultPaths)) {
143
+        } elseif (!empty($phpStormNewDefaultPaths)) {
144 144
             $phpStormDefaultPath = reset($phpStormNewDefaultPaths);
145 145
         }
146 146
 
Please login to merge, or discard this patch.
src/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,9 +138,9 @@
 block discarded – undo
138 138
         $phpStormDefaultPaths    = array_reverse(glob("$home/.[pP]hp[sS]torm201*/config/"));
139 139
         $phpStormNewDefaultPaths = array_reverse(glob("$home/.config/JetBrains/[pP]hp[sS]torm202*/"));
140 140
 
141
-        if (! empty($phpStormDefaultPaths)) {
141
+        if (!empty($phpStormDefaultPaths)) {
142 142
             $phpStormDefaultPath = reset($phpStormDefaultPaths);
143
-        } elseif (! empty($phpStormNewDefaultPaths)) {
143
+        } elseif (!empty($phpStormNewDefaultPaths)) {
144 144
             $phpStormDefaultPath = reset($phpStormNewDefaultPaths);
145 145
         }
146 146
 
Please login to merge, or discard this patch.