@@ -27,7 +27,7 @@ |
||
27 | 27 | public function load(array $config, ContainerBuilder $container) |
28 | 28 | { |
29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | |
32 | 32 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
33 | 33 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function load(array $config, ContainerBuilder $container) |
28 | 28 | { |
29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | |
32 | 32 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
33 | 33 |
@@ -136,7 +136,7 @@ |
||
136 | 136 | |
137 | 137 | /** @var ImageInterface $taxonImage */ |
138 | 138 | $taxonImage = $this->taxonImageFactory->createNew(); |
139 | - $taxonImage->setFile(new UploadedFile($filesPath.$imagePath, basename($imagePath))); |
|
139 | + $taxonImage->setFile(new UploadedFile($filesPath . $imagePath, basename($imagePath))); |
|
140 | 140 | $taxonImage->setType($imageType); |
141 | 141 | $this->imageUploader->upload($taxonImage); |
142 | 142 |
@@ -113,7 +113,7 @@ |
||
113 | 113 | |
114 | 114 | $imageForm = $this->getLastImageElement(); |
115 | 115 | $imageForm->fillField('Type', $type); |
116 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
116 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $imageForm->fillField('Type', $type); |
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->getImageElementByType($type); |
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 | /** |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | private function getImageElementByType($type) |
305 | 305 | { |
306 | 306 | $images = $this->getElement('images'); |
307 | - $typeInput = $images->find('css', 'input[value="'.$type.'"]'); |
|
307 | + $typeInput = $images->find('css', 'input[value="' . $type . '"]'); |
|
308 | 308 | |
309 | 309 | if (null === $typeInput) { |
310 | 310 | return null; |
@@ -107,7 +107,7 @@ |
||
107 | 107 | $imageForm->fillField('Type', $type); |
108 | 108 | } |
109 | 109 | |
110 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
110 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $imageForm->fillField('Type', $type); |
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->getImageElementByType($type); |
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 | /** |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | private function getImageElementByType($type) |
305 | 305 | { |
306 | 306 | $images = $this->getElement('images'); |
307 | - $typeInput = $images->find('css', 'input[value="'.$type.'"]'); |
|
307 | + $typeInput = $images->find('css', 'input[value="' . $type . '"]'); |
|
308 | 308 | |
309 | 309 | if (null === $typeInput) { |
310 | 310 | return null; |
@@ -107,7 +107,7 @@ |
||
107 | 107 | $imageForm->fillField('Type', $type); |
108 | 108 | } |
109 | 109 | |
110 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
110 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $imageForm->fillField('Type', $type); |
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->getImageElementByType($type); |
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 | /** |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | private function getImageElementByType($type) |
305 | 305 | { |
306 | 306 | $images = $this->getElement('images'); |
307 | - $typeInput = $images->find('css', 'input[value="'.$type.'"]'); |
|
307 | + $typeInput = $images->find('css', 'input[value="' . $type . '"]'); |
|
308 | 308 | |
309 | 309 | if (null === $typeInput) { |
310 | 310 | return null; |