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

Remove internal deprecation notice #101

Merged
merged 1 commit into from
Oct 29, 2018

Conversation

joelwurtz
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets fixes #78
Documentation
License MIT

This remove internal deprecation notices and still respect bc promise, by implementing construct in each implementation.

@Nyholm
Copy link
Member

Nyholm commented Jul 9, 2018

I see that this removes the deprecation warning when using ie CompressStream. If Im correct, a user that uses the CompressStream wil not notice any difference in 2.0, right? The $writeFilterCallback property is never used... anywhere.

@joelwurtz
Copy link
Member Author

Not sure how this was used, so i made this to be fully BC compatible, but we can remove setting this value if you want

@Nyholm
Copy link
Member

Nyholm commented Jul 9, 2018

Im fine with the current implementation. I just wanted to make sure.

Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assuming that assigning to $this->writeFilterCallback works even with the lowest PHP version that we support, i am fine with this.

@GrahamCampbell
Copy link
Contributor

Any news on this?

@dbu
Copy link
Contributor

dbu commented Oct 29, 2018

i have no experience with the php stream code, so i don't feel confident enough to merge this one. if people agree that this is the right way to do it, lets merge it.

@sagikazarmark sagikazarmark self-requested a review October 29, 2018 11:46
Copy link
Member

@sagikazarmark sagikazarmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @joelwurtz

@sagikazarmark sagikazarmark merged commit 923ed1f into master Oct 29, 2018
@sagikazarmark sagikazarmark deleted the feature/remove-deprecation-notice branch October 29, 2018 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive trigger of deprecation notice in FilteredStream
5 participants