NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #609 most downloaded on Packagist
WordPress extensions for PHPStan
Latest stable
v2.0.4
Last release 6 months ago
22 May 2026
Release timing varies
gaps range from 2 weeks to 8 months
Some releases are documented
notes for 27 of 50 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
53 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Adjust the wordpress-stubs dependency version range so version 7.0 can be used by @johnbillion in https://github.com/szepeviktor/phpstan-wordpress/pul
Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v2.0.3...v2.0.4
-SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly by @szepeviktor in https://github.com/szepeviktor/phpstan-wordpress/pull/285
WP_CLI::error from earlyTerminatingMethodCalls config by @lipemat in https://github.com/szepeviktor/phpstan-wordpress/pull/284SAVEQUERIES from the dynamicConstantNames list by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/287WP_CLI from the dynamicConstantNames list by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/288WP_CLI::halt from earlyTerminatingMethodCalls by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/289STYLESHEETPATH and TEMPLATEPATH from bootstrap.php by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/290Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v2.0.2...v2.0.3
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add test for internal error when calling undefined functions by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/273
Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v2.0.1...v2.0.2
https://github.com/szepeviktor/phpstan-wordpress/compare/v2.0.0...v2.0.1
https://github.com/szepeviktor/phpstan-wordpress/compare/v2.0.0...v2.0.1
Many improvements. More errors spotted.
Many improvements. More errors spotted.
Nothing published for this version
Nothing published for this version
Many improvements. More errors spotted.
Many improvements. More errors spotted.
Add error identifiers by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/226
HookDocBlock as service by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/229One more global constant.
One more global constant.
Add test for WpThemeMagicPropertiesClassReflectionExtension by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/206
get_approved_comments function by @lipemat in https://github.com/szepeviktor/phpstan-wordpress/pull/211Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v1.3.2...v1.3.3
Fix dynamic return type extension for wp_die() by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/204
wp_die() by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/204Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v1.3.1...v1.3.2
Update and rename WPErrorParameterDynamicFunctionReturnTypeExtension.… by @szepeviktor in https://github.com/szepeviktor/phpstan-wordpress/pull/187
wp_die() by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/201Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v1.3.0...v1.3.1
Remove deprecated instanceof from wp_parse_url extension by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/183
Thank you @IanDelMar
instanceof from wp_parse_url extension by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/183instanceof by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/184instanceof by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/185Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v1.2.0...v1.3.0
Replace deprecated $type instanceof ConstantStringType by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/150
Thank you @IanDelMar
get_comment() return type extension by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/148$type instanceof ConstantStringType by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/150has_filter()/has_action() by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/151instanceof by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/152term_exists() by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/153get_sites() by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/155get_sites() by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/157wp_slash() and wp_unslash() by @IanDelMar in https://github.com/szepeviktor/phpstan-wordpress/pull/164Full Changelog: https://github.com/szepeviktor/phpstan-wordpress/compare/v1.1.7...v1.2.0
And many more improvements by @IanDelMar
And many more improvements by @IanDelMar
Nothing published for this version
Nothing published for this version
Add type checking for hook callbacks in add_action and add_filter
Add type checking for hook callbacks in add_action and add_filter
Support more WordPress core functions.
Support more WordPress core functions.
Support WP 6.0 and wp_parse_url
Support WP 6.0 and wp_parse_url
Dedicated to @bart-jaskulski :)
Dedicated to @bart-jaskulski :)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
- Check apply_filters calls - Add tests
apply_filters calls@johnbillion added many new extensions.
@johnbillion added many new extensions.
Nothing published for this version
Nothing published for this version
Fix GetTaxonomiesDynamicFunctionReturnTypeExtension
Fix GetTaxonomiesDynamicFunctionReturnTypeExtension
Add dynamic return type extension for shortcode_atts
Add dynamic return type extension for shortcode_atts
Nothing published for this version
- Support get_comment - More terminating functions
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Use new PHPStan parameter: bootstrapFiles
Use new PHPStan parameter: bootstrapFiles
Nothing published for this version
Nothing published for this version
This release depends on PHPStan configuration parameter earlyTerminatingFunctionCalls: available in https://github.com/phpstan/phpstan/releases/tag/0.
This release depends on PHPStan configuration parameter earlyTerminatingFunctionCalls: available in https://github.com/phpstan/phpstan/releases/tag/0.12.0
Move to new https://github.com/php-stubs/wordpress-stubs
Move to new https://github.com/php-stubs/wordpress-stubs
Nothing published for this version
Changes: https://github.com/szepeviktor/phpstan-wordpress/compare/0.1.3...0.2.0
Changes: https://github.com/szepeviktor/phpstan-wordpress/compare/0.1.3...0.2.0
Changes: https://github.com/szepeviktor/phpstan-wordpress/compare/0.1.2...0.1.3
Changes: https://github.com/szepeviktor/phpstan-wordpress/compare/0.1.2...0.1.3
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.