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

Autoload: improve/stabilize version check for TestCase #59

Merged
merged 1 commit into from
Oct 3, 2021

Commits on Oct 3, 2021

  1. Autoload: improve/stabilize version check for TestCase

    The version check in the `Autoload::loadTestCase()` method could get confused if the package using this library, or a dependency of the package using this library would alias the `PHPUnit_Runner_Version`/`PHPUnit\Runner\Version` class.
    
    As both classes contain the method we need to retrieve the version number, let's always base the loading on the available PHPUnit version number instead of the availability of either class.
    jrfnl committed Oct 3, 2021
    Configuration menu
    Copy the full SHA
    24ea563 View commit details
    Browse the repository at this point in the history