Repository navigation
fix: log the vendor spl_object_hash() deprecation on PHP 8.6 instead of throwing - #10806
Merged
paulbalandan merged 1 commit intoNov 24, 2026
Merged
Conversation
ddevsr
suggested changes
Nov 21, 2026
ddevsr
left a comment
Collaborator
There was a problem hiding this comment.
make TODO for remove Kint soon
michalsn
reviewed
Nov 21, 2026
paulbalandan
force-pushed
the
vendor-deprecation-workaround
branch
from
November 23, 2026 17:15
137afeb to
d431443
Compare
neznaika0
reviewed
Nov 24, 2026
michalsn
approved these changes
Nov 24, 2026
paulbalandan
force-pushed
the
vendor-deprecation-workaround
branch
from
November 24, 2026 11:44
d431443 to
742e56c
Compare
This comment has been minimized.
This comment has been minimized.
neznaika0
approved these changes
Nov 24, 2026
paulbalandan
force-pushed
the
vendor-deprecation-workaround
branch
from
November 24, 2026 16:11
742e56c to
6c5938e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
mikey179/vfsstreamandkint-php/kintcallspl_object_hash(), which PHP 8.6 deprecates. vfsStream has no upstream fix. Kint silences the call with@, butExceptions::errorHandler()ignores@for deprecations. So the deprecation is thrown as anErrorExceptionwhenlogDeprecationsis off orCODEIGNITER_SCREAM_DEPRECATIONSis set. Tests that use either package then fail on 8.6, such asFileMovingTest,FilesystemHelperTestandConfigCheckTest.errorHandler()now logs that deprecation instead of throwing when it comes from a file undermikey179/vfsstreamorkint-php/kint. Otherspl_object_hash()deprecations still throw.The check shares a branch with the PHP 8.4 session-sid check, and both now go through
handleDeprecationError(). So the session-sid deprecations are logged atdeprecationLogLevelwith a backtrace, instead of atwarningwithout one.Checklist: