-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat: improve CLI input testability #7978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
050a396
to
392132f
Compare
Have to come back to this one. |
👋 Hi, @kenjis! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is indeed easier. I like the idea.
I love! A few comments and suggestions. |
Adding
|
readline() does not return the last "\n", but fgets() returns the last "\n".
The number of tables may vary.
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
Co-authored-by: MGatner <mgatner@icloud.com>
Co-authored-by: MGatner <mgatner@icloud.com>
Co-authored-by: MGatner <mgatner@icloud.com>
Co-authored-by: MGatner <mgatner@icloud.com>
Nice strict catch! I'm surprised PHPStan didn't complain. Thanks for the changes, this is looking great. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meant to be "approve" - my comment is not required.
Needs #8137
Description
To improve testability.
InputOutput
andMockInputOutput
class to CLIChecklist: