Skip to content

PHP 8.1 | RemovedFunctionParameters: account for PHP 8.1 changes#1322

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

PHP 8.1 | RemovedFunctionParameters: account for PHP 8.1 changes#1322
wimg merged 2 commits intodevelopfrom
php-8.1/removedfunctionparams-account-for-php-8.1-changes

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Mar 9, 2022

PHP 8.1 | RemovedFunctionParameters: handle deprecated $num_points parameter for image*polygon() functions

GD:
The $num_points parameter of image(open|filled)polygon has been deprecated.

Includes unit tests.

Refs:

PHP 8.1 | RemovedFunctionParameters: handle deprecated $mysql parameter for mysqli_get_client_info()

Calling mysqli::get_client_info() or mysqli_get_client_info() with the mysqli argument has been deprecated. Call mysqli_get_client_info() without any arguments to obtain the version information of the client library.

Includes unit tests.

Refs:

Related to #1299

jrfnl added 2 commits March 9, 2022 01:12
…eter for `mysqli_get_client_info()`

> Calling `mysqli::get_client_info()` or `mysqli_get_client_info()` with the `mysqli` argument has been deprecated. Call `mysqli_get_client_info()` without any arguments to obtain the version information of the client library.

Includes unit tests.

Refs:
* https://github.com/php/php-src/blob/3a71fcf5caf042a4ce8a586a6b554fd70432e1e2/UPGRADING#L423-L426
* https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.mysqli
* php/php-src#6777
* php/php-src@7e9f6d2
@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:48
@wimg wimg merged commit 7bdd229 into develop Mar 16, 2022
@wimg wimg deleted the php-8.1/removedfunctionparams-account-for-php-8.1-changes branch March 16, 2022 13:22
@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