Trigger a deprecation on unknown option
I am not sure if there is a rationale behind ignoring extra keys like this. I was under the impression that something might copy options to platform specific options, thus leaving options in the original array, knowing they would be ignored anyway. If it is the case, it would be best to just move them, otherwise, this commit might help troubleshoot some mapping issues. I had to fix some tests that wrongly used that options array (maybe these options were valid at some point?).
Showing
... | ... | @@ -21,7 +21,8 @@ |
"phpunit/phpunit": "^6.3", | ||
"phpunit/phpunit-mock-objects": "!=3.2.4,!=3.2.5", | ||
"squizlabs/php_codesniffer": "^3.0", | ||
"symfony/console": "2.*||^3.0" | ||
"symfony/console": "2.*||^3.0", | ||
"symfony/phpunit-bridge": "^3.3" | ||
}, | ||
"suggest": { | ||
"symfony/console": "For helpful console commands such as SQL execution and import of files." | ||
... | ... |
Please register or sign in to comment