mediawiki-extensions-AbuseF.../maintenance
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
..
AddMissingLoggingEntries.php Remove AbuseFilterActorMigration 2024-06-15 09:42:27 +02:00
MigrateActorsAF.php Use IDatabase::buildComparison in MigrateActorsAF 2024-07-16 23:35:21 +02:00
PurgeOldLogIPData.php
SearchFilters.php
UpdateVarDumps.php Replace gettype() with get_debug_type() in exception messages etc. 2024-08-12 23:05:16 +02:00