Skip to content
Discussion options

You must be logged in to vote

Hi, the define() call does not get picked up by PHPStan because no one has implemented a rule that would detect this. Feel free to contribute it :)

Otherwise you could find some success in running PHPStan with phpVersion: 70400, generating the baseline and re-running PHPStan with phpVersion: 80000. Only new problems stemming from the changed PHP version would be reported, achieving the result you want.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@goba
Comment options

@ondrejmirtes
Comment options

@goba
Comment options

@ondrejmirtes
Comment options

Answer selected by ondrejmirtes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants