Skip to content

Fix PHP 8.6 deprecation warnings - #41

Merged
alecpl merged 1 commit into
pear:masterfrom
monishdeb:php86-fix
Nov 26, 2026
Merged

alecpl merged 1 commit into
pear:masterfrom
monishdeb:php86-fix

Conversation

@monishdeb

Copy link
Copy Markdown
Contributor

This patch replaces is_a($variable, 'PEAR_Error') with $variable instanceof PEAR_Error in Mail/mimePart.php, which removes deprecation warnings under PHP 8.6.

@colemanw colemanw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes our CI tests on 8.6

@alecpl
alecpl merged commit 97aabb1 into pear:master Nov 26, 2026
13 checks passed
@monishdeb
monishdeb deleted the php86-fix branch November 27, 2026 03:05
@monishdeb

Copy link
Copy Markdown
Contributor Author

Thanks you @alecpl and @colemanw

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.

3 participants