partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 1b961d751c5af24b112790fb87f77e942cf48eb9
parent 85f6b4f5617c023de82fbdac0848d4e5dbbbbf1c
Author: Timo A. Hummel <felicitus@felicitus.org>
Date:   Tue, 16 Feb 2016 13:08:13 +0100

Updated distribution bundle to newer version

Diffstat:
Mapp/SymfonyRequirements.php | 10++++++++--
Mapp/check.php | 6+++---
Mcomposer.lock | 10+++++-----
3 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/app/SymfonyRequirements.php b/app/SymfonyRequirements.php @@ -447,6 +447,12 @@ class SymfonyRequirements extends RequirementCollection } $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', 'Install and enable the <strong>JSON</strong> extension.' @@ -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( diff --git a/app/check.php b/app/check.php @@ -6,7 +6,7 @@ $lineSize = 70; $symfonyRequirements = new SymfonyRequirements(); $iniPath = $symfonyRequirements->getPhpIniConfigPath(); -echo_title('Symfony2 Requirements Checker'); +echo_title('Symfony Requirements Checker'); echo '> PHP is using the following php.ini file:'.PHP_EOL; if ($iniPath) { @@ -42,9 +42,9 @@ foreach ($symfonyRequirements->getRecommendations() as $req) { } if ($checkPassed) { - echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects'); + echo_block('success', 'OK', 'Your system is ready to run Symfony projects'); } else { - echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects'); + echo_block('error', 'ERROR', 'Your system is not ready to run Symfony projects'); echo_title('Fix the following mandatory requirements', 'red'); diff --git a/composer.lock b/composer.lock @@ -3226,17 +3226,17 @@ }, { "name": "sensio/distribution-bundle", - "version": "v4.0.1", + "version": "v4.0.5", "target-dir": "Sensio/Bundle/DistributionBundle", "source": { "type": "git", "url": "https://github.com/sensiolabs/SensioDistributionBundle.git", - "reference": "62d99ba41144e704300e40f755346553702b27c9" + "reference": "c89375c9d95fc5afaeb99e7a49b428b6e3beb9d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/62d99ba41144e704300e40f755346553702b27c9", - "reference": "62d99ba41144e704300e40f755346553702b27c9", + "url": "https://api.github.com/repos/sensiolabs/SensioDistributionBundle/zipball/c89375c9d95fc5afaeb99e7a49b428b6e3beb9d3", + "reference": "c89375c9d95fc5afaeb99e7a49b428b6e3beb9d3", "shasum": "" }, "require": { @@ -3282,7 +3282,7 @@ "configuration", "distribution" ], - "time": "2015-08-03 10:07:56" + "time": "2016-02-12 16:21:25" }, { "name": "sensio/framework-extra-bundle",