Skip to content

Commit

Permalink
Merge branch '2.x' into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Sep 16, 2024
2 parents 19e6d5f + 0df4721 commit 9cbb821
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

# @link https://github.com/marketplace/actions/markdownlint-cli2-action
- name: Check markdown with CLI2
uses: DavidAnson/markdownlint-cli2-action@v16
uses: DavidAnson/markdownlint-cli2-action@v17

remark:
name: 'QA Markdown'
Expand Down
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ Features
#### PHPUnit < 7.5.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertIsType`

Polyfills the following methods:

| | | |
| --------------------------------- | --------------------------------- | ------------------------------- |
| [`Assert::assertIsArray()`] | [`Assert::assertIsBool()`] | [`Assert::assertIsFloat()`] |
Expand Down Expand Up @@ -239,6 +240,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 @@ -254,6 +256,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 @@ -269,6 +272,7 @@ These methods were introduced in PHPUnit 7.5.0 as alternatives to using `Assert:
[`Assert::assertEqualsWithDelta()`]: https://docs.phpunit.de/en/main/assertions.html#assertequalswithdelta
[`Assert::assertNotEqualsWithDelta()`]: https://docs.phpunit.de/en/main/assertions.html#assertequalswithdelta


#### PHPUnit < 8.4.0: `Yoast\PHPUnitPolyfills\Polyfills\ExpectExceptionMessageMatches`

Polyfills the [`TestCase::expectExceptionMessageMatches()`] method.
Expand All @@ -281,6 +285,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 @@ -302,6 +307,7 @@ These methods were introduced in PHPUnit 8.5.0 as alternatives to using `Assert:
#### PHPUnit < 9.0.0: `Yoast\PHPUnitPolyfills\Polyfills\EqualToSpecializations`

Polyfills the following methods:

| | |
| --------------------------------- | ------------------------------- |
| `Assert::equalToCanonicalizing()` | `Assert::equalToIgnoringCase()` |
Expand Down Expand Up @@ -340,6 +346,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 @@ -390,6 +397,7 @@ The `assertObjectEquals()` assertion was introduced in PHPUnit 9.4.0.
#### PHPUnit < 10.0.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertIgnoringLineEndings`

Polyfills the following methods:

| | |
| --------------------------------------------------------- | ----------------------------------------------------------- |
| [`Assert::assertStringEqualsStringIgnoringLineEndings()`] | [`Assert::assertStringContainsStringIgnoringLineEndings()`] |
Expand All @@ -402,6 +410,7 @@ These methods were introduced in PHPUnit 10.0.0.
#### PHPUnit < 10.0.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertIsList`

Polyfills the following method:

| |
| -------------------------- |
| [`Assert::assertIsList()`] |
Expand All @@ -412,7 +421,8 @@ This method was introduced in PHPUnit 10.0.0.

#### PHPUnit < 10.1.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertObjectProperty`

Polyfills the following method:
Polyfills the following methods:

| | |
| ------------------------------------- | ---------------------------------------- |
| [`Assert::assertObjectHasProperty()`] | [`Assert::assertObjectNotHasProperty()`] |
Expand All @@ -426,7 +436,8 @@ These methods were later backported to the PHPUnit 9 branch and included in the

#### PHPUnit < 11.0.0: `Yoast\PHPUnitPolyfills\Polyfills\AssertArrayWithListKeys`

Polyfills the following method:
Polyfills the following methods:

| | |
| -------------------------------------------------------------------- | ------------------------------------------------------------- |
| [`Assert::assertArrayIsEqualToArrayOnlyConsideringListOfKeys()`] | [`Assert::assertArrayIsEqualToArrayIgnoringListOfKeys()`] |
Expand Down

0 comments on commit 9cbb821

Please sign in to comment.