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

Rename Abstract*Test to *TestCase #9806

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Jun 2, 2022

PHPUnit 10 will complain about abstract classes suffixed with Test. This is why I've renamed all of those classes to use the suffix TestCase instead. Since we use that suffix already for some of the abstract test case classes, our class naming should become a little more consistent this way.

@derrabus derrabus added this to the 2.13.0 milestone Jun 2, 2022
@derrabus derrabus merged commit cc6cc26 into doctrine:2.13.x Jun 2, 2022
@derrabus derrabus deleted the improvement/abstract-test-cases branch June 2, 2022 14:33
derrabus added a commit to derrabus/orm that referenced this pull request Jun 3, 2022
* 2.13.x:
  PHPStan 1.7.9 (doctrine#9812)
  Remove empty test file (doctrine#9805)
  Remove calls to deprecated MockBuilder::setMethods() (doctrine#9808)
  Deprecate passing null to Query::setFirstResult()
  Rename Abstract*Test to *TestCase (doctrine#9806)
  Add primary key on temp table (doctrine#9770)
  Fix wrong types (doctrine#9802)
  Widen return type
  Update baseline
  Fix
  Add type for AssociationMapping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants