Skip to content
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

Deprecate Readline and move all methods to Stdio #84

Merged
merged 1 commit into from
Aug 16, 2019

Conversation

clue
Copy link
Owner

@clue clue commented Aug 16, 2019

Move all public methods to Stdio as is, so the recommend way to call these methods now looks like this:

// old
$stdio->getReadline()->setPrompt('> ');

// new
$stdio->setPrompt('> ');

The original methods continue to exist and work unchanged until the next major release, at which point the Readline class will potentially be removed.

@clue clue added this to the v2.3.0 milestone Aug 16, 2019
@clue clue merged commit a5be795 into clue:master Aug 16, 2019
@clue clue deleted the deprecate-readline branch August 16, 2019 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant