@@ -138,9 +138,9 @@ |
||
| 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 | |
@@ -144,9 +144,9 @@ |
||
| 144 | 144 | $phpStormDefaultPaths = array_reverse(glob("$home/.[pP]hp[sS]torm201*/config/")); |
| 145 | 145 | $phpStormNewDefaultPaths = array_reverse(glob("$home/.config/JetBrains/[pP]hp[sS]torm202*/")); |
| 146 | 146 | |
| 147 | - if (! empty($phpStormDefaultPaths)) { |
|
| 147 | + if (!empty($phpStormDefaultPaths)) { |
|
| 148 | 148 | $phpStormDefaultPath = reset($phpStormDefaultPaths); |
| 149 | - } elseif (! empty($phpStormNewDefaultPaths)) { |
|
| 149 | + } elseif (!empty($phpStormNewDefaultPaths)) { |
|
| 150 | 150 | $phpStormDefaultPath = reset($phpStormNewDefaultPaths); |
| 151 | 151 | } |
| 152 | 152 | |