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

Prerequisites for PHPUnit update to version 10 in 4.0.x #6066

Merged
merged 6 commits into from
Jun 15, 2023

Commits on Jun 14, 2023

  1. Mark PHPUnit data providers static

    Using non-static methods as a data provider was deprecated in PHPUnit 10
    morozov committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    2111aa3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf280f1 View commit details
    Browse the repository at this point in the history
  3. Source constants from Types instead of Type

    The test should have been reworked within doctrine#3356.
    morozov committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    800be40 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1dc87d0 View commit details
    Browse the repository at this point in the history
  5. Rename abstract test case classes

    PHPUnit 10 no longer ignores abstract classes that end with Test.
    morozov committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    3b4b2f4 View commit details
    Browse the repository at this point in the history
  6. Do not skip tests from within data providers

    PHPUnit 10 does not allow data providers to throw any exceptions.
    morozov committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    41af257 View commit details
    Browse the repository at this point in the history