Idea-php-symfony2-plugin: Symfony: lowercase letters for service and parameter

Created on 27 Jul 2018  路  6Comments  路  Source: Haehnchen/idea-php-symfony2-plugin

Such rule should be deleted or at least adapted to allow keys like env(FOO)
Symfony allows uppercase letters when using env vars in parameters since version 3.2

The inspection itself is pointing to correct documentation, but it's not up to date

Most helpful comment

Is there a reason why this is not resolved yet? Thanks.

All 6 comments

Also, since Symfony 3.4, _A service name must be the same as the fully qualified class name (FQCN) of its class (e.g. AppEventSubscriber\UserSubscriber);_, which is clearly using camel case.

Any news oh this?

Adding to the comment of @scyrma:

For me this happens only triggered when I'm decorating services and inject the decorated service as a constructor argument. As soon there is a .inner appended to the FQCN the rule is triggered.

@ruudk I already provided all relevant informations in my first post

Is there a reason why this is not resolved yet? Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Anubarak picture Anubarak  路  5Comments

ostrolucky picture ostrolucky  路  4Comments

amici picture amici  路  5Comments

RikudouSage picture RikudouSage  路  6Comments

alexsakhnov picture alexsakhnov  路  7Comments