[Form] Fix #10658 Deprecate "read_only" option

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #10658
| License       | MIT
| Doc PR        | https://github.com/symfony/symfony-docs/pull/3782
Maybe the spaces should be before the html attributes in the php file too as it has been done on the twig form layout?