Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit dfc8945

Browse files
committed
updated VENDORS for 2.7.4
1 parent 6f4ec30 commit dfc8945

File tree

3 files changed

+185
-107
lines changed

3 files changed

+185
-107
lines changed

app/SymfonyRequirements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ function_exists('posix_isatty'),
638638
}
639639

640640
$this->addRecommendation(
641-
class_exists('Locale'),
641+
extension_loaded('intl'),
642642
'intl extension should be available',
643643
'Install and enable the <strong>intl</strong> extension (used for validators).'
644644
);

app/check.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
}
4343

4444
if ($checkPassed) {
45-
echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects', true);
45+
echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects');
4646
} else {
47-
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects', true);
47+
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects');
4848

4949
echo_title('Fix the following mandatory requirements', 'red');
5050

@@ -80,7 +80,7 @@ function get_error_message(Requirement $requirement, $lineSize)
8080
return;
8181
}
8282

83-
$errorMessage = wordwrap($requirement->getTestMessage(), $lineSize - 3, PHP_EOL.' ').PHP_EOL;
83+
$errorMessage = wordwrap($requirement->getTestMessage(), $lineSize - 3, PHP_EOL.' ').PHP_EOL;
8484
$errorMessage .= ' > '.wordwrap($requirement->getHelpText(), $lineSize - 5, PHP_EOL.' > ').PHP_EOL;
8585

8686
return $errorMessage;
@@ -121,8 +121,8 @@ function echo_block($style, $title, $message)
121121
echo PHP_EOL.PHP_EOL;
122122

123123
echo_style($style, str_repeat(' ', $width).PHP_EOL);
124-
echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL);
125-
echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL);
124+
echo_style($style, str_pad(' ['.$title.']', $width, ' ', STR_PAD_RIGHT).PHP_EOL);
125+
echo_style($style, str_pad($message, $width, ' ', STR_PAD_RIGHT).PHP_EOL);
126126
echo_style($style, str_repeat(' ', $width).PHP_EOL);
127127
}
128128

0 commit comments

Comments
 (0)