mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #91] [MERGED] Removed deprecated assertType #7698
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/91
Author: @kwiateusz
Created: 7/26/2011
Status: ✅ Merged
Merged: 7/26/2011
Merged by: @beberlei
Base:
master← Head:UnitTestsUpdate📝 Commits (3)
49c7351Change from assertType to assertInstanceOf.1ea3e54Correted indentation and variable name7261060Few more converts from assertTrue($a instance of $b) to assertInstanceOf📊 Changes
43 files changed (+167 additions, -167 deletions)
View changed files
📝
tests/Doctrine/Tests/ORM/EntityManagerTest.php(+9 -9)📝
tests/Doctrine/Tests/ORM/Functional/AdvancedAssociationTest.php(+8 -8)📝
tests/Doctrine/Tests/ORM/Functional/BasicFunctionalTest.php(+10 -10)📝
tests/Doctrine/Tests/ORM/Functional/ClassTableInheritanceTest.php(+18 -18)📝
tests/Doctrine/Tests/ORM/Functional/ClassTableInheritanceTest2.php(+4 -4)📝
tests/Doctrine/Tests/ORM/Functional/CompositePrimaryKeyTest.php(+1 -1)📝
tests/Doctrine/Tests/ORM/Functional/DefaultValuesTest.php(+1 -1)📝
tests/Doctrine/Tests/ORM/Functional/DetachedEntityTest.php(+3 -3)📝
tests/Doctrine/Tests/ORM/Functional/EntityRepositoryTest.php(+6 -6)📝
tests/Doctrine/Tests/ORM/Functional/ManyToManyBasicAssociationTest.php(+3 -3)📝
tests/Doctrine/Tests/ORM/Functional/ManyToManyBidirectionalAssociationTest.php(+10 -10)📝
tests/Doctrine/Tests/ORM/Functional/ManyToManySelfReferentialAssociationTest.php(+4 -4)📝
tests/Doctrine/Tests/ORM/Functional/ManyToManyUnidirectionalAssociationTest.php(+4 -4)📝
tests/Doctrine/Tests/ORM/Functional/MappedSuperclassTest.php(+2 -2)📝
tests/Doctrine/Tests/ORM/Functional/NativeQueryTest.php(+11 -11)📝
tests/Doctrine/Tests/ORM/Functional/OneToManyBidirectionalAssociationTest.php(+10 -10)📝
tests/Doctrine/Tests/ORM/Functional/OneToManySelfReferentialAssociationTest.php(+4 -4)📝
tests/Doctrine/Tests/ORM/Functional/OneToOneBidirectionalAssociationTest.php(+6 -6)📝
tests/Doctrine/Tests/ORM/Functional/OneToOneSelfReferentialAssociationTest.php(+3 -3)📝
tests/Doctrine/Tests/ORM/Functional/OneToOneUnidirectionalAssociationTest.php(+2 -2)...and 23 more files
📄 Description
Now PHPUnit doesn't show warning about deprecation of assertType.
Also some refractoring from assertTrue($a instanceof $b) to assertInstanceOf.
Leading \ in namespaces is not required so I removed it from few assertions.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.