Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit c460797

Browse files
committed
bumped generator bundle dep
1 parent bfdf629 commit c460797

File tree

4 files changed

+709
-279
lines changed

4 files changed

+709
-279
lines changed

app/SymfonyRequirements.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,12 @@ public function __construct()
446446
);
447447
}
448448

449+
$this->addRequirement(
450+
function_exists('iconv'),
451+
'iconv() must be available',
452+
'Install and enable the <strong>iconv</strong> extension.'
453+
);
454+
449455
$this->addRequirement(
450456
function_exists('json_encode'),
451457
'json_encode() must be available',
@@ -546,10 +552,10 @@ function_exists('simplexml_import_dom'),
546552
require_once __DIR__.'/../vendor/autoload.php';
547553

548554
try {
549-
$r = new \ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle');
555+
$r = new ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle');
550556

551557
$contents = file_get_contents(dirname($r->getFileName()).'/Resources/skeleton/app/SymfonyRequirements.php');
552-
} catch (\ReflectionException $e) {
558+
} catch (ReflectionException $e) {
553559
$contents = '';
554560
}
555561
$this->addRecommendation(

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"incenteev/composer-parameter-handler": "~2.0"
2020
},
2121
"require-dev": {
22-
"sensio/generator-bundle": "~2.3"
22+
"sensio/generator-bundle": "~3.0"
2323
},
2424
"scripts": {
2525
"post-install-cmd": [

0 commit comments

Comments
 (0)