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

Add missing int() to disallowedMethodCalls type structure #88

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Oct 26, 2021

Forgot to add this in #87
Fixes:

Invalid configuration:
The option 'parameters › disallowedMethodCalls › 2 › allowCount' expects to be string|list|array, 1 given.

Too bad the tests don't pick this up :(

Forgot to add this in spaze#87
Fixes:
```
Invalid configuration:
The option 'parameters › disallowedMethodCalls › 2 › allowCount' expects to be string|list|array, 1 given.
```
@spaze
Copy link
Owner

spaze commented Oct 26, 2021

Thanks and nevermind :-) Stuff like this happens but luckily I'm a fan of "release often" so that's not a problem. And yeah, it would be cool to have this tested but here we are :-)

@spaze spaze self-requested a review October 26, 2021 16:03
@spaze spaze merged commit c478acd into spaze:master Oct 26, 2021
@spaze
Copy link
Owner

spaze commented Oct 26, 2021

I have merged this now but will wait with a release when a fix for #89 is ready (no pressure 😇)

Thanks!

@ruudk ruudk deleted the patch-1 branch October 26, 2021 16:10
ruudk added a commit to ruudk/phpstan-disallowed-calls that referenced this pull request Oct 27, 2021
This reverts commit c478acd, reversing
changes made to 9ae657d.
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.

2 participants