Skip to content

Commit

Permalink
bug #6439 Fix form/validation directory path (nemo-)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.3 branch but it was merged into the 2.7 branch instead (closes #6439).

Discussion
----------

Fix form/validation directory path

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3 and higher
| Fixed tickets |

Commits
-------

3d26303 Fix form/validation directory path
  • Loading branch information
weaverryan committed Apr 12, 2016
2 parents 069bffb + 3d26303 commit 60ca906
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/form/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,8 @@ Your integration with the Validation component will look something like this::
use Symfony\Component\Validator\Validation;

$vendorDir = realpath(__DIR__.'/../vendor');
$vendorFormDir = $vendorDir.'/symfony/form/Symfony/Component/Form';
$vendorValidatorDir =
$vendorDir.'/symfony/validator/Symfony/Component/Validator';
$vendorFormDir = $vendorDir.'/symfony/form';
$vendorValidatorDir = $vendorDir.'/symfony/validator';

// create the validator - details will vary
$validator = Validation::createValidator();
Expand Down

0 comments on commit 60ca906

Please sign in to comment.