Skip to content

Commit b84e1b8

Browse files
committed
Merge branch '3.1'
2 parents e2e0585 + e9bd794 commit b84e1b8

File tree

13 files changed

+222
-23
lines changed

13 files changed

+222
-23
lines changed

.platform.app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ disk: 512
4646
# Build time dependencies.
4747
dependencies:
4848
python:
49-
sphinx: ">=1"
49+
sphinx: "1.3.6"
5050

5151
# The hooks that will be performed when the package is deployed.
5252
hooks:

_build/redirection_map

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,3 +331,4 @@
331331
/components/yaml/index /components/yaml
332332
/deployment/tools /deployment
333333
/install/bundles /setup/bundles
334+
/form /forms

changelog.rst

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,170 @@ documentation.
1313
Do you also want to participate in the Symfony Documentation? Take a look
1414
at the ":doc:`/contributing/documentation/overview`" article.
1515

16+
September, 2016
17+
---------------
18+
19+
New Documentation
20+
~~~~~~~~~~~~~~~~~
21+
22+
* `#6989 <https://github.com/symfony/symfony-docs/pull/6989>`_ Added paths options in Framework::translator configuration (mickaelandrieu)
23+
* `#6926 <https://github.com/symfony/symfony-docs/pull/6926>`_ [Serializer] Add information about name converter parameter (michaelperrin)
24+
* `#6976 <https://github.com/symfony/symfony-docs/pull/6976>`_ [Finishing][Serializer] Document the encoders (Ener-Getick, weaverryan)
25+
* `#6622 <https://github.com/symfony/symfony-docs/pull/6622>`_ Documentation for YAML flags added in 3.1 (dantleech)
26+
27+
Fixed Documentation
28+
~~~~~~~~~~~~~~~~~~~
29+
30+
31+
Minor Documentation Changes
32+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
33+
34+
* `#7016 <https://github.com/symfony/symfony-docs/pull/7016>`_ Add empty parentheses to method names (bocharsky-bw)
35+
* `#7015 <https://github.com/symfony/symfony-docs/pull/7015>`_ Replace title placeholder name with slug (bocharsky-bw)
36+
* `#7009 <https://github.com/symfony/symfony-docs/pull/7009>`_ Update form_dependencies.rst: fix DI (ReDnAxE)
37+
* `#7010 <https://github.com/symfony/symfony-docs/pull/7010>`_ Update service_decoration.rst (lamari)
38+
* `#7008 <https://github.com/symfony/symfony-docs/pull/7008>`_ Missing semicolon (Saphyel)
39+
* `#6979 <https://github.com/symfony/symfony-docs/pull/6979>`_ Add specific tip about the http-kernel component (greg0ire)
40+
* `#6686 <https://github.com/symfony/symfony-docs/pull/6686>`_ Update installation.rst (mgkimsal)
41+
* `#7007 <https://github.com/symfony/symfony-docs/pull/7007>`_ normalize versionadded wording (xabbuh)
42+
* `#6990 <https://github.com/symfony/symfony-docs/pull/6990>`_ replace dirname() call with .. (xabbuh)
43+
* `#6992 <https://github.com/symfony/symfony-docs/pull/6992>`_ [Serializer] versionadded directive for name_converter option (xabbuh)
44+
* `#7005 <https://github.com/symfony/symfony-docs/pull/7005>`_ Use new array syntax and make a few minor tweaks (bocharsky-bw)
45+
* `#7005 <https://github.com/symfony/symfony-docs/pull/7005>`_ Use new array syntax and make a few minor tweaks (bocharsky-bw)
46+
* `#7004 <https://github.com/symfony/symfony-docs/pull/7004>`_ Tweak URL - CMF project moved to the other repo (bocharsky-bw)
47+
* `#7001 <https://github.com/symfony/symfony-docs/pull/7001>`_ Several typo fixes (emirb)
48+
* `#7000 <https://github.com/symfony/symfony-docs/pull/7000>`_ Several typo fixes (emirb)
49+
* `#6999 <https://github.com/symfony/symfony-docs/pull/6999>`_ Several typo fixes (emirb)
50+
* `#6997 <https://github.com/symfony/symfony-docs/pull/6997>`_ Update console.rst (adyassine)
51+
* `#6917 <https://github.com/symfony/symfony-docs/pull/6917>`_ [Finder] document array use for locations (mickaelandrieu)
52+
* `#6993 <https://github.com/symfony/symfony-docs/pull/6993>`_ Update create_custom_field_type.rst (yceruto)
53+
* `#6993 <https://github.com/symfony/symfony-docs/pull/6993>`_ Update create_custom_field_type.rst (yceruto)
54+
* `#6994 <https://github.com/symfony/symfony-docs/pull/6994>`_ [Reference] remove 2.8 versionadded directive (xabbuh)
55+
* `#6984 <https://github.com/symfony/symfony-docs/pull/6984>`_ Update deployment.rst (adyassine)
56+
* `#6995 <https://github.com/symfony/symfony-docs/pull/6995>`_ the least -> least (konrados)
57+
* `#6996 <https://github.com/symfony/symfony-docs/pull/6996>`_ fix reference syntax (xabbuh)
58+
* `#6991 <https://github.com/symfony/symfony-docs/pull/6991>`_ Update heroku.rst (adyassine)
59+
* `#6934 <https://github.com/symfony/symfony-docs/pull/6934>`_ Update events.rst (asandjivy)
60+
* `#6897 <https://github.com/symfony/symfony-docs/pull/6897>`_ Update voters.rst (asandjivy)
61+
* `#6920 <https://github.com/symfony/symfony-docs/pull/6920>`_ [Config] Note about bundle priority for PrependExtensionInterface (wodor)
62+
* `#6905 <https://github.com/symfony/symfony-docs/pull/6905>`_ Change example of ignoring dependencies for yaml (Integrity-178B)
63+
* `#6885 <https://github.com/symfony/symfony-docs/pull/6885>`_ [FormComponent]Fix wrong mention in side note (rendler-denis)
64+
* `#6911 <https://github.com/symfony/symfony-docs/pull/6911>`_ Article about logout. (BorodinDemid)
65+
* `#6923 <https://github.com/symfony/symfony-docs/pull/6923>`_ Clarify by_reference use (jxmallett)
66+
* `#6942 <https://github.com/symfony/symfony-docs/pull/6942>`_ Updated the "Build a Login Form" article (javiereguiluz)
67+
* `#6931 <https://github.com/symfony/symfony-docs/pull/6931>`_ [Guard] Improve clarity using the configured provider (chalasr)
68+
* `#6933 <https://github.com/symfony/symfony-docs/pull/6933>`_ Misplaced paragraph about placeholders in routing.rst (antoin-m)
69+
* `#6930 <https://github.com/symfony/symfony-docs/pull/6930>`_ Use Terminal lexer for console examples (wouterj)
70+
* `#6893 <https://github.com/symfony/symfony-docs/pull/6893>`_ Update entity_provider.rst (asandjivy)
71+
* `#6895 <https://github.com/symfony/symfony-docs/pull/6895>`_ fixing $formatLevelMap array values (zrashwani)
72+
* `#6935 <https://github.com/symfony/symfony-docs/pull/6935>`_ Use the standard cache and logs dir for the micro kernel example (javiereguiluz)
73+
* `#6970 <https://github.com/symfony/symfony-docs/pull/6970>`_ Fix subject/verb agreement (micheal)
74+
* `#6971 <https://github.com/symfony/symfony-docs/pull/6971>`_ Update composer.rst (TravisCarden)
75+
* `#6983 <https://github.com/symfony/symfony-docs/pull/6983>`_ Update voters.rst (seferov)
76+
* `#6986 <https://github.com/symfony/symfony-docs/pull/6986>`_ Fixed directory name typo (JoeThielen)
77+
* `#6988 <https://github.com/symfony/symfony-docs/pull/6988>`_ fix link role syntax (xabbuh)
78+
* `#6960 <https://github.com/symfony/symfony-docs/pull/6960>`_ [Reference] add back the option's description (xabbuh)
79+
* `#6987 <https://github.com/symfony/symfony-docs/pull/6987>`_ Update input.rst (adyassine)
80+
* `#6974 <https://github.com/symfony/symfony-docs/pull/6974>`_ Fix minor typo in security chapter How to Build a Traditional Login Form (peterkokot)
81+
* `#6941 <https://github.com/symfony/symfony-docs/pull/6941>`_ Mentioned the "Symfony Upgrade Fixer" in the upgrade article (javiereguiluz)
82+
* `#6936 <https://github.com/symfony/symfony-docs/pull/6936>`_ Improved the title of Validation Groups article to make it easier to find (javiereguiluz)
83+
* `#6925 <https://github.com/symfony/symfony-docs/pull/6925>`_ Method "$this->getMock()" is deprecated (JohnnyEvo)
84+
* `#6964 <https://github.com/symfony/symfony-docs/pull/6964>`_ Fix typo in validator example (svenluijten)
85+
* `#6945 <https://github.com/symfony/symfony-docs/pull/6945>`_ Fixed indentation issues in alias_private article (javiereguiluz)
86+
* `#6954 <https://github.com/symfony/symfony-docs/pull/6954>`_ Typo fix in tags.rst (NoScopie)
87+
* `#6955 <https://github.com/symfony/symfony-docs/pull/6955>`_ Typo in the class name. (pythagor)
88+
89+
90+
August, 2016
91+
------------
92+
93+
New Documentation
94+
~~~~~~~~~~~~~~~~~
95+
96+
* `#6903 <https://github.com/symfony/symfony-docs/pull/6903>`_ Remove reference to profiler lifetime property that was removed in 3.x (jameshalsall)
97+
* `#6908 <https://github.com/symfony/symfony-docs/pull/6908>`_ Add deprecation warnings to relevant profiler options (jameshalsall)
98+
* `#5974 <https://github.com/symfony/symfony-docs/pull/5974>`_ [PropertyInfo] Add Component Documentation (zanderbaldwin)
99+
* `#6765 <https://github.com/symfony/symfony-docs/pull/6765>`_ [Contributing] [Standards] Do not use spaces inside/around offset accessors (phansys)
100+
* `#6746 <https://github.com/symfony/symfony-docs/pull/6746>`_ Removing the alias stuff - not required after symfony/symfony#17074 (weaverryan)
101+
* `#6798 <https://github.com/symfony/symfony-docs/pull/6798>`_ Finishing Validator Docs (wouterj, mickaelandrieu, javiereguiluz, weaverryan)
102+
103+
Fixed Documentation
104+
~~~~~~~~~~~~~~~~~~~
105+
106+
* `#6915 <https://github.com/symfony/symfony-docs/pull/6915>`_ Fix the error in code example (kruglikov)
107+
* `#6907 <https://github.com/symfony/symfony-docs/pull/6907>`_ fix wrong variable name in OptionsResolver example (dincho)
108+
* `#6904 <https://github.com/symfony/symfony-docs/pull/6904>`_ Update create_custom_field_type.rst (tuanalumi)
109+
* `#6892 <https://github.com/symfony/symfony-docs/pull/6892>`_ Update custom_provider.rst (asandjivy)
110+
* `#6884 <https://github.com/symfony/symfony-docs/pull/6884>`_ service_container : fix php Definition instance (ReDnAxE)
111+
* `#6883 <https://github.com/symfony/symfony-docs/pull/6883>`_ [Routing] Fix a route path in a routing example (thomasbisignani)
112+
* `#6869 <https://github.com/symfony/symfony-docs/pull/6869>`_ Update templating.rst (asandjivy)
113+
* `#6822 <https://github.com/symfony/symfony-docs/pull/6822>`_ Adjust Application use statement (kvdnberg)
114+
* `#6881 <https://github.com/symfony/symfony-docs/pull/6881>`_ Error in CSRF example code snippet (makoru-hikage)
115+
* `#6863 <https://github.com/symfony/symfony-docs/pull/6863>`_ Update argument_value_resolver.rst (asandjivy)
116+
* `#6852 <https://github.com/symfony/symfony-docs/pull/6852>`_ Fix Cache Pools: SQLite3Cache constructor argument (wimme002)
117+
* `#6848 <https://github.com/symfony/symfony-docs/pull/6848>`_ Fix Varnish 4 code example (Dreimus)
118+
* `#6845 <https://github.com/symfony/symfony-docs/pull/6845>`_ Fixed the extension of a logging article (javiereguiluz)
119+
* `#6790 <https://github.com/symfony/symfony-docs/pull/6790>`_ Simplex\Framework contructor - remove extra parameter (alchimik)
120+
* `#6793 <https://github.com/symfony/symfony-docs/pull/6793>`_ Simplex\Framework - add argumentResolver property (alchimik)
121+
* `#6800 <https://github.com/symfony/symfony-docs/pull/6800>`_ Fix missing function name (JosefVitu)
122+
* `#6843 <https://github.com/symfony/symfony-docs/pull/6843>`_ fix index directive syntax (xabbuh)
123+
* `#6784 <https://github.com/symfony/symfony-docs/pull/6784>`_ Fix CS for form templates locations (javiereguiluz)
124+
* `#6797 <https://github.com/symfony/symfony-docs/pull/6797>`_ fix FlattenException namespace (alchimik)
125+
* `#6787 <https://github.com/symfony/symfony-docs/pull/6787>`_ Fix reference to output object (micheal)
126+
* `#6761 <https://github.com/symfony/symfony-docs/pull/6761>`_ fixed missing level in namespace (themasch)
127+
* `#6757 <https://github.com/symfony/symfony-docs/pull/6757>`_ Fix typo in external_parameters.rst (gmorel)
128+
* `#6754 <https://github.com/symfony/symfony-docs/pull/6754>`_ Add missing use statements to data collector example (richardmiller)
129+
130+
Minor Documentation Changes
131+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
132+
133+
* `#6921 <https://github.com/symfony/symfony-docs/pull/6921>`_ Fix var_dumper advanced usage link (ogizanagi)
134+
* `#6913 <https://github.com/symfony/symfony-docs/pull/6913>`_ [Controller Description] Fix typos and class link (rendler-denis)
135+
* `#6909 <https://github.com/symfony/symfony-docs/pull/6909>`_ DumpFile() third argument is deprecated and doesn't exists anymore (mickaelandrieu)
136+
* `#6901 <https://github.com/symfony/symfony-docs/pull/6901>`_ [EventDispatcher] paragraph duplicated (ReDnAxE)
137+
* `#6899 <https://github.com/symfony/symfony-docs/pull/6899>`_ Update access_control.rst (asandjivy)
138+
* `#6898 <https://github.com/symfony/symfony-docs/pull/6898>`_ Fixes after tonight's merge round (wouterj)
139+
* `#6896 <https://github.com/symfony/symfony-docs/pull/6896>`_ Tweaks to property info component (weaverryan)
140+
* `#6888 <https://github.com/symfony/symfony-docs/pull/6888>`_ Update http_kernel_controller_resolver.rst (audiua)
141+
* `#6887 <https://github.com/symfony/symfony-docs/pull/6887>`_ [FormComponent] Fix typos (rendler-denis)
142+
* `#6849 <https://github.com/symfony/symfony-docs/pull/6849>`_ Link to inversedBy/mappedBy documentation (soulchainer, wouterj)
143+
* `#6846 <https://github.com/symfony/symfony-docs/pull/6846>`_ Adds bin folder creation instruction (joelrfcosta)
144+
* `#6835 <https://github.com/symfony/symfony-docs/pull/6835>`_ Updated the instructions to build docs locally (javiereguiluz)
145+
* 5a5720fe minor #6834 Refactored how to get the container in a test (javiereguiluz)
146+
* `#6814 <https://github.com/symfony/symfony-docs/pull/6814>`_ Created the main article about "deployment" (javiereguiluz)
147+
* `#6882 <https://github.com/symfony/symfony-docs/pull/6882>`_ Update serializer.rst (seferov)
148+
* `#6880 <https://github.com/symfony/symfony-docs/pull/6880>`_ Remove extra quotes from ExprBuilder::thenInvalid() usage (chalasr)
149+
* `#6878 <https://github.com/symfony/symfony-docs/pull/6878>`_ missing "`" (jevgenijusr)
150+
* `#6877 <https://github.com/symfony/symfony-docs/pull/6877>`_ added lyrixx to the core team (fabpot)
151+
* `#6867 <https://github.com/symfony/symfony-docs/pull/6867>`_ Add a class specificity for SplFileInfo text (rendler-denis)
152+
* `#6872 <https://github.com/symfony/symfony-docs/pull/6872>`_ Remove redundant verb (julienfalque)
153+
* `#6866 <https://github.com/symfony/symfony-docs/pull/6866>`_ Deprecated message with "true" parameter (wazz42)
154+
* `#6862 <https://github.com/symfony/symfony-docs/pull/6862>`_ Remove unused JsonResponse dependency in example (Farskies)
155+
* `#6855 <https://github.com/symfony/symfony-docs/pull/6855>`_ [Form] Use composer require instead of modifying composer.json (wouterj)
156+
* `#6853 <https://github.com/symfony/symfony-docs/pull/6853>`_ Logrotate moved to GitHub (wouterj)
157+
* `#6851 <https://github.com/symfony/symfony-docs/pull/6851>`_ Update lazy_services.rst (takeit)
158+
* `#6794 <https://github.com/symfony/symfony-docs/pull/6794>`_ Added a new section to the page templating/global_vars using a EVListener (piet, Piet Bijl)
159+
* `#6850 <https://github.com/symfony/symfony-docs/pull/6850>`_ Remove outdated reference (hvt)
160+
* `#6824 <https://github.com/symfony/symfony-docs/pull/6824>`_ Service naming convension (orions)
161+
* `#6825 <https://github.com/symfony/symfony-docs/pull/6825>`_ update `cache` and `logs` folder locations (georgiana-gligor)
162+
* `#6829 <https://github.com/symfony/symfony-docs/pull/6829>`_ Fix a typo in an HTTP Cache code example (aybbou)
163+
* `#6833 <https://github.com/symfony/symfony-docs/pull/6833>`_ Fixed a syntax issue in custom_constraint article (javiereguiluz)
164+
* `#6842 <https://github.com/symfony/symfony-docs/pull/6842>`_ Fixed service name (jeremyFreeAgent)
165+
* `#6803 <https://github.com/symfony/symfony-docs/pull/6803>`_ Remove complex speech pattern (micheal)
166+
* `#6805 <https://github.com/symfony/symfony-docs/pull/6805>`_ Remove colloquialism "hold on" (micheal)
167+
* `#6796 <https://github.com/symfony/symfony-docs/pull/6796>`_ Remove AcmeDemoBundle references (michaelcullum)
168+
* `#6786 <https://github.com/symfony/symfony-docs/pull/6786>`_ Subject-verb agreement (micheal)
169+
* `#6759 <https://github.com/symfony/symfony-docs/pull/6759>`_ Fix tense and sentence length (aalaap)
170+
* `#6820 <https://github.com/symfony/symfony-docs/pull/6820>`_ Fixed the main index page redirections (javiereguiluz)
171+
* `#6819 <https://github.com/symfony/symfony-docs/pull/6819>`_ Fixed the redirection for "upgrade" articles (javiereguiluz)
172+
* `#6812 <https://github.com/symfony/symfony-docs/pull/6812>`_ Fixed a Console article redirection (javiereguiluz)
173+
* `#6807 <https://github.com/symfony/symfony-docs/pull/6807>`_ Fixed the redirection of the cookbook/psr7 article (javiereguiluz)
174+
* `#6806 <https://github.com/symfony/symfony-docs/pull/6806>`_ Fixed the redirection of some cache articles (javiereguiluz)
175+
* `#6808 <https://github.com/symfony/symfony-docs/pull/6808>`_ Fixed a DI redirection (javiereguiluz)
176+
* `#6810 <https://github.com/symfony/symfony-docs/pull/6810>`_ Fixed the redirection of the previous "performance" book chapter (javiereguiluz)
177+
* `#6816 <https://github.com/symfony/symfony-docs/pull/6816>`_ Added all the missing "index pages" redirections (javiereguiluz)
178+
179+
16180
July, 2016
17181
----------
18182

