@@ -11,9 +11,9 @@ |
||
11 | 11 | |
12 | 12 | use Doctrine\Common\Annotations\AnnotationRegistry; |
13 | 13 | |
14 | -$loader = require __DIR__.'/../../vendor/autoload.php'; |
|
14 | +$loader = require __DIR__ . '/../../vendor/autoload.php'; |
|
15 | 15 | |
16 | -require __DIR__.'/AppKernel.php'; |
|
16 | +require __DIR__ . '/AppKernel.php'; |
|
17 | 17 | |
18 | 18 | AnnotationRegistry::registerLoader([$loader, 'loadClass']); |
19 | 19 |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $imageForm->fillField('Code', $code); |
61 | 61 | } |
62 | 62 | |
63 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
63 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $imageForm->fillField('Code', $code); |
76 | 76 | } |
77 | 77 | |
78 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
78 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | $filesPath = $this->getParameter('files_path'); |
147 | 147 | |
148 | 148 | $imageForm = $this->getImageElementByCode($code); |
149 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
149 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
150 | 150 | } |
151 | 151 | |
152 | 152 | /** |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | private function getImageElementByCode($code) |
300 | 300 | { |
301 | 301 | $images = $this->getElement('images'); |
302 | - $inputCode = $images->find('css', 'input[value="'.$code.'"]'); |
|
302 | + $inputCode = $images->find('css', 'input[value="' . $code . '"]'); |
|
303 | 303 | |
304 | 304 | if (null === $inputCode) { |
305 | 305 | return null; |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $imageForm->fillField('Code', $code); |
76 | 76 | } |
77 | 77 | |
78 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
78 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | $filesPath = $this->getParameter('files_path'); |
147 | 147 | |
148 | 148 | $imageForm = $this->getImageElementByCode($code); |
149 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
149 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
150 | 150 | } |
151 | 151 | |
152 | 152 | /** |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | private function getImageElementByCode($code) |
300 | 300 | { |
301 | 301 | $images = $this->getElement('images'); |
302 | - $inputCode = $images->find('css', 'input[value="'.$code.'"]'); |
|
302 | + $inputCode = $images->find('css', 'input[value="' . $code . '"]'); |
|
303 | 303 | |
304 | 304 | if (null === $inputCode) { |
305 | 305 | return null; |