Releases: szepeviktor/phpstan-wordpress
Releases · szepeviktor/phpstan-wordpress
Second try on 2.0
v2.0.0-rc.2 Include ApplyFiltersTestClass in tests
2.0.0 for Everyone
Many improvements. More errors spotted.
- PHPStan 2.0
- Needs WP stubs 6.6.2
v1.3.5
- Add error identifiers by @IanDelMar in #226
- Register
HookDocBlock
as service by @IanDelMar in #229 - Fix/update extension for wp_parse_url by @IanDelMar in #231
v1.3.4
One more global constant.
v1.3.3
What's Changed
- Add test for WpThemeMagicPropertiesClassReflectionExtension by @IanDelMar in #206
- Fix dynamic call to static method by @IanDelMar in #208
- Introduce dynamic return type for the
get_approved_comments
function by @lipemat in #211 - Add WP_LANG_DIR constant by @swissspidy in #212
New Contributors
Full Changelog: v1.3.2...v1.3.3
Fix wp_die problem
What's Changed
- Fix dynamic return type extension for
wp_die()
by @IanDelMar in #204
Full Changelog: v1.3.1...v1.3.2
v1.3.1
What's Changed
- Update and rename WPErrorParameterDynamicFunctionReturnTypeExtension.… by @szepeviktor in #187
- Fix _get_list_table extension by @IanDelMar in #190
- Remove unnecessary tests for current_time extension by @IanDelMar in #191
- Remove unnecessary tests for mysql2date extension by @IanDelMar in #192
- Add WP_PLUGIN_DIR constant by @szepeviktor in #193
- Add dynamic return type extension for
wp_die()
by @IanDelMar in #201 - Synchronize with new stubs by @szepeviktor in #202
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
Thank you @IanDelMar
- Add TEMPLATEPATH, STYLESHEETPATH, and WP_DEFAULT_THEME constants by @westonruter in #175
- Improve early return by @IanDelMar in #179
- Remove deprecated
instanceof
fromwp_parse_url
extension by @IanDelMar in #183 - Fix earlyTerminatingMethodCalls syntax by @mundschenk-at in #173
- Remove deprecated
instanceof
by @IanDelMar in #184 - Remove deprecated
instanceof
by @IanDelMar in #185
New Contributors
- @mundschenk-at made their first contribution in #173
Full Changelog: v1.2.0...v1.3.0
Many more eyes on your source code
Thank you @IanDelMar
What's Changed
- Add return type extension for echo key in args array by @IanDelMar in #144
- Fix return type of the_title() and single_month_title() by @IanDelMar in #145
- Add return types for query strings to echo key extension by @IanDelMar in #146
- Improve
get_comment()
return type extension by @IanDelMar in #148 - Replace deprecated
$type instanceof ConstantStringType
by @IanDelMar in #150 - Fix dynamic return type extension for
has_filter()
/has_action()
by @IanDelMar in #151 - Remove deprecated
instanceof
by @IanDelMar in #152 - Fix dynamic return type extension for
term_exists()
by @IanDelMar in #153 - Fix 'WP_Error should be referenced via a fully qualified name.' by @IanDelMar in #156
- Fix dynamic function return type extension for
get_sites()
by @IanDelMar in #155 - Add tests for
get_sites()
by @IanDelMar in #157 - Refactor get_sites() extension to improve readability by @IanDelMar in #158
- GetSites extension: Remove duplicate values from array by @IanDelMar in #161
- Improve echo type handling in EchoKey extension by @herndlm in #162
- Remove ineffective phpcs:ignore comments by @IanDelMar in #165
- Remove return types for
wp_slash()
andwp_unslash()
by @IanDelMar in #164 - Simplify StringOrArrayDynamicFunctionReturnTypeExtension by @szepeviktor in #166
- Improve/fix type StringOrArray extension by @herndlm in #167
- Add Support my work section by @szepeviktor in #169
- Add Tweet badge by @szepeviktor in #171
- Add some more dynamic constants by @johnbillion in #172
- Add SCRIPT_DEBUG as dynamic constant by @westonruter in #174
New Contributors
- @westonruter made their first contribution in #174
Full Changelog: v1.1.7...v1.2.0
Add dynamic return type for get_permalink()
And many more improvements by @IanDelMar