mediawiki-extensions-AbuseF.../includes/Variables
Bartosz Dziewoński 237d54d545 Replace gettype() with get_debug_type() in exception messages etc.
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() 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

Change-Id: I5e65a0759df7fa0c10bfa26ebc3cda436630f456
2024-08-12 23:05:16 +02:00
..
LazyLoadedVariable.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
LazyVariableComputer.php Use namespaced classes 2024-06-12 20:01:35 +02:00
UnsetVariableException.php
VariableHolder.php Re-add BC alias for the VariableHolder class 2023-03-13 13:46:09 +01:00
VariablesBlobStore.php Use namespaced classes 2024-06-12 20:01:35 +02:00
VariablesFormatter.php Fix variable descriptions showing raw "($1)" 2024-06-16 22:11:08 +02:00
VariablesManager.php Replace gettype() with get_debug_type() in exception messages etc. 2024-08-12 23:05:16 +02:00