components/serializer.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -671,11 +671,6 @@ you indicate that you're expecting an array instead of a single object.
671671
$data = ...; // The serialized data from the previous example
672672
$persons = $serializer->deserialize($data, 'Acme\Person[]', 'json');
673673
674-
.. seealso::
675-
676-
A popular alternative to the Symfony Serializer Component is the third-party
677-
library, `JMS serializer`_ (released under the Apache license, so incompatible with GPLv2 projects).
678-
679674
Learn more
680675
----------
681676

@@ -685,6 +680,11 @@ Learn more
685680

686681
/serializer
687682

683+
.. seealso::
684+
685+
A popular alternative to the Symfony Serializer Component is the third-party
686+
library, `JMS serializer`_ (released under the Apache license, so incompatible with GPLv2 projects).
687+
688688
.. _`JMS serializer`: https://github.com/schmittjoh/serializer
689689
.. _Packagist: https://packagist.org/packages/symfony/serializer
690690
.. _RFC3339: https://tools.ietf.org/html/rfc3339#section-5.8

console/commands_as_services.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ with ``console.command``:
3030
app.command.my_command:
3131
class: AppBundle\Command\MyCommand
3232
tags:
33-
- { name: console.command }
33+
- { name: console.command }
3434
3535
.. code-block:: xml
3636
@@ -137,7 +137,7 @@ inject the ``command.default_name`` parameter:
137137
class: AppBundle\Command\MyCommand
138138
arguments: ["%command.default_name%"]
139139
tags:
140-
- { name: console.command }
140+
- { name: console.command }
141141
142142
.. code-block:: xml
143143

