10000 Merge branch '6.4' into 7.2 · symfony/symfony-docs@25fbba3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 25fbba3

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: Remove non-existent password_strength setting from the reference Improve the documentation of php_errors in the reference
2 parents 1fd383a + 548b0cd commit 25fbba3

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

reference/configuration/framework.rst

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2802,14 +2802,6 @@ metadata of the class. You can define an array of strings with the names of
28022802
several methods. In that case, all of them will be called in that order to load
28032803
the metadata.
28042804

2805-
.. _reference-validation-password-strength:
2806-
2807-
password_strength
2808-
.................
2809-
2810-
The :doc:`PasswordStrength </reference/constraints/PasswordStrength>`
2811-
constraint verifies the submitted string entropy is matching the minimum entropy score.
2812-
28132805
.. _reference-validation-email_validation_mode:
28142806

28152807
email_validation_mode
@@ -3007,11 +2999,15 @@ php_errors
30072999
log
30083000
...
30093001

3010-
**type**: ``boolean`` | ``int`` **default**: ``true``
3002+
**type**: ``boolean`` | ``int`` | ``array<int, string>`` **default**: ``true``
30113003

30123004
Use the application logger instead of the PHP logger for logging PHP errors.
3013-
When an integer value is used, it also sets the log level. Those integer
3014-
values must be the same used in the `error_reporting PHP option`_.
3005+
When an integer value is used, it defines a bitmask of PHP errors that will
3006+
be logged. Those integer values must be the same used in the
3007+
`error_reporting PHP option`_. The default log levels will be used for each
3008+
PHP error.
3009+
When a boolean value is used, ``true`` enables logging for all PHP errors
3010+
while ``false`` disables logging entirely.
30153011

30163012
This option also accepts a map of PHP errors to log levels:
30173013

0 commit comments

Comments
 (0)
0