File: DEPRECATIONS.md

package info (click to toggle)
phpunit 13.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 52,080 kB
  • sloc: php: 106,679; xml: 2,216; makefile: 116; sh: 88
file content (13 lines) | stat: -rw-r--r-- 792 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Deprecations

## Hard Deprecations

This functionality is currently [hard-deprecated](https://phpunit.de/backward-compatibility.html#hard-deprecation):

### Writing Tests

#### Assertions, Constraints, and Expectations

| Issue                                                             | Description                       | Since  | Replacement                                                              |
|-------------------------------------------------------------------|-----------------------------------|--------|--------------------------------------------------------------------------|
| [#6461](https://github.com/sebastianbergmann/phpunit/issues/6461) | `TestCase::any()`                 | 12.5.5 | Use a test stub instead or configure a real invocation count expectation |