wiki.techinc.nl/tests/phpunit/includes/parser
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
..
Parsoid Extract LintErrorChecker out of SignatureValidator 2024-07-29 14:35:40 -04:00
BeforeParserFetchTemplateRevisionRecordTest.php Parser::statelessFetchTemplate: remove dead code; add test cases 2024-04-10 17:36:04 -04:00
CacheTimeTest.php SerializationTestTrait: make phpunit data providers static 2024-05-22 11:43:26 -04:00
CoreParserFunctionsTest.php
ExtraParserTest.php tests: Use namespaced classes (@covers) 2024-06-14 00:15:40 +02:00
LinkHolderArrayIntegrationTest.php
MagicVariableTest.php Replace gettype() with get_debug_type() in debug/log/test output 2024-07-31 19:33:57 +02:00
MagicWordFactoryTest.php
PageBundleJsonTraitTest.php
ParserCacheSerializationTestCases.php Add parser cache test data for JsonDeserializable extension data 2024-06-12 21:13:28 -04:00
ParserCacheTest.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
ParserMethodsTest.php tests: Use namespaced classes (@covers) 2024-06-14 00:15:40 +02:00
ParserOptionsTest.php Add ParserOptions::setCollapsibleSections() 2024-04-29 12:11:09 -04:00
ParserOutputTest.php SerializationTestTrait: make phpunit data providers static 2024-05-22 11:43:26 -04:00
ParserPreloadTest.php tests: Use namespaced classes (@covers) 2024-06-14 00:15:40 +02:00
ParserTest.php tests: Use namespaced classes (@covers) 2024-06-14 00:15:40 +02:00
PreprocessorTest.php Drop duplicate test cases and @dataProviders from tests 2024-07-19 10:18:31 +00:00
RevisionOutputCacheTest.php Add namespace to the root classes of ObjectCache 2024-07-10 00:14:54 +03:30
SanitizerTest.php Sanitizer: delete method removeHTMLtags() 2024-06-27 14:09:00 +00:00
StripStateTest.php
TagHooksTest.php tests: Use namespaced classes (@covers) 2024-06-14 00:15:40 +02:00
validateParserCacheSerializationTestData.php SerializationTestUtils: handle 1.xx_wmf* versions; don't fail immediately 2024-06-03 12:23:46 -04:00