Closed
Description
This is a meta to-do list/progression status for the conversion of Warnings (and possibly Notices) to Errors in extensions.
Some extensions might not emit any warnings and should be ticked with a relevant note.
One way to check for E_WARNING
is looking at symbol usage in C files with the help of LXR: https://heap.space/search?project=php-src&full=&defs=&refs=E_WARNING&path=&hist=&type=c&n=100
The same can be done for E_NOTICE
: https://heap.space/search?project=php-src&full=&defs=&refs=E_NOTICE&path=&hist=&type=c&n=100
- BCMath (made scale argument of bcmath functions non-negative integer php-src#5455, Bcmath warning to error promotions php-src#6105)
- BZ2 (Convert some warnings to Errors in BZip2 php-src#4984)
- Calendar - None present
- COM (Promote warnings to Error in COM extension php-src#6141)
- CTYPE - None present
- cURL (Promote warnings to exceptions in ext/curl php-src#5963)
- Date (Add some ValueErrors to ext/date php-src#5613)
- DBA - Prohibited area
- DOM (Promote warnings to error in DOM ext php-src#5418)
- Enchant (Promote warning to exception in ext/enchant php-src#6022)
- Exif (php/php-src@259af93)
- FFI - No promotable warning
- FileInfo (Promote warnings to Error in FileInfo extension php-src#5914)
- Filter (Promote warnings to exceptions in ext/filter php-src#5970)
- FTP (Promote warnings to exceptions in ext/ftp php-src#6054)
- GD (Promote warnings to exceptions in ext/gd php-src#6023)
- GetText (Promote warnings to exceptions in ext/gettext, ext/sysvmsg and ext/xml php-src#5926)
- GMP (Gmp warning to error php-src#5882)
- Hash (Warnings become errors hash stream functions (other than hash_init) php-src#4625, php/php-src@d5871e2)
- Iconv (php/php-src@4216830)
- IMAP (Promote warnings to Error in IMAP php-src#6164)
- Intl (Promote Intl warnings to standard ValueError php-src#5669, Promote warnings to exceptions in ext/intl php-src#5972)
- JSON (Convert warnings to ValueError php-src#4988)
- LDAP (Promote warnings to exceptions in ext/ldap php-src#6065)
- libxml - None present
- MBString (Promote unknown encoding warning to ValueError in Mbstring extension php-src#5317)
- Oniguruma Regex (Promote some warnings in MBString Regex php-src#5341)
- MySQLi (Mysqli warning promotion php-src#5803)
- MySQLnd - No promotable warning
- OCI8 (Promote some warnings to ValueError in OCI8 php-src#6116)
- ODBC (Promote warning to Error in ODBC extension php-src#6123)
- OpCache - No promotable warning
- OpenSSL (Promote some OpenSSL warnings to Errors php-src#5111)
- PCNTL (Promote warnings to exceptions in ext/pcntl php-src#6004)
- PCRE (Promote warnings to exceptions in ext/pcre php-src#6006)
- PDO (PDO Unconditional errors php-src#6212, Another pass making some failure states unconditional erros in PDO php-src#6227)
- PDO_DBLIB - None present
- PDO_FIREBIRD - None present
- PDO_MySQL (Convert warning to assetion in MySQL PDO driver php-src#6120)
- PDO_OCI (Convert warnings to assetions in OCI PDO driver php-src#6118)
- PDO_ODBC None present
- PDO_PGSQL (Promote Warnings to Error in PostgreSQL PDO driver php-src#6119)
- PDO_SQLITE - No promotable warning
- PGSQL (Promote warnings to Errors in PostgreSQL extension php-src#6129, Promote E_NOTICE to Error in PostgreSQL extension php-src#6226)
- Phar (Promote warnings to exceptions in ext/phar php-src#6008)
- POSIX (Promote warning to exception in ext/posix php-src#6009)
- PSpell (Promote warnings to exceptions in ext/pspell php-src#6010)
- Readline - None present
- Reflection - None present
- Session (Clean up ext/session errors php-src#6111)
- SHMOP (Promote warnings to exceptions in ext/shmop php-src#5986)
- SimpleXML (Promote warnings to exceptions in ext/simplexml php-src#6011)
- SNMP (Promote warnings to Error in SNMP extension php-src#6124)
- SOAP (Promote warnings to exceptions in ext/soap and ext/xmlwriter php-src#5998)
- Sockets (Promote warnings to Errors in sockets's extension. php-src#5075)
- Sodium (Sodium warning to Exception php-src#5880)
- SPL (Error promotions in SPL php-src#6072)
- SQLite3 (Sqlite3 uninitialized object as error php-src#6113)
- Standard (ext/standard warning to error promotions php-src#5814, Warning to error promotion for set(raw)cookie() php-src#5819)
- SysVMsg (Promote warnings to exceptions in ext/gettext, ext/sysvmsg and ext/xml php-src#5926)
- SysVSem (Promote warning to exception in ext/sysvsem php-src#6013)
- SysVShm - No promotable warning
- Tidy (Promote warnings to exceptions in ext/tidy php-src#6051)
- Tokenizer - None present
- XML (Promote warnings to exceptions in ext/gettext, ext/sysvmsg and ext/xml php-src#5926)
- XMLReader (Promote warnings to exceptions in ext/xmlreader php-src#6021)
- XMLWriter (Promote warnings to exceptions in ext/soap and ext/xmlwriter php-src#5998)
- XSL (php/php-src@2f601d8)
- ZIP (Notice and Warning promotion in ext/zip php-src#5823)
- ZLIB (Convert some warnings to Error in zlib extension php-src#4985)
- Zend/ (Convert Division by 0 warnings to Error per the Engine Warning RFC php-src#6125)
Metadata
Metadata
Assignees
Labels
No labels