Skip to content

Conversation

@MauricioFauth
Copy link
Member

This removes some Config's circular dependencies, specially from the DatabaseInterface class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
This removes the Config's circular dependency on DatabaseInterface
class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
Uses DI instead.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
@MauricioFauth MauricioFauth force-pushed the user-preferences-refactor branch from e12017b to 4eecb4d Compare January 9, 2026 14:46
@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

❌ Patch coverage is 18.75000% with 117 lines in your changes missing coverage. Please review.
✅ Project coverage is 62.16%. Comparing base (dc1a890) to head (4eecb4d).
⚠️ Report is 28 commits behind head on master.

Files with missing lines Patch % Lines
src/Config/UserPreferencesHandler.php 20.48% 66 Missing ⚠️
src/Export/Export.php 0.00% 20 Missing ⚠️
src/Controllers/ErrorReportController.php 0.00% 6 Missing ⚠️
src/Navigation/Navigation.php 0.00% 6 Missing ⚠️
src/Export/Options.php 25.00% 3 Missing ⚠️
src/Http/Middleware/LoginCookieValiditySetting.php 0.00% 2 Missing ⚠️
src/Http/Middleware/MinimumCommonRedirection.php 0.00% 2 Missing ⚠️
src/Http/Middleware/SetupPageRedirection.php 0.00% 2 Missing ⚠️
src/Http/Middleware/UserPreferencesLoading.php 0.00% 2 Missing ⚠️
src/Controllers/Preferences/ExportController.php 0.00% 1 Missing ⚠️
... and 7 more
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #20016      +/-   ##
============================================
- Coverage     62.17%   62.16%   -0.01%     
- Complexity    16104    16105       +1     
============================================
  Files           676      677       +1     
  Lines         59991    60011      +20     
============================================
+ Hits          37297    37306       +9     
- Misses        22694    22705      +11     
Flag Coverage Δ
unit-8.3-ubuntu-latest 62.14% <18.75%> (-0.04%) ⬇️
unit-8.4-ubuntu-latest 62.16% <18.75%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MauricioFauth MauricioFauth merged commit a8ff66a into phpmyadmin:master Jan 10, 2026
39 of 44 checks passed
@MauricioFauth MauricioFauth deleted the user-preferences-refactor branch January 10, 2026 14:42
@MauricioFauth MauricioFauth self-assigned this Jan 10, 2026
@MauricioFauth MauricioFauth added this to the 6.0.0 milestone Jan 10, 2026
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