Update book/forms.rst

Fix typo (missing ";") in source code sample for dynamic validation groups
Added some standards
Update typo in use_empty_data.rst
[OptionsResolver] Fix syntax errors in code examples (missing in_array closing slashes)

This pull request fixes 2 syntax errors when using `in_array()` in conditions (missing the last closing slash).

It also adds a missing `use` statement in one code example.
Fix typo
remove wrong notice on locales in the session, add reference to the relevant cookbook article instead
Fixed invalid HTML

The <script> tag is not allowed to be self-closing.
Improved code example about memory spooling
widget anchor fixed
minor typo fix
fix wording : instantiate class, not instantiate object
Fixed typo
javascript case sensitive typos
Remove extra whitespace
Format list in a single way
[Validation] Fix order of code block: annotations <=> yaml
[Security] Fix typo
[Security] Update routing from "pattern" to "path" parameter
some unneded spaces fixed
[Internals] Fix "seealso" position for "kernel.exception"