@@ -23,7 +23,7 @@ |
||
23 | 23 | public function patch( |
24 | 24 | EnvironmentInterface $environment |
25 | 25 | ): void { |
26 | - if (! empty($environment->getIdeDefaultConfigFilesystem()->getRoot())) { |
|
26 | + if (!empty($environment->getIdeDefaultConfigFilesystem()->getRoot())) { |
|
27 | 27 | $this->copyDirectory( |
28 | 28 | $environment->getDefaultsFilesystem(), |
29 | 29 | $environment->getIdeDefaultConfigFilesystem(), |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | public function __construct($root) |
27 | 27 | { |
28 | - if (! empty($root)) { |
|
28 | + if (!empty($root)) { |
|
29 | 29 | $this->root = rtrim($root, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; |
30 | 30 | } |
31 | 31 | } |
@@ -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 |