Skip to content

error_log errors with message_type=2#2428

Merged
ondrejmirtes merged 2 commits intophpstan:1.10.xfrom
staabm:errorlog
May 31, 2023
Merged

error_log errors with message_type=2#2428
ondrejmirtes merged 2 commits intophpstan:1.10.xfrom
staabm:errorlog

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented May 31, 2023

'error_clear_last' => ['void'],
'error_get_last' => ['?array{type:int,message:string,file:string,line:int}'],
'error_log' => ['bool', 'message'=>'string', 'message_type='=>'int', 'destination='=>'string', 'extra_headers='=>'string'],
'error_log' => ['bool', 'message'=>'string', 'message_type='=>'0|1|2|3|4', 'destination='=>'string', 'extra_headers='=>'string'],
Copy link
Member

Choose a reason for hiding this comment

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

This kind of change needs to be in resources/functionMap_bleedingEdge.php

@staabm staabm marked this pull request as ready for review May 31, 2023 08:40
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit f46e470 into phpstan:1.10.x May 31, 2023
@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

Development

Successfully merging this pull request may close these issues.

3 participants