Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 3.35 KB

DEPRECATIONS.md

File metadata and controls

16 lines (11 loc) · 3.35 KB

Deprecations

Hard Deprecations

This functionality is currently hard-deprecated:

Writing Tests

Assertions, Constraints, and Expectations

Issue Description Since Replacement
#6052 Assert::isType() 11.5.0 Use isArray(), isBool(), isCallable(), isFloat(), isInt(), isIterable(), isNull(), isNumeric(), isObject(), isResource(), isClosedResource(), isScalar(), or isString() instead
#6055 Assert::assertContainsOnly() 11.5.0 Use assertContainsOnlyArray(), assertContainsOnlyBool(), assertContainsOnlyCallable(), assertContainsOnlyFloat(), assertContainsOnlyInt(), assertContainsOnlyIterable(), assertContainsOnlyNumeric(), assertContainsOnlyObject(), assertContainsOnlyResource(), assertContainsOnlyClosedResource(), assertContainsOnlyScalar(), or assertContainsOnlyString() instead
#6055 Assert::assertNotContainsOnly() 11.5.0 Use assertContainsNotOnlyArray(), assertContainsNotOnlyBool(), assertContainsNotOnlyCallable(), assertContainsNotOnlyFloat(), assertContainsNotOnlyInt(), assertContainsNotOnlyIterable(), assertContainsNotOnlyNumeric(), assertContainsNotOnlyObject(), assertContainsNotOnlyResource(), assertContainsNotOnlyClosedResource(), assertContainsNotOnlyScalar(), or assertContainsNotOnlyString() instead
#6059 Assert::containsOnly() 11.5.0 Use containsOnlyArray(), containsOnlyBool(), containsOnlyCallable(), containsOnlyFloat(), containsOnlyInt(), containsOnlyIterable(), containsOnlyNumeric(), containsOnlyObject(), containsOnlyResource(), containsOnlyClosedResource(), containsOnlyScalar(), or containsOnlyString() instead