Resolve SonarQube production sync findings #914

Merged
jimmyb merged 1 commit from codex/fix-sonar-queue-aug4 into master 2026-08-04 21:53:23 -05:00
Member

Summary:

  • Extract repeated content-flag test literals and simplify the test helper owner resolution.
  • Remove the unused content flag resolver parameter from the hidden-content check.
  • Refactor production sync command flow to reduce return/cognitive-complexity findings and use a dedicated ProductionSyncCommandException for command failures.

Verification:

  • php artisan test --compact tests/Feature/ContentFlagTest.php tests/Feature/ProductionDataSyncCommandTest.php tests/Feature/ProductionSnapshotCommandTest.php
  • vendor/bin/pint --dirty --format agent
  • composer stan

Fixes #882
Fixes #883
Fixes #884
Fixes #885
Fixes #886
Fixes #887
Fixes #888
Fixes #889
Fixes #890
Fixes #891
Fixes #892
Fixes #893
Fixes #894
Fixes #895
Fixes #896
Fixes #897
Fixes #898
Fixes #899
Fixes #900
Fixes #901
Fixes #902
Fixes #903
Fixes #904
Fixes #905
Fixes #906
Fixes #907
Fixes #909
Fixes #910
Fixes #911
Fixes #912
Fixes #913

Summary: - Extract repeated content-flag test literals and simplify the test helper owner resolution. - Remove the unused content flag resolver parameter from the hidden-content check. - Refactor production sync command flow to reduce return/cognitive-complexity findings and use a dedicated ProductionSyncCommandException for command failures. Verification: - php artisan test --compact tests/Feature/ContentFlagTest.php tests/Feature/ProductionDataSyncCommandTest.php tests/Feature/ProductionSnapshotCommandTest.php - vendor/bin/pint --dirty --format agent - composer stan Fixes #882 Fixes #883 Fixes #884 Fixes #885 Fixes #886 Fixes #887 Fixes #888 Fixes #889 Fixes #890 Fixes #891 Fixes #892 Fixes #893 Fixes #894 Fixes #895 Fixes #896 Fixes #897 Fixes #898 Fixes #899 Fixes #900 Fixes #901 Fixes #902 Fixes #903 Fixes #904 Fixes #905 Fixes #906 Fixes #907 Fixes #909 Fixes #910 Fixes #911 Fixes #912 Fixes #913
Resolve SonarQube production sync findings
All checks were successful
linter / quality (pull_request) Successful in 1m54s
tests / ci (pull_request) Successful in 2m12s
0cb69a589e
jimmyb self-assigned this 2026-08-04 21:49:45 -05:00
jimmyb merged commit 045db099a8 into master 2026-08-04 21:53:23 -05:00
jimmyb deleted branch codex/fix-sonar-queue-aug4 2026-08-04 21:53:27 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MyVideoGameList/myvideogamelist.com!914
No description provided.