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.
Merge pull request #3050 from dfyz-it/fix_typo_use_empty_data

Update typo in use_empty_data.rst
Merge pull request #3053 from gnutix/2.1

[OptionsResolver] Fix syntax errors in code examples (missing in_array closing slashes)
Merge branch '2.1' into 2.2
Removed typo
Fix annotation example in Regex validation constraint
Merge pull request #3056 from hanneskaeufler/patch-2

Fix typo in Dependency Injection - Parameters
Use PSR-3 compatible method

Changed
`$logger->err('An error occurred');`
to
`$logger->error('An error occurred');`
because it's deprecated and not PSR-3 compatible
Merge pull request #3061 from xabbuh/issue-3011

remove wrong notice on locales in the session, add reference to the rele...
add clarification clause for how event listener priority affects trigger order
Merge remote-tracking branch 'origin/2.2' into 2.2
Added missing use statements
Merge pull request #3065 from mweimerskirch/patch-1

Fixed invalid HTML
Merge branch '2.0' into 2.1
Merge branch '2.1' into 2.2