Skip to content

Commit 7da7b32

Browse files
[2.8] Silence newest deprecations
1 parent 52ed956 commit 7da7b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/Core/Type/FormType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function configureOptions(OptionsResolver $resolver)
195195

196196
$readOnlyNormalizer = function (Options $options, $readOnly) {
197197
if (null !== $readOnly) {
198-
trigger_error('The form option "read_only" is deprecated since version 2.8 and will be removed in 3.0. Use "attr[\'readonly\']" instead.', E_USER_DEPRECATED);
198+
@trigger_error('The form option "read_only" is deprecated since version 2.8 and will be removed in 3.0. Use "attr[\'readonly\']" instead.', E_USER_DEPRECATED);
199199

200200
return $readOnly;
201201
}

0 commit comments

Comments
 (0)