debug/debugging.rst

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,35 @@ by removing the call to ``loadClassCache()``::
5656
session.
5757

5858
Some IDEs do not like the fact that some classes are stored in different
59-
locations. To avoid problems, you can tell your IDE to ignore the PHP cache
60-
file.
59+
locations. To avoid problems, you can either tell your IDE to ignore the PHP
60+
cache files, or you can change the extension used by Symfony for these files::
61+
62+
$kernel->loadClassCache('classes', '.php.cache');
63+
64+
Useful Debugging Commands
65+
-------------------------
66+
67+
When developing a large application, it can be hard to keep track of all the
68+
different services, routes and translations. Luckily, Symfony has some commands
69+
that can help you visualize and find the information.
70+
71+
``debug:container``
72+
Displays information about the contents of the Symfony container for all public
73+
services. To find only those matching a name, append the name as an argument.
74+
75+
``debug:config``
76+
Shows all configured bundles, their class and their alias.
77+
78+
``debug:router``
79+
Displays information about all configured routes in the application as a
80+
table with the name, method, scheme, host and path for each route.
81+
82+
``debug:translation <locale>``
83+
Shows a table of the translation key, the domain, the translation and the
84+
fallback translation for all known messages, if translations exist for
85+
the given locale.
86+
87+
.. tip::
88+
89+
When in doubt how to use a console command, open the help section by
90+
appending the ``--help`` option.

doctrine/common_extensions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To do this, you have two options:
2323
with Symfony: `Install Gedmo Doctrine2 extensions in Symfony2`_
2424

2525
.. _`DoctrineExtensions`: https://github.com/Atlantic18/DoctrineExtensions
26-
.. _`StofDoctrineExtensionsBundle`: https://github.com/stof/StofDoctrineExtensionsBundle
26+
.. _`StofDoctrineExtensionsBundle`: http://symfony.com/doc/master/bundles/StofDoctrineExtensionsBundle/index.html
2727
.. _`Sluggable`: https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/sluggable.md
2828
.. _`Translatable`: https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/translatable.md
2929
.. _`Timestampable`: https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/timestampable.md

forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ the documentation for each type.
474474
:ref:`disable HTML5 validation <forms-html5-validation-disable>`
475475
or set the ``required`` option on your field to ``false``::
476476

477-
->add('dueDate', 'date', array(
477+
->add('dueDate', DateType::class, array(
478478
'widget' => 'single_text',
479479
'required' => false
480480
))

0 commit comments

Comments
 (0)