wordpress-develop/tests/phpunit/tests/category
Tonya Mork e83a341cc0 Coding Standards: Use static closures when not using $this.
When a closure does not use `$this`, it can be made `static` for improved performance.

Static closures are supported in PHP since PHP 5.4. ​

Props jrf, hellofromTonya, swissspidy, SergeyBiryukov.
See #53359.

git-svn-id: https://develop.svn.wordpress.org/trunk@51657 602fd350-edb4-49c9-b593-d223f7449a82
2021-08-26 12:57:08 +00:00
..
categoryDescription.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getCategories.php Improve error handling in get_categories(). 2016-03-14 13:52:14 +00:00
getCategoryLink.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
getCategoryParents.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
getTheCategoryById.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
walkerCategory.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:57:08 +00:00
wpDropdownCategories.php Tests: Replace assertNotRegExp() with assertDoesNotMatchRegularExpression(). 2021-08-06 21:55:31 +00:00
wpListCategories.php Tests: Replace assertNotRegExp() with assertDoesNotMatchRegularExpression(). 2021-08-06 21:55:31 +00:00