Skip to content

Commit 2f56afa

Browse files
committed
Update README.md
1 parent 876e1d0 commit 2f56afa

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
# Parsedown 1.7.4 Patched for PHP 8.4.x
22

3+
Tha stable release of `Parsedown` version 1.7.4 throws deprecation warings in PHP 8.4.x and above.
4+
35
## Bare Minimum Patched Version
46

5-
This directory contains a patched version of Parsedown 1.7.4 stalbe release for PHP 8.4 integration test.
7+
This directory contains a patched version of Parsedown 1.7.4 for integration tests.
68

7-
The modifications are bare minimal to remove the deprecation warnings in PHP 8.4.x. It is equivalent to the [PR #915](https://github.com/erusev/parsedown/pull/915) and no refactoring or extra features were added.
9+
The modifications are bare minimal to remove the deprecation warnings in PHP 8.4.x.
810

911
Use [this](./Parsedown.php), or [patch](./patch.sh) the Parsedown 1.7.4 if you want no extra features made in current [`master` branch](https://github.com/erusev/parsedown/tree/master).
1012

1113
> [!IMPORTANT]
12-
> **For older PHP users (PHP 5.x, 6.x, 7.0):**
13-
> This fix version will not work for you. Since the deprecation warning fix rely on the feature implemented "nullable type declarations with the `?T` syntax" from PHP 7.1.
14-
>
15-
> You should **keep usiing the original Parsedown 1.7.4**.
14+
> **This fix will break backward compatibility**.
1615
>
17-
> ---
16+
> For older PHP users (PHP 5.x, 6.x, 7.x, 8.x-8.3), keep using the original Parsedown 1.7.4.
1817
>
19-
> [!NOTE]
20-
> As soon as the PR #915 is merged and released, hopefully, we will remove this patched version.
18+
> This fixed version will not work for older than PHP 8.3. Since the deprecation warning fix rely on the feature implemented "**nullable type declarations with the `?T` syntax**" from PHP 8.3.

0 commit comments

Comments
 (0)