Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
bug #21825 [PhpUnitBridge] disable global test listener when not regi…
…stered (xabbuh) This PR was merged into the 2.8 branch. Discussion ---------- [PhpUnitBridge] disable global test listener when not registered | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | The global test listener is always initialized to register the clock mock and DNS mock as soon as possible. However, when the listener is registered locally through the PHPUnit config, it will never be registered as a listener. In thise case, the state of the local listener must be reset to correctly report expected deprecation test results. Commits ------- e068661 disable global test listener when not registered
- Loading branch information