core icon indicating copy to clipboard operation
core copied to clipboard

fix(symfony): BC layer broken for symfony/console lower than 5.3

Open deguif opened this issue 3 years ago • 1 comments

Q A
Branch? 2.7
Tickets
License MIT
Doc PR

BC layer for symfony/console <= 5.3 is broken

When running php bin/console on a project with symfony/console lower than 5.3, it throws this error :

Undefined constant Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE 

deguif avatar Sep 20 '22 14:09 deguif

No longer using negatable should imply to define 2 options (for dry-run and no-dry-run) so technically this is a BC break as it removes an option. But given the nature of this command and because IMHO the negation is not relevant in this case I'm 👍 as-is.

chalasr avatar Sep 21 '22 11:09 chalasr

thanks @deguif

soyuka avatar Sep 23 '22 15:09 soyuka