szepeviktor / phpstan-wordpress

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

Remove deprecated `instanceof` #185

Closed IanDelMar closed 1 year ago

IanDelMar commented 1 year ago

I also removed dealing with the $count argument which was deprecated in WP 4.5. In WP 4.5 also the position of the $args argument changed. Given we use 'get_terms' => 0, we're not supporting WP versions lower than 4.5. Hence $count had no effect.

Travis should be going green again soon. This was the last extension with deprecation notices.

Part of #149

szepeviktor commented 1 year ago

Travis should be going green again soon

You did it Ian!

image

herndlm commented 1 year ago

Great work!