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

Don't use the deprecated LoggerInterfaceTest class #1565

Closed
wants to merge 1 commit into from

Conversation

derrabus
Copy link
Contributor

Psr\Log\Test\LoggerInterfaceTest is deprecated and has been removed in psr/log 2.0. This PR inlines the test cases from that class. That should unlock #1564.

@derrabus derrabus mentioned this pull request Jul 18, 2021
@derrabus derrabus force-pushed the remove/deprecated-test-class branch from 9d0acba to 1b0d5e5 Compare July 18, 2021 22:23
@Seldaek
Copy link
Owner

Seldaek commented Jul 23, 2021

I think I'd rather wait on php-fig/log-util#2 to be finished so we can rely on that instead of copy pasting it all in here.. I don't think supporting psr/log 2.0 is that urgent?

@Seldaek Seldaek modified the milestones: 1.x, 2.x Jul 23, 2021
@fabpot
Copy link
Contributor

fabpot commented Jul 30, 2021

Not sure if it's urgent to support psr/log 2.0, but as we do support it in Symfony, 2.0 is installed by default and then, doing composer req symfony/monolog-bundle will fail. Using -W fixes the problem in the meantime.

@derrabus
Copy link
Contributor Author

It does not look like php-fig/log-util#2 is actively being worked on. Given that the amount of code I'm inlining here is not really much and we're talking about a test case, shall we merge anyway?

@Seldaek
Copy link
Owner

Seldaek commented Sep 14, 2021

Right, log-util seems stalled so I merged #1587 now which does pretty much the same as this PR. Thanks!

@Seldaek Seldaek closed this Sep 14, 2021
@derrabus derrabus deleted the remove/deprecated-test-class branch September 14, 2021 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants