@@ -66,9 +66,9 @@ |
||
| 66 | 66 | throw new InvalidParameterException("No data for project \"$project\" found."); |
| 67 | 67 | } |
| 68 | 68 | $state = $data['meta']['projectState']; |
| 69 | - $file = readfile(__DIR__ . "/../Resources/public/img/states/$state.svg"); |
|
| 69 | + $file = readfile(__DIR__ . "/../Resources/public/img/states/$state.svg"); |
|
| 70 | 70 | |
| 71 | - $filename = $project.".svg"; |
|
| 71 | + $filename = $project . ".svg"; |
|
| 72 | 72 | $response = new Response(); |
| 73 | 73 | $response->headers->set('Cache-Control', 'private'); |
| 74 | 74 | $response->headers->set('Content-type', 'image/svg'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | { |
| 14 | 14 | $loader = new YamlFileLoader( |
| 15 | 15 | $container, |
| 16 | - new FileLocator(__DIR__.'/../Resources/config') |
|
| 16 | + new FileLocator(__DIR__ . '/../Resources/config') |
|
| 17 | 17 | ); |
| 18 | 18 | $loader->load('services.yml'); |
| 19 | 19 | } |