-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Remove assertions that operate on class/object properties #4602
Copy link
Copy link
Closed
Labels
feature/assertionIssues related to assertions and expectationsIssues related to assertions and expectationstype/backward-compatibilitySomething will be/is intentionally brokenSomething will be/is intentionally broken
Milestone
Description
The following methods of PHPUnit\Framework\Assert will be removed in PHPUnit 11:
assertClassHasAttribute()assertClassNotHasAttribute()assertClassHasStaticAttribute()assertClassNotHasStaticAttribute()assertObjectHasAttribute()assertObjectNotHasAttribute()classHasAttribute()classHasStaticAttribute()objectHasAttribute()
The following classes will be removed in PHPUnit 11:
PHPUnit\Framework\Constraint\ClassHasAttributePHPUnit\Framework\Constraint\ClassHasStaticAttributePHPUnit\Framework\Constraint\ObjectHasAttribute
This follows #4601.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature/assertionIssues related to assertions and expectationsIssues related to assertions and expectationstype/backward-compatibilitySomething will be/is intentionally brokenSomething will be/is intentionally broken