Skip to content

Commit 79694e5

Browse files
authored
Merge pull request #270 from gitonomy/upgrade-from-1.7.1
Recommend 1.7.1 in the upgrade guide
2 parents f677d07 + 9a0c795 commit 79694e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎UPGRADE-2.0.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ call triggers a deprecation (`E_USER_DEPRECATED`, through
1212
them. Log the deprecations of your application to find them. The other
1313
changes, listed below too, break code that relies on them.
1414

15-
Upgrade to 1.7 first, which requires PHP 8.1: it has most of the
15+
Upgrade to 1.7.1 first, which requires PHP 8.1: it has most of the
1616
replacements, and triggers the deprecations of the API they replace (see
1717
[Supporting 1.x and 2.x](#supporting-1x-and-2x)).
1818

@@ -42,7 +42,7 @@ $driver)` with a `CliDriver` of the same arguments, the static methods of
4242
`Repository::getDiff($from, $to)`, `FileChange::getDiffLines()`, iterating
4343
a `Tree`, `Log::withLimit()`, `Branch::isMergedInto()`,
4444
`Blame::getHunks()`... Fix the deprecations of 1.7, then require
45-
`^1.7 || ^2.0`: a library supporting PHP 8.1 to 8.3 gets 1.7 there, and 2.0
45+
`^1.7.1 || ^2.0`: a library supporting PHP 8.1 to 8.3 gets 1.7 there, and 2.0
4646
from PHP 8.4, with the same code.
4747

4848
Before:

0 commit comments

Comments
 (0)