Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermednt committed Oct 21, 2015
1 parent 35d747f commit 1b5b9aa
Show file tree
Hide file tree
Showing 3 changed files with 229 additions and 208 deletions.
8 changes: 7 additions & 1 deletion app/SymfonyRequirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,12 @@ public function __construct()
);
}

$this->addRequirement(
function_exists('iconv'),
'iconv() must be available',
'Install and enable the <strong>iconv</strong> extension.'
);

$this->addRequirement(
function_exists('json_encode'),
'json_encode() must be available',
Expand Down Expand Up @@ -638,7 +644,7 @@ function_exists('posix_isatty'),
}

$this->addRecommendation(
class_exists('Locale'),
extension_loaded('intl'),
'intl extension should be available',
'Install and enable the <strong>intl</strong> extension (used for validators).'
);
Expand Down
4 changes: 2 additions & 2 deletions app/check.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
}

if ($checkPassed) {
echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects', true);
echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects');
} else {
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects', true);
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects');

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

Expand Down
Loading

0 comments on commit 1b5b9aa

Please sign in to comment.