minor #18500 [DependencyInjection] Add coverage for all invalid arguments in exportParameters (JhonnyL)
minor #18500 [DependencyInjection] Add coverage for all invalid arguments in exportParameters (JhonnyL)

This PR was merged into the 2.3 branch.

Discussion
----------

[DependencyInjection] Add coverage for all invalid arguments in exportParameters

| Q             | A
| ------------- | ---
| Branch?       | 2.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

87c4f23 [DependencyInjection] Add coverage for all invalid arguments in exportParameters

symfony/dependency-injection,symfony/DependencyInjection