wp-cli / php-cli-tools

A collection of tools to help with PHP command line utilities
MIT License
676 stars 118 forks source link

PHP 8.4 | Example code: remove use of `E_STRICT` #175

Closed jrfnl closed 2 months ago

jrfnl commented 2 months ago

The E_STRICT constant is deprecated as of PHP 8.4 and will be removed in PHP 9.0 (commit went in today).

The error level hasn't been in use since PHP 8.0 anyway and was only barely still used in PHP 7.x, so removing the exclusion from the error_reporting() setting in the example code shouldn't really make any difference in practice.

Ref: