From 0a7e695975af4dc6fe3c8b22ab9323b725d8da6d Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 23 Feb 2016 23:29:25 +0100 Subject: [PATCH] remove unused functions & clean composer.json --- composer.json | 33 +++++++++---------- .../CoreBundle/Command/InstallCommand.php | 2 -- 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/composer.json b/composer.json index 0a016049..796c4c15 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,21 @@ }, "require": { "php": ">=5.5.9", + "ext-pcre": "*", + "ext-DOM": "*", + "ext-curl": "*", + "ext-gd": "*", + "ext-session": "*", + "ext-Ctype": "*", + "ext-hash": "*", + "ext-simplexml": "*", + "ext-json": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-iconv": "*", + "ext-gettext": "*", + "ext-tokenizer": "*", + "ext-PDO": "*", "symfony/symfony": "3.0.*", "doctrine/orm": "^2.5", "doctrine/doctrine-bundle": "^1.6", @@ -66,23 +81,7 @@ "paragonie/random_compat": "~1.0", "craue/config-bundle": "~1.4", "mnapoli/piwik-twig-extension": "^1.0", - "lexik/maintenance-bundle": "~2.1", - "ext-pcre": "*", - "ext-DOM": "*", - "ext-curl": "*", - "ext-gd": "*", - "ext-session": "*", - "ext-Ctype": "*", - "ext-hash": "*", - "ext-simplexml": "*", - "ext-json": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-tidy": "*", - "ext-iconv": "*", - "ext-gettext": "*", - "ext-tokenizer": "*", - "ext-PDO": "*" + "lexik/maintenance-bundle": "~2.1" }, "require-dev": { "doctrine/doctrine-fixtures-bundle": "~2.2", diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index 114b8726..9383628c 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php @@ -30,10 +30,8 @@ class InstallCommand extends ContainerAwareCommand * @var array */ protected $functionExists = [ - 'tidy_parse_string', 'curl_exec', 'curl_multi_init', - 'gettext', ]; protected function configure() -- 2.41.0