szepeviktor / phpstan-wordpress

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

Remove GetPostDynamicFunctionReturnTypeExtension #207

Closed IanDelMar closed 1 week ago

IanDelMar commented 10 months ago

Will be handled via https://github.com/php-stubs/wordpress-stubs/. See https://github.com/php-stubs/wordpress-stubs/pull/127. Will most likely require wordpress-stubs v6.4.0.

Todo: bump version in composer.json.

Related #181

szepeviktor commented 9 months ago

How to bump core stubs version? https://github.com/szepeviktor/phpstan-wordpress/blob/6fbfbdfc822e70a669cff31d87545fad043f5a55/composer.json#L15

IanDelMar commented 9 months ago

The 2.x branch requires 6.2.1 https://github.com/szepeviktor/phpstan-wordpress/blob/42476703e9322ac8fdaecf3fefc47d81eb07f53e/composer.json#L15

This must be increases to 6.4.0, but I'd suggest to use 6.4.1 or wait until 6.4.2 or 6.5.0 - whatever comes first - to ensure that the recent ::get_results fix is required.

IanDelMar commented 1 week ago

Part of #235