Skip to content

Commit

Permalink
README: minor markdown fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Sep 16, 2024
1 parent 8351252 commit 899f899
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ Features
#### PHPUnit < 5.0.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertNumericType`

Polyfills the following methods:

| | | |
| -------------------------- | ---------------------------- | ----------------------- |
| [`Assert::assertFinite()`] | [`Assert::assertInfinite()`] | [`Assert::assertNan()`] |
Expand All @@ -214,6 +215,7 @@ These methods were introduced in PHPUnit 5.0.0.
#### PHPUnit < 5.2.0: `Yoast\PHPUnitPolyfills\Polyfills\ExpectException`

Polyfills the following methods:

| | |
| ----------------------------------- | -------------------------------------------- |
| [`TestCase::expectException()`] | [`TestCase::expectExceptionMessage()`] |
Expand All @@ -230,6 +232,7 @@ Both these methods were removed in PHPUnit 6.0.0.
#### PHPUnit < 5.6.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertFileDirectory`

Polyfills the following methods:

| | |
| --------------------------------------- | ------------------------------------------ |
| [`Assert::assertIsReadable()`] | [`Assert::assertNotIsReadable()`] |
Expand Down Expand Up @@ -268,6 +271,7 @@ This method was introduced in PHPUnit 6.4.0.
#### PHPUnit < 7.5.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertIsType`

Polyfills the following methods:

| | | |
| --------------------------------- | --------------------------------- | ------------------------------- |
| [`Assert::assertIsArray()`] | [`Assert::assertIsBool()`] | [`Assert::assertIsFloat()`] |
Expand Down Expand Up @@ -307,6 +311,7 @@ These methods were introduced in PHPUnit 7.5.0 as alternatives to the `Assert::a
#### PHPUnit < 7.5.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertStringContains`

Polyfills the following methods:

| | |
| ---------------------------------------------------- | ------------------------------------------------------- |
| [`Assert::assertStringContainsString()`] | [`Assert::assertStringNotContainsString()`] |
Expand All @@ -322,6 +327,7 @@ These methods were introduced in PHPUnit 7.5.0 as alternatives to using `Assert:
#### PHPUnit < 7.5.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertEqualsSpecializations`

Polyfills the following methods:

| | |
| ---------------------------------------- | ------------------------------------------- |
| [`Assert::assertEqualsCanonicalizing()`] | [`Assert::assertNotEqualsCanonicalizing()`] |
Expand All @@ -340,6 +346,7 @@ These methods were introduced in PHPUnit 7.5.0 as alternatives to using `Assert:
#### PHPUnit < 8.4.0: `Yoast\PHPUnitPolyfills\Polyfills\ExpectPHPException`

Polyfills the following methods:

| | | |
| ----------------------------------- | ------------------------------ | ------------------------------------- |
| `TestCase::`[`expectError()`] | [`expectErrorMessage()`] | [`expectErrorMessageMatches()`] |
Expand Down Expand Up @@ -375,6 +382,7 @@ The `TestCase::expectExceptionMessageRegExp()` method was soft deprecated in PHP
#### PHPUnit < 8.5.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertFileEqualsSpecializations`

Polyfills the following methods:

| | |
| ------------------------------------------------ | --------------------------------------------------- |
| `Assert::assertFileEqualsCanonicalizing()` | `Assert::assertFileNotEqualsCanonicalizing()` |
Expand All @@ -391,6 +399,7 @@ COMMENT: No documentation available (yet) for these assertions on the PHPUnit si
#### PHPUnit < 9.0.0: `Yoast\PHPUnitPolyfills\Polyfills\EqualToSpecializations`

Polyfills the following methods:

| | |
| --------------------------------- | ------------------------------- |
| `Assert::equalToCanonicalizing()` | `Assert::equalToIgnoringCase()` |
Expand Down Expand Up @@ -429,6 +438,7 @@ The original methods these new methods replace were hard deprecated in PHPUnit 9
#### PHPUnit < 9.3.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource`

Polyfills the following methods:

| | |
| ---------------------------------- | ------------------------------------- |
| `Assert::assertIsClosedResource()` | `Assert::assertIsNotClosedResource()` |
Expand Down Expand Up @@ -487,6 +497,7 @@ The `assertObjectEquals()` assertion was introduced in PHPUnit 9.4.0.
#### PHPUnit < 9.6.11: `Yoast\PHPUnitPolyfills\Polyfills\AssertObjectProperty`

Polyfills the following method:

| | |
| ----------------------------------- | -------------------------------------- |
| `Assert::assertObjectHasProperty()` | `Assert::assertObjectNotHasProperty()` |
Expand Down

0 comments on commit 899f899

Please sign in to comment.