Skip to content

Conversation

@TavoNiievez
Copy link
Member

Using strings like 'security.helper' to get services (or collectors) in multiple places was a bad practice.

So in this PR, these identifiers are encapsulated in their own function cohesive to the trait to which they belong.

If one of them changes in the future, only one line of code needs to be changed.

@TavoNiievez TavoNiievez added this to the 2.0.0 milestone Jan 17, 2021
@TavoNiievez TavoNiievez merged commit 3da97ac into Codeception:master Jan 18, 2021
@TavoNiievez TavoNiievez deleted the encapsulate branch January 18, 2021 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant