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

Use positive integers for various time functions #760

Merged
merged 2 commits into from Nov 9, 2021

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Nov 9, 2021

inspired by vimeo/psalm#6861

the psalm PR also changes some singatures in a CallMap_historical.php file.. do we have an equivalent in phpstan?

@ondrejmirtes
Copy link
Member

Hi, I'm not a big fan of changing parameter types like this right now in a minor version, it's bound to break someone's build and in fact it's not going to find any real bugs.

the psalm PR also changes some singatures in a CallMap_historical.php file

I don't know what's the purpose of CallMap_historical.php.

@ondrejmirtes
Copy link
Member

So to be more specific - I'd like to change return types only, that's useful.

@staabm staabm marked this pull request as ready for review November 9, 2021 09:50
@staabm
Copy link
Contributor Author

staabm commented Nov 9, 2021

So to be more specific - I'd like to change return types only, that's useful.

I see. thanks for the insights. fixed per feedback

@ondrejmirtes ondrejmirtes merged commit 822a9b4 into phpstan:master Nov 9, 2021
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants