See the parent task T312479: Migrate usage of Database::select to SelectQueryBuilder in CheckUser for details.
Acceptance criteria
- SelectQueryBuilder is used where possible in CompareService
Notes
For more information check T243051 and its documentation.