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

Services with autowire #664

Closed
zelenin opened this issue Jan 6, 2016 · 6 comments
Closed

Services with autowire #664

zelenin opened this issue Jan 6, 2016 · 6 comments
Labels

Comments

@zelenin
Copy link

zelenin commented Jan 6, 2016

Developer may specify service with autowire option in Symfony 2.8/3.0. But plugin highlight this service with Missing argument message.

Old way:

    some_service_name:
        class: someClassName
        arguments: ['@other_service_id']

New way:

    some_service_name:
        class: someClassName
        autowire: true

Don't check arguments if autowire option specified.

@TomasVotruba
Copy link

Just came to report this.

@Haehnchen
Copy link
Owner

just a missing task in yml :)

@zelenin
Copy link
Author

zelenin commented Jan 6, 2016

hey! is this mistake: autowrite instead autowire?

@TomasVotruba
Copy link

@Haehnchen Wow, thank you!

Haehnchen added a commit that referenced this issue Jan 6, 2016
@Haehnchen
Copy link
Owner

@zelenin thx! just in time

@zelenin
Copy link
Author

zelenin commented Jan 6, 2016

thanks!

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

No branches or pull requests

3 participants