Skip to content

Commit 60ca906

Browse files
committed
bug #6439 Fix form/validation directory path (nemo-)
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
2 parents 069bffb + 3d26303 commit 60ca906

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/form/introduction.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,8 @@ Your integration with the Validation component will look something like this::
318318
use Symfony\Component\Validator\Validation;
319319

320320
$vendorDir = realpath(__DIR__.'/../vendor');
321-
$vendorFormDir = $vendorDir.'/symfony/form/Symfony/Component/Form';
322-
$vendorValidatorDir =
323-
$vendorDir.'/symfony/validator/Symfony/Component/Validator';
321+
$vendorFormDir = $vendorDir.'/symfony/form';
322+
$vendorValidatorDir = $vendorDir.'/symfony/validator';
324323

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

0 commit comments

Comments
 (0)