Remove assertions that operate on class/object properties #4602
Labels
feature/assertion
Issues related to assertions and expectations
type/backward-compatibility
Something will be/is intentionally broken
Milestone
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\ClassHasAttribute
PHPUnit\Framework\Constraint\ClassHasStaticAttribute
PHPUnit\Framework\Constraint\ObjectHasAttribute
This follows #4601.
The text was updated successfully, but these errors were encountered: