Skip to content

Commit 2f92957

Browse files
committed
Convert some notices to warnings
Part of https://wiki.php.net/rfc/engine_warnings.
1 parent 2041c9a commit 2f92957

File tree

261 files changed

+1273
-1110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+1273
-1110
lines changed

UPGRADING

+12-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,18 @@ PHP 8.0 UPGRADE NOTES
9797
* Attempting to write to an array index of a scalar value.
9898
* Attempting to unpack a non-array/Traversable.
9999

100-
RFC: Part of https://wiki.php.net/rfc/engine_warnings
100+
A number of notices have been converted into warnings:
101+
102+
* Attempting to read an undefined variable.
103+
* Attempting to read an undefined property.
104+
* Attempting to read a property of a non-object.
105+
* Attempting to access an array index of a non-array.
106+
* Attempting to convert an array to string.
107+
* Attempting to use a resource as an array key.
108+
* Attempting to use null, a boolean or a float as a string offset.
109+
* Attempting to read an out-of-bounds string offset.
110+
111+
RFC: https://wiki.php.net/rfc/engine_warnings
101112

102113
- COM:
103114
. Removed the ability to import case-insensitive constants from type

0 commit comments

Comments
 (0)