Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use integer type instead of int & boolean instead of bool #14529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ outgoing network interface.
buffer
......

**type**: ``bool`` | ``Closure``
**type**: ``boolean`` | ``Closure``

Buffering the response means that you can access its content multiple times
without performing the request again. Buffering is enabled by default when the
Expand Down Expand Up @@ -2851,7 +2851,7 @@ Name of the workflow you want to create.
audit_trail
"""""""""""

**type**: ``bool``
**type**: ``boolean``

If set to ``true``, the :class:`Symfony\\Component\\Workflow\\EventListener\\AuditTrailListener`
will be enabled.
Expand Down
2 changes: 1 addition & 1 deletion reference/configuration/twig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ no specific character is passed as argument to the ``number_format`` filter.
optimizations
~~~~~~~~~~~~~

**type**: ``int`` **default**: ``-1``
**type**: ``integer`` **default**: ``-1``

Twig includes an extension called ``optimizer`` which is enabled by default in
Symfony applications. This extension analyzes the templates to optimize them
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/AtLeastOneOf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ has to be satisfied in order for the validation to succeed.
includeInternalMessages
~~~~~~~~~~~~~~~~~~~~~~~

**type**: ``bool`` **default**: ``true``
**type**: ``boolean`` **default**: ``true``

If set to ``true``, the message that is shown if the validation fails,
will include the list of messages for the internal constraints. See option
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Hostname.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Parameter Description
``requireTld``
~~~~~~~~~~~~~~

**type**: ``bool`` **default**: ``true``
**type**: ``boolean`` **default**: ``true``

By default, hostnames are considered valid only when they are fully qualified
and include their TLDs (top-level domain names). For instance, ``example.com``
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/NotBlank.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Options
allowNull
~~~~~~~~~

**type**: ``bool`` **default**: ``false``
**type**: ``boolean`` **default**: ``false``

If set to ``true``, ``null`` values are considered valid and won't trigger a
constraint violation.
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Traverse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ The ``groups`` option is not available for this constraint.
``traverse``
~~~~~~~~~~~~

**type**: ``bool`` **default**: ``true``
**type**: ``boolean`` **default**: ``true``

Instances of ``\Traversable`` are traversed by default, use this option to
disable validating:
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/color.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Field Options
html5
~~~~~

**type**: ``bool`` **default**: ``false``
**type**: ``boolean`` **default**: ``false``

.. versionadded:: 5.1

Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/options/help_html.rst.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
help_html
~~~~~~~~~

**type**: ``bool`` **default**: ``false``
**type**: ``boolean`` **default**: ``false``

By default, the contents of the ``help`` option are escaped before rendering
them in the template. Set this option to ``true`` to not escape them, which is
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/options/label_html.rst.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
``label_html``
~~~~~~~~~~~~~~

**type**: ``bool`` **default**: ``false``
**type**: ``boolean`` **default**: ``false``

.. versionadded:: 5.1

Expand Down