Skip to content

Infer autowired callable signatures and validate method bindings - #520

Open
nicolas-grekas wants to merge 2 commits into
phpstan:2.1.xfrom
nicolas-grekas:autowire-callable-types
Open

nicolas-grekas wants to merge 2 commits into
phpstan:2.1.xfrom
nicolas-grekas:autowire-callable-types

Conversation

@nicolas-grekas

Copy link
Copy Markdown
Q A
Branch? 2.1.x
Bug fix? no
New feature? yes
Deprecations? no
Issues -
License MIT

Adds signature inference for #[AutowireCallable], #[AutowireMethodOf] and #[AutowireServiceClosure]. Checks referenced methods, interface adapters and arguments passed by direct callers.

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.

1 participant