Skip to content

Fix native return typehint pt ii#656

Merged
simPod merged 40 commits intowebonyx:masterfrom
shmax:fix-native-return-typehint-pt-ii
Apr 29, 2020
Merged

Fix native return typehint pt ii#656
simPod merged 40 commits intowebonyx:masterfrom
shmax:fix-native-return-typehint-pt-ii

Conversation

@shmax
Copy link
Copy Markdown
Contributor

@shmax shmax commented Apr 29, 2020

As promised, this is the second half of the "Anonymous function should have native return typehint..." phpstan fixes.

Comment thread tests/Executor/AbstractTest.php Outdated
@simPod
Copy link
Copy Markdown
Collaborator

simPod commented Apr 29, 2020

I wonder whether we can also drop this now https://github.com/webonyx/graphql-php/blob/master/phpcs.xml.dist#L19?

shmax and others added 3 commits April 29, 2020 00:07
@shmax
Copy link
Copy Markdown
Contributor Author

shmax commented Apr 29, 2020

wonder whether we can also drop this now /phpcs.xml.dist@master#L19 ?

I don't know what that does--even with it enabled I was getting the errors. But I removed it, and everything still seems to check out. 🤷

Edit: oh, I get it--that's the code sniffer. I'd better put it back the way it was. I don't have the energy right now...

This reverts commit 4dd0279.
@simPod simPod merged commit 1f0ec24 into webonyx:master Apr 29, 2020
@shmax shmax deleted the fix-native-return-typehint-pt-ii branch April 29, 2020 07:42
@shmax
Copy link
Copy Markdown
Contributor Author

shmax commented Apr 29, 2020

@simPod Thanks for reviewing 👍

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