mediawiki-extensions-AbuseF.../includes/Parser
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
..
Exception Use namespaced classes 2024-06-12 20:01:35 +02:00
AbuseFilterTokenizer.php More cleanup for parser-related classes 2021-09-10 12:50:20 +00:00
AFPData.php Replace gettype() with get_debug_type() in exception messages etc. 2024-08-12 23:05:16 +02:00
AFPParserState.php Move parser classes to a dedicated namespace 2020-12-09 01:30:20 +00:00
AFPSyntaxTree.php Rename AbuseFilterCachingParser -> FilterEvaluator 2021-09-08 13:40:47 +02:00
AFPToken.php Move parser classes to a dedicated namespace 2020-12-09 01:30:20 +00:00
AFPTreeNode.php Inline/simplify smaller pieces of duplicate/complex PHP code 2022-06-03 21:04:38 +02:00
AFPTreeParser.php build: Updating mediawiki/mediawiki-codesniffer to 43.0.0 2024-03-16 18:53:05 +00:00
FilterEvaluator.php Simplify FilterEvaluator::getUsedVars using ::checkSyntax 2024-07-05 11:32:09 +02:00
ParserStatus.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
RuleCheckerFactory.php More cleanup for parser-related classes 2021-09-10 12:50:20 +00:00
RuleCheckerStatus.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
SyntaxChecker.php Use namespaced classes 2024-06-12 20:01:35 +02:00