Skip to content

Remove deprecated instanceof#185

Merged
szepeviktor merged 1 commit intoszepeviktor:masterfrom
IanDelMar:get-terms
Apr 23, 2023
Merged

Remove deprecated instanceof#185
szepeviktor merged 1 commit intoszepeviktor:masterfrom
IanDelMar:get-terms

Conversation

@IanDelMar
Copy link
Copy Markdown
Contributor

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 szepeviktor merged commit 68cdfe3 into szepeviktor:master Apr 23, 2023
@szepeviktor
Copy link
Copy Markdown
Owner

Travis should be going green again soon

You did it Ian!

image

@herndlm
Copy link
Copy Markdown
Contributor

herndlm commented Apr 23, 2023

Great work!

@IanDelMar IanDelMar deleted the get-terms branch April 23, 2023 11:04
IanDelMar added a commit to IanDelMar/phpstan-wordpress that referenced this pull request Jul 27, 2023
szepeviktor added a commit that referenced this pull request Jul 27, 2023
* Remove has_filter extension

* Remove current_time extension

* Remove mysql2date extension

* Remove get_object_taxonomies extension

* Remove get_taxonomies extension

* Adapt get_post extension to new stub file

* Adapt get_comment extension to new stub file

* Fix CS

* Update composer.json

* Remove WP_Theme::get()

* Remove get_permalink extension

* Update .travis.yml

* Remove term_exists extension

* Update wp_error parameter extension

* Update GetPostDynamicFunctionReturnTypeExtension.php

* Fully remove wp_error parameter extension

* Merge get_comment extension into get_post extension

* Remove type specifiying extension and rule for `is_wp_error()`

* Update README.md

Co-authored-by: Viktor Szépe <viktor@szepe.net>

* Remove echo parameter extension

* Remove _get_list_table extension

* Revert "Remove _get_list_table extension"

This reverts commit 0191253.

* Update get_post.php

* Fix earlyTerminatingMethodCalls syntax (#173)

* Remove deprecated instanceof (#183)

* Remove deprecated `instanceof` (#184)

* Remove deprecated `instanceof`

* Remove space

Co-authored-by: Viktor Szépe <viktor@szepe.net>

* Return early

* Fix handling of fields unions

* Add tests

---------

Co-authored-by: Viktor Szépe <viktor@szepe.net>

* Remove deprecated `instanceof` (#185)

* Fix CS (#186)

* Fix CS

* Fix PHP 7.2 compat.

* Fix _get_list_table extension (#190)

* Revert "Update composer.json"

This reverts commit d15b7e1.

---------

Co-authored-by: Viktor Szépe <viktor@szepe.net>
Co-authored-by: Der Mundschenk & Compagnie <mundschenk-at@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants