This functionality is currently hard-deprecated:
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 |