wiki.techinc.nl/includes/media
Bartosz Dziewoński df4cbf5ac6 Replace gettype() with get_debug_type() in debug/log/test output
get_debug_type() does the same thing but better (spelling type names
in the same way as in type declarations, and including names of
object classes and resource types). It was added in PHP 8, but the
symfony/polyfill-php80 package provides it while we still support 7.4.

Also remove uses of get_class() and get_resource_type() where the new
method already provides the same information.

For reference:
https://www.php.net/manual/en/function.get-debug-type.php
https://www.php.net/manual/en/function.gettype.php

In this commit I'm only changing code where it looks like the result
is used only for some king of debug, log, or test output. This
probably won't break anything important, but I'm not sure whether
anything might depend on the exact values.

Change-Id: I7c1f0a8f669228643e86f8e511c0e26a2edb2948
2024-07-31 19:33:57 +02:00
..
Hook Namespace includes/context 2024-02-08 11:07:01 -05:00
scripts Clean up DjVuImage::retrieveMetaData including shellbox support 2023-12-04 20:20:32 +11:00
BitmapHandler.php mediaHandler: Respect image scaler configs for Webp and XCF files 2024-06-02 19:50:21 +00:00
BitmapHandler_ClientOnly.php
BitmapMetadataHandler.php media: Replace deprecated MWException 2023-06-09 18:51:07 +02:00
BmpHandler.php Deprecate and replace the wfUnpack global function 2024-01-17 21:17:24 +00:00
DjVuHandler.php PoolCounter: Namespace classes 2023-12-20 09:32:19 +00:00
DjVuImage.php Update name & email for bvibber 2024-02-08 17:02:16 -08:00
Exif.php Replace gettype() with get_debug_type() in debug/log/test output 2024-07-31 19:33:57 +02:00
ExifBitmapHandler.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
FormatMetadata.php Namespace includes/context 2024-02-08 11:07:01 -05:00
GIFHandler.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
GIFMetadataExtractor.php build: Upgrade mediawiki/mediawiki-phan-config from 0.13.0 to 0.14.0 manually 2024-02-10 02:22:41 +00:00
ImageHandler.php media: Replace deprecated MWException 2023-06-09 18:51:07 +02:00
InvalidJpegException.php media: Replace deprecated MWException 2023-06-09 18:51:07 +02:00
InvalidPSIRException.php media: Replace deprecated MWException 2023-06-09 18:51:07 +02:00
InvalidSVGException.php media: Replace deprecated MWException 2023-06-09 18:51:07 +02:00
InvalidTiffException.php media: Replace deprecated MWException 2023-06-09 18:51:07 +02:00
IPTC.php media: code style improvements 2023-03-09 11:07:32 +00:00
Jpeg2000Handler.php
JpegHandler.php build: Resolve MediaWikiNoEmptyIfDefined suppression 2024-02-14 21:47:18 +01:00
JpegMetadataExtractor.php Deprecate and replace the wfUnpack global function 2024-01-17 21:17:24 +00:00
MediaHandler.php Replace gettype() with get_debug_type() in exception messages 2024-07-31 19:24:39 +02:00
MediaHandlerFactory.php media: Improve documentation on Handler functions 2022-03-29 17:50:17 +00:00
MediaHandlerState.php
MediaTransformError.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
MediaTransformInvalidParametersException.php media: Replace deprecated MWException 2023-06-09 18:51:07 +02:00
MediaTransformOutput.php Add namespace and deprecation alias to FileBackend 2024-05-19 22:35:58 +03:30
PNGHandler.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
PNGMetadataExtractor.php build: Upgrade mediawiki/mediawiki-phan-config from 0.13.0 to 0.14.0 manually 2024-02-10 02:22:41 +00:00
SvgHandler.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
SVGReader.php Make SVGReader::scaleSVGUnit comply with SVG2 & CSS3 spec 2024-05-02 23:33:27 -07:00
ThumbnailImage.php Add namespace and deprecation alias to Xml and XmlSelect 2024-05-16 15:23:14 +03:30
TiffHandler.php Use thousands separators in selected integer literals 2023-12-12 09:22:45 +11:00
tinyrgb.icc
TransformationalImageHandler.php media: Replace deprecated MWException 2023-06-09 18:51:07 +02:00
TransformParameterError.php
TransformTooBigImageAreaError.php Language: Handle ronna and quetta 2022-11-22 10:06:51 +00:00
TrivialMediaHandlerState.php
WebPHandler.php mediaHandler: Respect image scaler configs for Webp and XCF files 2024-06-02 19:50:21 +00:00
XCFHandler.php mediaHandler: Respect image scaler configs for Webp and XCF files 2024-06-02 19:50:21 +00:00