aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/SymfonyRequirements.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-10-30 08:00:43 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-10-30 08:00:43 +0100
commit386cd24663f9b6384372ef4f78a7f3100f06057d (patch)
treecf47285f0c7f8398d62f63b8bfa461bb0b9f3f50 /app/SymfonyRequirements.php
parentc929c88faff654c273f1db94389dcd43cb939bbb (diff)
downloadwallabag-386cd24663f9b6384372ef4f78a7f3100f06057d.tar.gz
wallabag-386cd24663f9b6384372ef4f78a7f3100f06057d.tar.zst
wallabag-386cd24663f9b6384372ef4f78a7f3100f06057d.zip
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
Diffstat (limited to 'app/SymfonyRequirements.php')
-rw-r--r--app/SymfonyRequirements.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/SymfonyRequirements.php b/app/SymfonyRequirements.php
index abaf0c17..28b0dcdb 100644
--- a/app/SymfonyRequirements.php
+++ b/app/SymfonyRequirements.php
@@ -447,6 +447,12 @@ class SymfonyRequirements extends RequirementCollection
447 } 447 }
448 448
449 $this->addRequirement( 449 $this->addRequirement(
450 function_exists('iconv'),
451 'iconv() must be available',
452 'Install and enable the <strong>iconv</strong> extension.'
453 );
454
455 $this->addRequirement(
450 function_exists('json_encode'), 456 function_exists('json_encode'),
451 'json_encode() must be available', 457 'json_encode() must be available',
452 'Install and enable the <strong>JSON</strong> extension.' 458 'Install and enable the <strong>JSON</strong> extension.'
@@ -546,10 +552,10 @@ class SymfonyRequirements extends RequirementCollection
546 require_once __DIR__.'/../vendor/autoload.php'; 552 require_once __DIR__.'/../vendor/autoload.php';
547 553
548 try { 554 try {
549 $r = new \ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle'); 555 $r = new ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle');
550 556
551 $contents = file_get_contents(dirname($r->getFileName()).'/Resources/skeleton/app/SymfonyRequirements.php'); 557 $contents = file_get_contents(dirname($r->getFileName()).'/Resources/skeleton/app/SymfonyRequirements.php');
552 } catch (\ReflectionException $e) { 558 } catch (ReflectionException $e) {
553 $contents = ''; 559 $contents = '';
554 } 560 }
555 $this->addRecommendation( 561 $this->addRecommendation(