| @@ -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 | |
| @@ -22,7 +22,7 @@ | ||
| 22 | 22 |      exit('This script is only accessible from localhost.'); | 
| 23 | 23 | } | 
| 24 | 24 | |
| 25 | -require_once dirname(__FILE__).'/../var/SymfonyRequirements.php'; | |
| 25 | +require_once dirname(__FILE__) . '/../var/SymfonyRequirements.php'; | |
| 26 | 26 | |
| 27 | 27 | $symfonyRequirements = new SymfonyRequirements(); | 
| 28 | 28 | |
| @@ -62,7 +62,7 @@ | ||
| 62 | 62 |      { | 
| 63 | 63 | $httpClient = $event->getClient(); | 
| 64 | 64 | |
| 65 | -        if (! $httpClient instanceof ProxyAwareClientInterface || ! $httpClient->isProxyEnabled()) { | |
| 65 | +        if (!$httpClient instanceof ProxyAwareClientInterface || !$httpClient->isProxyEnabled()) { | |
| 66 | 66 | return; | 
| 67 | 67 | } | 
| 68 | 68 | |
| @@ -162,7 +162,7 @@ | ||
| 162 | 162 | */ | 
| 163 | 163 | public function isProxyEnabled(): bool | 
| 164 | 164 |      { | 
| 165 | - return !! $this->options['proxy']['enabled']; | |
| 165 | + return !!$this->options['proxy']['enabled']; | |
| 166 | 166 | } | 
| 167 | 167 | |
| 168 | 168 | /** |