From 386cd24663f9b6384372ef4f78a7f3100f06057d Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Fri, 30 Oct 2015 08:00:43 +0100 Subject: Update deps Changelogs summary: - twig/twig updated from v1.22.3 to v1.23.0 See changes: https://github.com/twigphp/Twig/compare/v1.22.3...v1.23.0 Release notes: https://github.com/twigphp/Twig/releases/tag/v1.23.0 - doctrine/cache updated from v1.4.2 to v1.5.0 See changes: https://github.com/doctrine/cache/compare/v1.4.2...v1.5.0 Release notes: https://github.com/doctrine/cache/releases/tag/v1.5.0 - symfony/symfony updated from v2.7.5 to v2.7.6 See changes: https://github.com/symfony/symfony/compare/v2.7.5...v2.7.6 Release notes: https://github.com/symfony/symfony/releases/tag/v2.7.6 - sensio/distribution-bundle updated from v3.0.31 to v3.0.33 See changes: https://github.com/sensiolabs/SensioDistributionBundle/compare/v3.0.31...v3.0.33 Release notes: https://github.com/sensiolabs/SensioDistributionBundle/releases/tag/v3.0.33 - nelmio/api-doc-bundle updated from 2.9.0 to 2.10.3 See changes: https://github.com/nelmio/NelmioApiDocBundle/compare/2.9.0...2.10.3 Release notes: https://github.com/nelmio/NelmioApiDocBundle/releases/tag/2.10.3 - lexik/form-filter-bundle updated from v4.0.1 to v4.0.2 See changes: https://github.com/lexik/LexikFormFilterBundle/compare/v4.0.1...v4.0.2 Release notes: https://github.com/lexik/LexikFormFilterBundle/releases/tag/v4.0.2 - j0k3r/graby-site-config updated from 1.0.5 to 1.0.6 See changes: https://github.com/j0k3r/graby-site-config/compare/1.0.5...1.0.6 Release notes: https://github.com/j0k3r/graby-site-config/releases/tag/1.0.6 - j0k3r/graby updated from 1.0.2 to 1.0.4 See changes: https://github.com/j0k3r/graby/compare/1.0.2...1.0.4 Release notes: https://github.com/j0k3r/graby/releases/tag/1.0.4 - phpunit/phpunit updated from 4.8.13 to 4.8.16 See changes: https://github.com/sebastianbergmann/phpunit/compare/4.8.13...4.8.16 Release notes: https://github.com/sebastianbergmann/phpunit/releases/tag/4.8.16 --- app/SymfonyRequirements.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/SymfonyRequirements.php b/app/SymfonyRequirements.php index abaf0c17..28b0dcdb 100644 --- a/app/SymfonyRequirements.php +++ b/app/SymfonyRequirements.php @@ -446,6 +446,12 @@ class SymfonyRequirements extends RequirementCollection ); } + $this->addRequirement( + function_exists('iconv'), + 'iconv() must be available', + 'Install and enable the iconv extension.' + ); + $this->addRequirement( function_exists('json_encode'), 'json_encode() must be available', @@ -546,10 +552,10 @@ class SymfonyRequirements extends RequirementCollection require_once __DIR__.'/../vendor/autoload.php'; try { - $r = new \ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle'); + $r = new ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle'); $contents = file_get_contents(dirname($r->getFileName()).'/Resources/skeleton/app/SymfonyRequirements.php'); - } catch (\ReflectionException $e) { + } catch (ReflectionException $e) { $contents = ''; } $this->addRecommendation( -- cgit v1.2.3