Skip to content

Commit 0c1903d

Browse files
committed
minor #5799 make file path consitent with other articles (OskarStark)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #5799). Discussion ---------- make file path consitent with other articles added ``src/`` to the beginning of the file path Greetings from Symfony Live Berlin 2015 - Hack Day 😄 Commits ------- 1615efd make file path consitent with other articles
2 parents a21985a + 1615efd commit 0c1903d

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

book/forms.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ object.
354354

355355
.. code-block:: php-annotations
356356
357-
// AppBundle/Entity/Task.php
357+
// src/AppBundle/Entity/Task.php
358358
use Symfony\Component\Validator\Constraints as Assert;
359359
360360
class Task
@@ -373,7 +373,7 @@ object.
373373
374374
.. code-block:: yaml
375375
376-
# AppBundle/Resources/config/validation.yml
376+
# src/AppBundle/Resources/config/validation.yml
377377
AppBundle\Entity\Task:
378378
properties:
379379
task:
@@ -384,7 +384,7 @@ object.
384384
385385
.. code-block:: xml
386386
387-
<!-- AppBundle/Resources/config/validation.xml -->
387+
<!-- src/AppBundle/Resources/config/validation.xml -->
388388
<?xml version="1.0" encoding="UTF-8"?>
389389
<constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
390390
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -404,7 +404,7 @@ object.
404404
405405
.. code-block:: php
406406
407-
// AppBundle/Entity/Task.php
407+
// src/AppBundle/Entity/Task.php
408408
use Symfony\Component\Validator\Mapping\ClassMetadata;
409409
use Symfony\Component\Validator\Constraints\NotBlank;
410410
use Symfony\Component\Validator\Constraints\Type;

book/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ class to have at least 3 characters.
532532

533533
.. code-block:: php-annotations
534534
535-
// AppBundle/Entity/Author.php
535+
// src/AppBundle/Entity/Author.php
536536
537537
// ...
538538
use Symfony\Component\Validator\Constraints as Assert;

reference/constraints/UniqueEntity.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ your user table:
3232

3333
.. code-block:: php-annotations
3434
35-
// AppBundle/Entity/Author.php
35+
// src/AppBundle/Entity/Author.php
3636
namespace AppBundle\Entity;
3737
3838
use Symfony\Component\Validator\Constraints as Assert;
@@ -88,8 +88,7 @@ your user table:
8888
8989
.. code-block:: php
9090
91-
92-
// AppBundle/Entity/User.php
91+
// src/AppBundle/Entity/User.php
9392
namespace AppBundle\Entity;
9493
9594
use Symfony\Component\Validator\Constraints as Assert;

0 commit comments

Comments
 (0)