wordpress-develop/tests/phpunit/tests/dependencies
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
..
jquery.php Tests: Reset $current_screen global between tests to avoid cross-test interdependencies. 2021-07-13 16:13:01 +00:00
scripts.php Tests: Replace expectException() for PHP native errors with calls to the dedicated PHPUnit 8.4+ methods. 2021-08-07 11:52:05 +00:00
styles.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
wpInlineScriptTag.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:57:08 +00:00
wpSanitizeScriptAttributes.php Security: move Content-Security-Policy script loaders. 2021-02-23 01:58:21 +00:00
wpScriptTag.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:57:08 +00:00