Skip to content

PHP 8.1 | RemovedIniDirectives: account for PHP 8.1 changes#1320

Merged
wimg merged 5 commits intodevelopfrom
php-8.1/removedinidirectives-account-for-php-8.1-changes
Mar 16, 2022
Merged

PHP 8.1 | RemovedIniDirectives: account for PHP 8.1 changes#1320
wimg merged 5 commits intodevelopfrom
php-8.1/removedinidirectives-account-for-php-8.1-changes

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Mar 9, 2022

PHP 8.1 | RemovedIniDirectives: handle deprecated auto_detect_line_endings ini directive

The auto_detect_line_endings INI directive is deprecated. If necessary, handle "\r" line breaks manually instead.

Includes unit tests.

Refs:

PHP 8.1 | RemovedIniDirectives: handle removed log_errors_max_len ini directive

The log_errors_max_len ini setting has been removed. It no longer had an effect since PHP 8.0.

Includes unit tests.

Refs:

PHP 8.1 | RemovedIniDirectives: handle deprecated date ini directives

The ini settings date.default_latitude, date.default_longitude and date.sunset_zenith are marked as deprecated in the documentation. In the next major version, ... the ini settings will be removed.

Note: these ini settings are "soft" deprecated in PHP (i.e. without notice).

Includes unit tests.

Refs:

PHP 8.1 | RemovedIniDirectives: handle deprecated filter.default ini directive

The filter.default INI directive is deprecated.

Note: the filter.default_options ini directive is "soft" deprecated, i.e. PHP will not throw a deprecation notice, but the RFC covers that the ini directive will be removed in PHP 9.0.

Includes unit tests.

Refs:

PHP 8.1 | RemovedIniDirectives: handle deprecated oci8 ini directive

The oci8.old_oci_close_semantics INI directive is deprecated.

Includes unit tests.

Refs:

Related to #1299

jrfnl added 5 commits March 9, 2022 01:02
…ndings` ini directive

> The `auto_detect_line_endings` INI directive is deprecated. If necessary, handle "\r" line breaks manually instead.

Includes unit tests.

Refs:
* https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.standard
* https://wiki.php.net/rfc/deprecations_php_8_1#auto_detect_line_endings_ini_setting
* php/php-src@232aa34
…ni directive

> The `log_errors_max_len` ini setting has been removed. It no longer had an effect since PHP 8.0.

Includes unit tests.

Refs:
* https://github.com/php/php-src/blob/3a71fcf5caf042a4ce8a586a6b554fd70432e1e2/UPGRADING#L622-L623
* php/php-src#6838
* php/php-src@3ccc040
> The ini settings `date.default_latitude`, `date.default_longitude` and `date.sunset_zenith` are marked as deprecated in the documentation. In the next major version, ... the ini settings will be removed.

Note: these ini settings are "soft" deprecated in PHP (i.e. without notice).

Includes unit tests.

Refs:
* https://wiki.php.net/rfc/deprecations_php_8_1#date_sunrise_and_date_sunset
* php/php-src#7222
* php/php-src@5bb83b3
…i directive

> The `filter.default` INI directive is deprecated.

Note: the `filter.default_options` ini directive is "soft" deprecated, i.e. PHP will not throw a deprecation notice, but the RFC covers that the ini directive _will_ be removed in PHP 9.0.

Includes unit tests.

Refs:
* https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.filter
* https://wiki.php.net/rfc/deprecations_php_8_1#filterdefault_ini_setting
* php/php-src@aa733e8
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Mar 9, 2022
@jrfnl jrfnl added this to the 10.0.0 milestone Mar 9, 2022
@jrfnl jrfnl requested a review from wimg March 9, 2022 00:39
@wimg wimg merged commit d19ca80 into develop Mar 16, 2022
@wimg wimg deleted the php-8.1/removedinidirectives-account-for-php-8.1-changes branch March 16, 2022 19:40
@jrfnl jrfnl removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants