fix bash command display in components/console/usage
Update typo in use_empty_data.rst
Fixed typo in direct_submit.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
Merge pull request #3040 from globin/2.3

fix bash command display in components/console/usage
fixed missing syntax highlight on a table name.
Changed slash to backslash in use statement.
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 #3051 from dfyz-it/fix_typo_direct_submit

Fixed typo in direct_submit.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