Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renaming nexy_slack.client service to Nexy\Slack\Client #31

Merged
merged 18 commits into from Aug 12, 2019

Conversation

SeaquestNet
Copy link
Contributor

Renaming service in config to comply with Symfony 4.0 as stated in #29.

src/Resources/config/client.xml Outdated Show resolved Hide resolved
@soullivaneuh
Copy link
Member

Also be aware your commits are not identified. 😉

@soullivaneuh soullivaneuh merged commit 18814a9 into nexylan:master Aug 12, 2019
@soullivaneuh
Copy link
Member

Thank you! 👍

<argument>%nexy_slack.endpoint%</argument>
<argument>%nexy_slack.config%</argument>
<argument type="service" id="nexy_slack.http.client" />
</service>

<service id="nexy_slack.client" alias="Nexy\Slack\Client"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This really should have been done in the other direction: we typically make the actual service id the snake-case version and then create an alias for the autowiring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants