Skip to content

PHP 8.5: Refactor exponent handling in BigNumber to prevent warning#102

Merged
BenMorel merged 1 commit into
brick:masterfrom
julien-boudry:exponent
Nov 22, 2025
Merged

PHP 8.5: Refactor exponent handling in BigNumber to prevent warning#102
BenMorel merged 1 commit into
brick:masterfrom
julien-boudry:exponent

Conversation

@julien-boudry
Copy link
Copy Markdown
Contributor

Remove warning on existing tests from PHP 8.5

@julien-boudry
Copy link
Copy Markdown
Contributor Author

This check is probably not necessary anymore ?
$exponent === PHP_INT_MIN || $exponent === PHP_INT_MAX)

Comment thread src/BigNumber.php Outdated
Comment thread src/BigNumber.php Outdated
Comment thread src/BigNumber.php Outdated
@julien-boudry
Copy link
Copy Markdown
Contributor Author

Everything is done with your comments.

@BenMorel BenMorel merged commit b9175bf into brick:master Nov 22, 2025
17 checks passed
@BenMorel
Copy link
Copy Markdown
Member

Thank you, @julien-boudry!

@BenMorel
Copy link
Copy Markdown
Member

Released as 0.14.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants