@@ 220-225 (lines=6) @@ | ||
217 | ->atPath('machine') |
|
218 | ->addViolation(); |
|
219 | } |
|
220 | elseif (!$this->isAlreadyInstalled() && !empty($relDir) |
|
221 | && $this->getMachine()->getConnection()->dirExists($absDir)) { |
|
222 | $context->buildViolation('gameServer.assert.directory_exists') |
|
223 | ->atPath('dir') |
|
224 | ->addViolation(); |
|
225 | } |
|
226 | elseif ($this->isAlreadyInstalled() && !empty($relDir) |
|
227 | && !$this->getMachine()->getConnection()->dirExists($absDir)) { |
|
228 | $context->buildViolation('gameServer.assert.directory_not_exists') |
|
@@ 226-231 (lines=6) @@ | ||
223 | ->atPath('dir') |
|
224 | ->addViolation(); |
|
225 | } |
|
226 | elseif ($this->isAlreadyInstalled() && !empty($relDir) |
|
227 | && !$this->getMachine()->getConnection()->dirExists($absDir)) { |
|
228 | $context->buildViolation('gameServer.assert.directory_not_exists') |
|
229 | ->atPath('dir') |
|
230 | ->addViolation(); |
|
231 | } |
|
232 | } |
|
233 | } |
|
234 | } |