szepeviktor / phpstan-wordpress

WordPress extensions for PHPStan ⛏️
https://packagist.org/packages/szepeviktor/phpstan-wordpress
MIT License
262 stars 26 forks source link

Fix dynamic return type extension for `wp_die()` #204

Closed IanDelMar closed 10 months ago

IanDelMar commented 10 months ago

Fixes #203 Adds missing tests (https://github.com/szepeviktor/phpstan-wordpress/issues/203#issuecomment-1764619896)

IanDelMar commented 10 months ago

@szepeviktor NonAcceptingNeverType requires PHPStan 1.10.30

herndlm commented 10 months ago

Bump it Victor, bump it! :)

szepeviktor commented 10 months ago

requires PHPStan 1.10.30

With 1.10.30 it fails to find NonAcceptingNeverType https://app.travis-ci.com/github/szepeviktor/phpstan-wordpress/jobs/611654029

szepeviktor commented 10 months ago

It is https://github.com/phpstan/phpstan/releases/tag/1.10.31 :(