You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of Corrector::match currently used in HelpCommand::execute is quite naive since it is only based on php's native similar_text.
Consider making it smarter.
The idea occurred after
$ phpbrew uninstall php-7.0.15
Did you mean 'install'? [Y/n]
Where one presses Yes (or at least I did) without second thought.
I would expect Corrector::match to say "Did you mean 'remove'? [Y/n]".
If this is a direction you would like to go towards, I would be happy to provide a first implementation.
The text was updated successfully, but these errors were encountered:
The current implementation of
Corrector::match
currently used inHelpCommand::execute
is quite naive since it is only based on php's nativesimilar_text
.Consider making it smarter.
The idea occurred after
Where one presses Yes (or at least I did) without second thought.
I would expect
Corrector::match
to say "Did you mean 'remove'? [Y/n]".If this is a direction you would like to go towards, I would be happy to provide a first implementation.
The text was updated successfully, but these errors were encountered: