Skip to content

Conversation

@derrabus
Copy link
Member

As @Tobion pointed out in a comment to my merged PR #138, the LoggerChannelPass still triggers deprecation warnings with Symfony 2.8. When writing my patch, I was not aware that I could suppress the warning by passing false as parameter to Reference::isStrict().

I think, suppressing the warning is the way to go because we already took care of the deprecation in #138: Once isStrict() is gone, it won't be called anymore. But as long as it's still there, other bundles might be using that functionality, so imho there's no way around calling isStrict() without potentially breaking stuff.

@nicolas-grekas
Copy link
Member

👍

1 similar comment
@Tobion
Copy link
Contributor

Tobion commented Oct 29, 2015

👍

Seldaek added a commit that referenced this pull request Oct 29, 2015
Don't trigger a deprecation warning for Reference::isStrict()
@Seldaek Seldaek merged commit b930783 into symfony:master Oct 29, 2015
@Seldaek
Copy link
Member

Seldaek commented Oct 29, 2015

Thanks

@derrabus derrabus deleted the no-deprecation-warning branch October 30, 2015 09:01
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.

5 participants