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

Immediately Called Callables config & class inheritance #157

Merged
merged 2 commits into from Sep 14, 2023

Conversation

xificurk
Copy link
Contributor

Goal:
Ensure immediately called callable argument is recognized on any subtype of the class/interface specified in config.

Example:

immediatelyCalledCallables:
    'Doctrine\ORM\EntityManagerInterface::transactional': 0 # immediately called callable argument is recognized on any implementation of EntityManagerInterface
  • Added test for existing support inForbidCheckedExceptionInCallableRule
  • Added missing support to ImmediatelyCalledCallableThrowTypeExtension

@xificurk xificurk force-pushed the throwing-callables-inheritance branch from 3f2df9b to da25b33 Compare September 14, 2023 07:29
@janedbal janedbal merged commit f707aed into shipmonk-rnd:master Sep 14, 2023
10 checks passed
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

2 participants