@@ -91,6 +91,6 @@ |
||
91 | 91 | |
92 | 92 | <info>php %command.full_name% web --symlink --relative</info> |
93 | 93 | |
94 | -EOT; |
|
94 | +eot; |
|
95 | 95 | } |
96 | 96 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
63 | 63 | $locales = $this->loadFixturesFromFile('resources/locales.yml'); |
64 | 64 | |
65 | - $this->client->request('GET', '/api/locales/'.$locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
65 | + $this->client->request('GET', '/api/locales/' . $locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
66 | 66 | |
67 | 67 | $response = $this->client->getResponse(); |
68 | 68 | $this->assertResponse($response, 'locale/show_response', Response::HTTP_OK); |
@@ -130,12 +130,12 @@ discard block |
||
130 | 130 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
131 | 131 | $locales = $this->loadFixturesFromFile('resources/locales.yml'); |
132 | 132 | |
133 | - $this->client->request('DELETE', '/api/locales/'.$locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithContentType, []); |
|
133 | + $this->client->request('DELETE', '/api/locales/' . $locales['locale_en']->getCode(), [], [], static::$authorizedHeaderWithContentType, []); |
|
134 | 134 | |
135 | 135 | $response = $this->client->getResponse(); |
136 | 136 | $this->assertResponseCode($response, Response::HTTP_NO_CONTENT); |
137 | 137 | |
138 | - $this->client->request('GET', '/api/locales/'.$locales['locale_en']->getId(), [], [], static::$authorizedHeaderWithAccept); |
|
138 | + $this->client->request('GET', '/api/locales/' . $locales['locale_en']->getId(), [], [], static::$authorizedHeaderWithAccept); |
|
139 | 139 | |
140 | 140 | $response = $this->client->getResponse(); |
141 | 141 | $this->assertResponse($response, 'error/not_found_response', Response::HTTP_NOT_FOUND); |
@@ -91,6 +91,6 @@ |
||
91 | 91 | |
92 | 92 | <info>php %command.full_name% web --symlink --relative</info> |
93 | 93 | |
94 | -EOT; |
|
94 | +eot; |
|
95 | 95 | } |
96 | 96 | } |
@@ -96,7 +96,7 @@ |
||
96 | 96 | $this->loadFixturesFromFile('authentication/api_administrator.yml'); |
97 | 97 | $countries = $this->loadFixturesFromFile('resources/countries.yml'); |
98 | 98 | |
99 | - $this->client->request('GET', '/api/countries/'.$countries['country_NL']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
99 | + $this->client->request('GET', '/api/countries/' . $countries['country_NL']->getCode(), [], [], static::$authorizedHeaderWithAccept); |
|
100 | 100 | |
101 | 101 | $response = $this->client->getResponse(); |
102 | 102 | $this->assertResponse($response, 'country/show_response', Response::HTTP_OK); |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
18 | 18 | use Symfony\Component\DependencyInjection\Parameter; |
19 | -use Symfony\Component\DependencyInjection\Reference; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |