fix: remove dead Suhosin warning from HomeController#20167
Open
somethingwithproof wants to merge 1 commit intophpmyadmin:masterfrom
Open
fix: remove dead Suhosin warning from HomeController#20167somethingwithproof wants to merge 1 commit intophpmyadmin:masterfrom
somethingwithproof wants to merge 1 commit intophpmyadmin:masterfrom
Conversation
2 tasks
williamdes
approved these changes
Feb 23, 2026
MauricioFauth
requested changes
Feb 24, 2026
MauricioFauth
requested changes
Feb 24, 2026
19f1fa4 to
62f9f9d
Compare
Contributor
Author
|
Addressed all three review comments:
Also updated |
62f9f9d to
3224cde
Compare
3224cde to
3766910
Compare
c9b66cb to
7b8d4d3
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #20167 +/- ##
============================================
- Coverage 63.44% 62.95% -0.50%
+ Complexity 16090 16081 -9
============================================
Files 668 675 +7
Lines 60072 60062 -10
============================================
- Hits 38114 37811 -303
- Misses 21958 22251 +293
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9b88d8f to
2da36ec
Compare
somethingwithproof
added a commit
to somethingwithproof/phpmyadmin
that referenced
this pull request
Mar 9, 2026
Remove the SuhosinDisableWarning configuration property, which warned about Suhosin PHP extension conflicts. Suhosin is unmaintained and no longer relevant to modern PHP environments. - Remove SuhosinDisableWarning from Settings.php (type shape, property, constructor assignment, toArray, setSuhosinDisableWarning method) - Remove from Descriptions.php, FeaturesForm.php, HomeController.php - Remove testSuhosinDisableWarning() and related test assertions - Update phpstan-baseline.neon and psalm-baseline.xml - Remove FAQ 2.8 Suhosin bullet; add note that Suhosin is no longer relevant - Add config.rst note that this option was removed Closes phpmyadmin#20167 Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2da36ec to
0d9039e
Compare
williamdes
approved these changes
Mar 9, 2026
Member
williamdes
left a comment
There was a problem hiding this comment.
This looks good now, thank you
Remove the SuhosinDisableWarning configuration property, which warned about Suhosin PHP extension conflicts. Suhosin is unmaintained and no longer relevant to modern PHP environments. - Remove SuhosinDisableWarning from Settings.php (type shape, property, constructor assignment, toArray, setSuhosinDisableWarning method) - Remove from Descriptions.php, FeaturesForm.php, HomeController.php - Remove testSuhosinDisableWarning() and related test assertions - Update phpstan-baseline.neon and psalm-baseline.xml - Remove FAQ 2.8 Suhosin bullet; add note that Suhosin is no longer relevant - Add config.rst note that this option was removed Closes phpmyadmin#20167 Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
0d9039e to
c27c373
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.
Summary
deprecated:: 6.0.0directive todocs/config.rst, keeping original description textdocs/faq.rstSuhosinDisableWarningproperty in Settings.php as deprecated no-op to avoid a 540-entry Psalm baseline cascade from the type shape changeReplaces #20123 which had a corrupted branch push.
Test plan
phpunit tests/unit/Controllers/HomeControllerTest.phppassesphpstan analyse-- no errorspsalm --no-diff-- no errors