Repository navigation
Language: PROFILE=8.4 default error_reporting includes E_DEPRECATED (#26083) - #26101
Merged
PurHur merged 1 commit intoJul 31, 2026
Merged
Conversation
…26083) Zend 8.4 starts at E_ALL without E_STRICT (30719), so file-level implicit-nullable compile deprecations are visible without -d. Guest kept the ≤8.3 22527 mask under PROFILE=8.4, silencing parseAndCompile. Keep 22527 for unset/≤8.3 profiles (#4842). Co-authored-by: Cursor <cursoragent@cursor.com>
PurHur
force-pushed
the
agent/issue-26083-implicit-nullable-file-deprecation
branch
from
July 31, 2026 18:50
a903c19 to
627c095
Compare
4 tasks
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.
Summary
PHP_COMPILER_PROFILE=8.4, guesterror_reportingnow defaults to Zend 8.4's mask (E_ALLwithoutE_STRICT= 30719), which includesE_DEPRECATED.E_DEPRECATEDwas filtered before scripterror_reporting(E_ALL)ran.Closes #26083
Test plan
PROFILE=8.4,bin/vm.phpfile withstring $s = null) →PHP Deprecated: …thenfile_doneerror_reporting()→30719under PROFILE=8.4;22527under default profilevendor/bin/phpunit --filter implicit_nullable_parameter(3/3)vendor/bin/phpunit --filter error_reporting_default_mask(2/2 including new profile84 case)ERR:8192via user handlerVerification transcript
Trust gates (pre-claim):
user_release_ready=yes, inventory OK, north-star5-fast ok.php-src-strict; no new C. Reference: Zend 8.4
error_reporting=30719;Zend/zend_compile.cimplicit nullable deprecation.Made with Cursor