You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
While using PHPUnit 7.5 mocks the DebugClassLoader reports
The "PHPUnit\Framework\MockObject\MockObject" interface extends "PHPUnit_Framework_MockObject_MockObject" that is deprecated Use PHPUnit\Framework\MockObject\MockObject instead.
As you can see, the first interface and one suggested are exactly the same that correctly extends the deprecated interface in order to not break BC.
How to reproduce
Just use a simple $this->createMock in PHPUnit 7.5 test case.
The text was updated successfully, but these errors were encountered:
yeah, we have a policy of allowing such extension from the same top-level namespace, but it does not work well when migration from PEAR-like namespaces to actual namespaces.
@nicolas-grekas for classes in the global namespaces, should we split on the first _ instead ?
Symfony version(s) affected: 4.2.1
Description
While using PHPUnit 7.5 mocks the DebugClassLoader reports
As you can see, the first interface and one suggested are exactly the same that correctly extends the deprecated interface in order to not break BC.
How to reproduce
Just use a simple
$this->createMock
in PHPUnit 7.5 test case.The text was updated successfully, but these errors were encountered: