wordpress-develop/tests/phpunit/tests/image
Sergey Biryukov 79703088c4 General: Replace older-style PHP type conversion functions with type casts.
This improves performance, readability, and consistency throughout core.

* `intval()` → `(int)`
* `strval()` → `(string)`
* `floatval()` → `(float)`

Props ayeshrajans.
Fixes #42918.

git-svn-id: https://develop.svn.wordpress.org/trunk@49108 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-08 21:13:57 +00:00
..
base.php Tests: Skip some image tests if neither GD nor Imagick image editor engines are supported on the system. 2020-09-20 02:45:35 +00:00
dimensions.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
editor.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
editorGd.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
editorImagick.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:13:57 +00:00
functions.php Tests: Convert a few more function_exists() and extension_loaded() checks to @requires annotations. 2020-09-21 13:25:38 +00:00
header.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
intermediateSize.php Tests: Convert the checks for imagejpeg() function availability to use the @requires annotation. 2020-09-21 11:34:06 +00:00
meta.php Tests: Convert a few more function_exists() and extension_loaded() checks to @requires annotations. 2020-09-21 13:25:38 +00:00
resize.php Tests: Use consistent trailing punctuation in fail() messages. 2020-09-22 12:32:39 +00:00
resizeGd.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
resizeImagick.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
siteIcon.php Tests: First pass at using assertSame() instead of assertEquals() in most of the unit tests. 2020-09-02 00:35:36 +00:00
size.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00