);
}
+ $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',
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(