Skip to content

PHP 8.4 | ForbiddenExtendingFinalPHPClass: detect classes extending GMP class (RFC)#1739

Merged
wimg merged 1 commit intodevelopfrom
php-8.4/forbiddenextendingfinalclass-gmp
Aug 31, 2024
Merged

PHP 8.4 | ForbiddenExtendingFinalPHPClass: detect classes extending GMP class (RFC)#1739
wimg merged 1 commit intodevelopfrom
php-8.4/forbiddenextendingfinalclass-gmp

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 14, 2024

…MP class (RFC)

> . The GMP class is now final and cannot be extended anymore.
>   RFC: https://wiki.php.net/rfc/gmp-final

Refs:
* https://wiki.php.net/rfc/gmp-final
* https://github.com/php/php-src/blob/c42615782334323511cda18a8f0dd3dc19ed6256/UPGRADING#L56-L57
* php/php-src 15121
* php/php-src@a50adda

Includes minor documentation clarification.

Related to 1731
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Aug 14, 2024
@jrfnl jrfnl added this to the 10.0.0 milestone Aug 14, 2024
@jrfnl jrfnl requested a review from wimg August 14, 2024 14:29
@wimg wimg merged commit 9c606cc into develop Aug 31, 2024
@wimg wimg deleted the php-8.4/forbiddenextendingfinalclass-gmp branch August 31, 2024 21:15
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Aug 31, 2024
@jrfnl jrfnl added the PHP: 8.4 label Nov 4, 2025
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.

3 participants