Skip to content

Commit 690cde6

Browse files
committed
UPGRADING: minor typo fixes
Closes GH-18726
1 parent 6820a4d commit 690cde6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

UPGRADING

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ PHP 8.5 UPGRADE NOTES
4242
have run and the output handlers have been cleaned up.
4343
This is a consequence of fixing GH-18033.
4444
. Traits are now bound before the parent class. This is a subtle behavioral
45-
change, but should closer match user expectations, demonstrated by GH-15753
46-
and GH-16198.
45+
change, but should more closely match user expectations, demonstrated by
46+
GH-15753 and GH-16198.
4747

4848
- FileInfo:
4949
. finfo_file() and finfo::file() now throws a ValueError instead of a
@@ -91,7 +91,7 @@ PHP 8.5 UPGRADE NOTES
9191
argument when fetching into an object, will now throw an Error.
9292
. The value of the constants PDO::FETCH_GROUP, PDO::FETCH_UNIQUE,
9393
PDO::FETCH_CLASSTYPE, PDO::FETCH_PROPS_LATE, and PDO::FETCH_SERIALIZE
94-
has changed.
94+
have changed.
9595
. A ValueError is now thrown if PDO::FETCH_PROPS_LATE is used with a fetch
9696
mode different than PDO::FETCH_CLASS, consistent with other fetch flags.
9797
. A ValueError is now thrown if PDO::FETCH_INTO is used as a fetch mode in
@@ -158,7 +158,7 @@ PHP 8.5 UPGRADE NOTES
158158
CURLINFO_USED_PROXY gets zero set if no proxy was used in the
159159
previous transfer or a non-zero value if a proxy was used.
160160
CURLINFO_HTTPAUTH_USED and CURLINFO_PROXYAUTH_USED get bitmasks
161-
indicating the http and proxy authentication methods that were
161+
indicating the HTTP and proxy authentication methods that were
162162
used in the previous request. See CURLAUTH_* constants for
163163
possible values.
164164
. Added CURLOPT_INFILESIZE_LARGE Curl option, which is a safe
@@ -168,10 +168,10 @@ PHP 8.5 UPGRADE NOTES
168168
accepts the largest integer value the system can handle.
169169
. Added CURLFOLLOW_OBEYCODE, CURLFOLLOW_FIRSTONLY and CURLFOLLOW_ALL values for
170170
CURLOPT_FOLLOWLOCATION curl_easy_setopt option.
171-
CURLFOLLOW_OBEYCODE to follow more strictly in regard of redirect
171+
CURLFOLLOW_OBEYCODE to follow more strictly in regard to redirect
172172
if they are allowed. CURLFOLLOW_FIRSTONLY to follow only the
173-
first redirect thus if there any follow up redirect, it won't go
174-
any further. CURLFOLLOW_ALL is equivalent to set CURLOPT_FOLLOWLOCATION
173+
first redirect thus if there is any follow up redirect, it won't go
174+
any further. CURLFOLLOW_ALL is equivalent to setting CURLOPT_FOLLOWLOCATION
175175
to true.
176176

177177
- DOM:
@@ -187,7 +187,7 @@ PHP 8.5 UPGRADE NOTES
187187
number formats.
188188
. Added Locale::addLikelySubtags and Locale::minimizeSubtags to
189189
handle likely tags on a given locale.
190-
. Added IntlListFormatter class to format, order, punctuates
190+
. Added IntlListFormatter class to format, order, and punctuate
191191
a list of items with a given locale, IntlListFormatter::TYPE_AND,
192192
IntlListFormatter::TYPE_OR, IntlListFormatter::TYPE_UNITS operands and
193193
IntlListFormatter::WIDTH_WIDE, IntlListFormatter::WIDTH_SHORT and
@@ -247,7 +247,7 @@ PHP 8.5 UPGRADE NOTES
247247
was actually never possible.
248248

249249
- LDAP:
250-
. ldap_get_option() now accept a NULL connection, as ldap_set_option(),
250+
. ldap_get_option() now accepts a NULL connection, as ldap_set_option(),
251251
to allow retrieval of global options.
252252

253253
- libxml:
@@ -260,7 +260,7 @@ PHP 8.5 UPGRADE NOTES
260260
. PDO::pgsqlCopyFromArray also supports inputs as Iterable.
261261
. Pdo\Pgsql::setAttribute and Pdo\Pgsql::prepare supports
262262
PDO::ATTR_PREFETCH sets to 0 which set to lazy fetch mode.
263-
In this mode, statements cannot be run parallely.
263+
In this mode, statements cannot be run in parallel.
264264

265265
- PDO_SQLITE:
266266
. SQLite PDO::quote() will now throw an exception or emit a warning,
@@ -287,7 +287,7 @@ PHP 8.5 UPGRADE NOTES
287287
are enum cases rather than normal class constants.
288288

289289
- Session:
290-
. session_start is stricter in regard of the option argument.
290+
. session_start is stricter in regard to the option argument.
291291
It throws a ValueError if the whole is not a hashmap or
292292
a TypeError if read_on_close value is not a valid type
293293
compatible with int.
@@ -304,7 +304,7 @@ PHP 8.5 UPGRADE NOTES
304304
ValueError if the port is lower than 0 or greater than 65535,
305305
also if any of the hints array entry is indexes numerically.
306306
. socket_addrinfo_lookup throws a TypeError if any of the hints
307-
values cannot be cast to a int and can throw a ValueError if
307+
values cannot be cast to int and can throw a ValueError if
308308
any of these values overflow.
309309
. socket_set_option with MCAST_LEAVE_GROUP/MCAST_LEAVE_SOURCE_GROUP
310310
options will throw an exception if the value isn't a valid object

0 commit comments

Comments
 (0)