[Translator] fixed inconsistency in Translator
Fixed trailing whitespace
fixed CS
Revert "merged branch jfsimon/issue-6749 (PR #7220)"

This reverts commit f52120bdd33bcc83157fc55ee088a564c727fa59, reversing
changes made to 66c2be30d06bf8c9bee9e07aa57be245763c2478.
[Console] added string input test
[Console] added deprecation annotation
merged branch jfsimon/console-tests-fix (PR #7232)

This PR was merged into the 2.2 branch.

Commits
-------

5bf2f71 [Console] added deprecation annotation
f95f8e2 [Console] added string input test
4b12118 Revert "merged branch jfsimon/issue-6749 (PR #7220)"

Discussion
----------

[Console] fixes tests

Previous `StringInputTest::testInputOptionWithGivenString` test was broken.
Trying make it pass broke the way `StringInput` is used in the console.

Two things to know abour the `StringInput` class in its actual state:
*  the second argument in the constructor is useless
*  the `bind` method **must** be called in order to access arguments/options

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
merged branch pborreli/patch-6 (PR #7228)

This PR was merged into the 2.2 branch.

Commits
-------

c6c71bf Fixed trailing whitespace

Discussion
----------

Fixed trailing whitespace
Revert "merged branch jfsimon/issue-6749 (PR #7220)"

This reverts commit f52120bdd33bcc83157fc55ee088a564c727fa59, reversing
changes made to 66c2be30d06bf8c9bee9e07aa57be245763c2478.
[Console] added string input test
[Console] fixed StringInput binding
[Routing] trigger deprecation warning for deprecated features that will be removed in 2.3
adjusted tests to not use RouteCollection::getPrefix
adjust tests to no use addPrefix with options
refactor interator test that was still assuming a tree
added tests for remove() that wasnt covered yet and special route name
adjust RouteCollectionTest for the addCollection change and refactor the tests to only skip the part that really needs the config component
added tests for addDefaults, addRequirements, addOptions
add test for uniqueness of resources
adjust routing tests to not use prefix in addCollection