You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symfony supports PHP format for configuration (it's even default one now), so it would be great if this plugin could help with verifying DI configs. Assume we have:
class Foo
{
publicfunction__construct(Bar$bar, Baz$baz)
{
}
}
Symfony supports PHP format for configuration (it's even default one now), so it would be great if this plugin could help with verifying DI configs. Assume we have:
Plugin should warn that
Baz $baz
argument is missing in theFoo
service definition.Similarly it should support:
->factory([service(FooFactory::class), 'create'])
->args(['%foo%'])
)->arg('$bar', service(Bar::class))
expr()
)That would really help with keeping quality in DI definitions with PHP format 🙂
The text was updated successfully, but these errors were encountered: