Skip to content

Conversation

@b1rdex
Copy link
Contributor

@b1rdex b1rdex commented Nov 23, 2020

@b1rdex b1rdex force-pushed the datetime-instantiation branch from 532cd52 to 8515526 Compare November 23, 2020 12:41
Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And finally, please fix the build (Failures on PHP 8 are fine - they're on master already.)

@b1rdex b1rdex force-pushed the datetime-instantiation branch from 8515526 to 4ddfe40 Compare November 23, 2020 15:10
Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually needs fixing:

Cannot access offset 'warnings' on array('warning_count' => int, 'warnings' => array<int, string>, 'error_count' => int, 'errors' => array<int, string>)|false. 
@b1rdex
Copy link
Contributor Author

b1rdex commented Nov 23, 2020 via email

@ondrejmirtes
Copy link
Member

@ondrejmirtes
Copy link
Member

It tells me that you haven't tested a case where the rule should not report anything :)

@b1rdex
Copy link
Contributor Author

b1rdex commented Nov 23, 2020 via email

@b1rdex b1rdex force-pushed the datetime-instantiation branch from 4ddfe40 to db4aba0 Compare November 24, 2020 02:10
@ondrejmirtes ondrejmirtes merged commit aa9a1ff into phpstan:master Nov 24, 2020
@ondrejmirtes
Copy link
Member

Thank you!

@b1rdex b1rdex deleted the datetime-instantiation branch November 24, 2020 09:50
@ondrejmirtes
Copy link
Member

FYI I removed reporting warnings because it's not that useful: https://3v4l.org/TGsaG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants