Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
Sf(*):Upgrade Sf2.6
Browse files Browse the repository at this point in the history
- Upgrade 2.4 -> 2.5 et 2.5 -> 2.6
  • Loading branch information
flef committed Feb 14, 2015
1 parent b8c528f commit a84020d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function registerBundles()
$bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
$bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
}

return $bundles;
Expand Down
4 changes: 2 additions & 2 deletions app/SymfonyRequirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,8 @@ function_exists('simplexml_import_dom'),

$this->addRecommendation(
class_exists('DomDocument'),
'PHP-XML module should be installed',
'Install and enable the <strong>PHP-XML</strong> module.'
'PHP-DOM and PHP-XML modules should be installed',
'Install and enable the <strong>PHP-DOM</strong> and the <strong>PHP-XML</strong> modules.'
);

$this->addRecommendation(
Expand Down
4 changes: 3 additions & 1 deletion app/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ framework:
strict_requirements: ~
form: ~
csrf_protection: true
validation: { enable_annotations: true }
validation:
enable_annotations: true
strict_email: true
templating:
engines: ['twig']
#assets_version: SomeVersionScheme
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "~2.4",
"symfony/symfony": "2.6.*",
"doctrine/orm": ">=2.2.3,<2.4-dev",
"doctrine/doctrine-bundle": "~1.2",
"doctrine/doctrine-fixtures-bundle": "dev-master",
Expand All @@ -27,7 +27,8 @@
"genemu/form-bundle": "v2.2.1",
"gedmo/doctrine-extensions": "dev-master",
"jms/security-extra-bundle": "dev-master",
"stof/doctrine-extensions-bundle": "dev-master"
"stof/doctrine-extensions-bundle": "dev-master",
"egulias/email-validator": "~1.2"
},
"scripts": {
"post-install-cmd": [
Expand Down
2 changes: 1 addition & 1 deletion src/mgate/SuiviBundle/Form/Type/AuditType.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function getName()
public function buildForm(FormBuilder $builder, array $options)
{
$builder->add('gender_code', new GenderType(), array(
'empty_value' => 'Type d\'audit',
'placeholder' => 'Type d\'audit',
));
}
}

0 comments on commit a84020d

Please sign in to comment.