@@ -82,7 +82,10 @@ discard block |
||
| 82 | 82 | <?php if (count($minorProblems)): ?> |
| 83 | 83 | <h2>Recommendations</h2> |
| 84 | 84 | <p> |
| 85 | - <?php if (count($majorProblems)): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience, |
|
| 85 | + <?php if (count($majorProblems)): ?>Additionally, to<?php else { |
|
| 86 | + : ?>To<?php endif; |
|
| 87 | +} |
|
| 88 | +?> enhance your Symfony experience, |
|
| 86 | 89 | it’s recommended that you fix the following: |
| 87 | 90 | </p> |
| 88 | 91 | <ol> |
@@ -96,9 +99,12 @@ discard block |
||
| 96 | 99 | <p id="phpini">* |
| 97 | 100 | <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?> |
| 98 | 101 | Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>". |
| 99 | - <?php else: ?> |
|
| 102 | + <?php else { |
|
| 103 | + : ?> |
|
| 100 | 104 | To change settings, create a "<strong>php.ini</strong>". |
| 101 | - <?php endif; ?> |
|
| 105 | + <?php endif; |
|
| 106 | +} |
|
| 107 | +?> |
|
| 102 | 108 | </p> |
| 103 | 109 | <?php endif; ?> |
| 104 | 110 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | $this->secretKey, |
| 52 | 52 | 0, |
| 53 | 53 | $iv))); |
| 54 | - }else{ |
|
| 54 | + } else{ |
|
| 55 | 55 | return trim(base64_encode(mcrypt_encrypt( |
| 56 | 56 | MCRYPT_RIJNDAEL_256, $this->secretKey, $data, MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND |
| 57 | 57 | )))); |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | $this->secretKey, |
| 81 | 81 | 0, |
| 82 | 82 | $iv)); |
| 83 | - }else{ |
|
| 83 | + } else{ |
|
| 84 | 84 | return trim(mcrypt_decrypt( |
| 85 | 85 | MCRYPT_RIJNDAEL_256, $this->secretKey, base64_decode($data), MCRYPT_MODE_ECB, mcrypt_create_iv( |
| 86 | 86 | mcrypt_get_iv_size( |
@@ -405,11 +405,11 @@ |
||
| 405 | 405 | $gitUndoCommand = $this->gitCommands->command('undo'); |
| 406 | 406 | if($option === 'theirs'){ |
| 407 | 407 | $response = $gitUndoCommand->checkoutTheirFile($file); |
| 408 | - }elseif($option === 'ours'){ |
|
| 408 | + } elseif($option === 'ours'){ |
|
| 409 | 409 | $response = $gitUndoCommand->checkoutOurFile($file); |
| 410 | - }elseif($option === 'delete'){ |
|
| 410 | + } elseif($option === 'delete'){ |
|
| 411 | 411 | $response = $gitUndoCommand->deleteFile($file); |
| 412 | - }else{ |
|
| 412 | + } else{ |
|
| 413 | 413 | $response = $gitUndoCommand->addFile($file); |
| 414 | 414 | } |
| 415 | 415 | |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | if(strtolower($file->getFilename()) === 'readme' ){ |
| 53 | 53 | $readme = $this->gitFilesCommands->readFile($file); |
| 54 | 54 | break; |
| 55 | - }else{ |
|
| 55 | + } else{ |
|
| 56 | 56 | //Get last md file |
| 57 | 57 | $readme = $this->gitFilesCommands->readFile($file); |
| 58 | 58 | } |