sendgrid-php icon indicating copy to clipboard operation
sendgrid-php copied to clipboard

Class BaseInterface in global namespace

Open kampalex opened this issue 6 years ago • 1 comments

Issue #963 triggers my attention due to the existence of class BaseInterface. It's introduced in #951, version 7.5.0.

For local repository use, this is understandable. But using such a class name in a global namespace is highly risky. It may collide in other projects if this name is used/referred.

I suggest a more detailed class name which covers the meaning of the interface/client, like BaseSendgridApiClientInterface. Optionally, store it in different namespace.

kampalex avatar May 14 '20 10:05 kampalex

Works for me. I'll work on a fix.

childish-sambino avatar May 22 '20 19:05 childish-sambino