Skip to content

`BulkInsert` cop to also check top-level namespace use of `::Gitlab`

Luke Duncalfe requested to merge ld-cop-bulk-insert-global-namespace-fix into master

What does this MR do?

The Gitlab/BulkInsert cop previously allowed uses of Gitlab::Database.bulk_insert when the Gitlab module was accessed via the top-level namespace ::Gitlab.

Related issues:

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Luke Duncalfe

Merge request reports

Loading