@@ -39,7 +39,7 @@ |
||
39 | 39 | $dom = new DOMDocument(); |
40 | 40 | |
41 | 41 | // https://stackoverflow.com/a/8218649/3121455 |
42 | - $dom->loadHTML('<?xml encoding="utf-8" ?>' . $html); |
|
42 | + $dom->loadHTML('<?xml encoding="utf-8" ?>'.$html); |
|
43 | 43 | |
44 | 44 | $xpath = new DOMXPath($dom); |
45 | 45 | $nodes = $xpath->query('//@*'); |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public function load(array $configs, ContainerBuilder $container) |
51 | 51 | { |
52 | - $locator = new FileLocator(__DIR__ . implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
52 | + $locator = new FileLocator(__DIR__.implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
53 | 53 | $loader = new YamlFileLoader($container, $locator); |
54 | 54 | |
55 | 55 | $configFiles = [ |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | ]; |
64 | 64 | |
65 | 65 | foreach ($configFiles as $configFile) { |
66 | - $loader->load('config' . DIRECTORY_SEPARATOR . $configFile); |
|
66 | + $loader->load('config'.DIRECTORY_SEPARATOR.$configFile); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | $configuration = new Configuration(); |
@@ -68,7 +68,7 @@ |
||
68 | 68 | |
69 | 69 | foreach ($roadmaps as $roadmapName => $roadmap) { |
70 | 70 | $message .= "\n <info>$roadmapName</info>\n"; |
71 | - $message .= ' Type: ' . get_class($roadmap) . "\n"; |
|
71 | + $message .= ' Type: '.get_class($roadmap)."\n"; |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | $message .= "\nNew roadmaps can be registered in <comment>roadmaps.yml</comment>"; |
@@ -234,7 +234,7 @@ |
||
234 | 234 | |
235 | 235 | $propertyConfig = array_filter( |
236 | 236 | self::PROPERTY_MAP, |
237 | - function (array $propertyConfig) use ($propertyTo) { |
|
237 | + function(array $propertyConfig) use ($propertyTo) { |
|
238 | 238 | return $propertyTo === $propertyConfig[0]; |
239 | 239 | } |
240 | 240 | ); |
@@ -63,7 +63,7 @@ |
||
63 | 63 | $parsedDto = new ParsedDto(); |
64 | 64 | $parsedDto->setVacancy($rawDto); |
65 | 65 | |
66 | - $scannerDto = $this->scanner instanceof MultistrategicScanner |
|
66 | + $scannerDto = $this->scanner instanceof MultistrategicScanner |
|
67 | 67 | ? new MultistrategicScannerDto() |
68 | 68 | : new ScannerDto(); |
69 | 69 |
@@ -382,7 +382,10 @@ discard block |
||
382 | 382 | <?php if ($hasMinorProblems): ?> |
383 | 383 | <h2>Recommendations</h2> |
384 | 384 | <p> |
385 | - <?php if ($hasMajorProblems): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience, |
|
385 | + <?php if ($hasMajorProblems): ?>Additionally, to<?php else { |
|
386 | + : ?>To<?php endif; |
|
387 | +} |
|
388 | +?> enhance your Symfony experience, |
|
386 | 389 | it’s recommended that you fix the following: |
387 | 390 | </p> |
388 | 391 | <ol> |
@@ -398,9 +401,12 @@ discard block |
||
398 | 401 | <p id="phpini">* |
399 | 402 | <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?> |
400 | 403 | Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>". |
401 | - <?php else: ?> |
|
404 | + <?php else { |
|
405 | + : ?> |
|
402 | 406 | To change settings, create a "<strong>php.ini</strong>". |
403 | - <?php endif; ?> |
|
407 | + <?php endif; |
|
408 | +} |
|
409 | +?> |
|
404 | 410 | </p> |
405 | 411 | <?php endif; ?> |
406 | 412 |
@@ -26,10 +26,10 @@ discard block |
||
26 | 26 | // Feel free to remove this, extend it, or make something more sophisticated. |
27 | 27 | if (!getenv('APP_DEBUG')) { |
28 | 28 | header('HTTP/1.0 403 Forbidden'); |
29 | - exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.'); |
|
29 | + exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
|
30 | 30 | } |
31 | 31 | |
32 | -require __DIR__ . '/../vendor/autoload.php'; |
|
32 | +require __DIR__.'/../vendor/autoload.php'; |
|
33 | 33 | |
34 | 34 | Debug::enable(); |
35 | 35 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | . ' as a Composer dependency to load variables from a .env file.' |
42 | 42 | ); |
43 | 43 | } |
44 | - (new Dotenv())->load(__DIR__ . '/../.env'); |
|
44 | + (new Dotenv())->load(__DIR__.'/../.env'); |
|
45 | 45 | } |
46 | 46 | |
47 | 47 | $kernel = new AppKernel($_SERVER['APP_ENV'], true); |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public function load(array $configs, ContainerBuilder $container) |
51 | 51 | { |
52 | - $locator = new FileLocator(__DIR__ . implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
52 | + $locator = new FileLocator(__DIR__.implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
53 | 53 | $loader = new YamlFileLoader($container, $locator); |
54 | 54 | |
55 | 55 | $configFiles = [ |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | ]; |
64 | 64 | |
65 | 65 | foreach ($configFiles as $configFile) { |
66 | - $loader->load('config' . DIRECTORY_SEPARATOR . $configFile); |
|
66 | + $loader->load('config'.DIRECTORY_SEPARATOR.$configFile); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | $configuration = new Configuration(); |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public function load(array $configs, ContainerBuilder $container) |
51 | 51 | { |
52 | - $locator = new FileLocator(__DIR__ . implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
52 | + $locator = new FileLocator(__DIR__.implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources'])); |
|
53 | 53 | $loader = new YamlFileLoader($container, $locator); |
54 | 54 | |
55 | 55 | $configFiles = [ |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | ]; |
64 | 64 | |
65 | 65 | foreach ($configFiles as $configFile) { |
66 | - $loader->load('config' . DIRECTORY_SEPARATOR . $configFile); |
|
66 | + $loader->load('config'.DIRECTORY_SEPARATOR.$configFile); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | $configuration = new Configuration(); |