Go to file
Bartosz Dziewoński 22b05a1e3f 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: I54c2bf287b185e2526b0a8556166fd62182b2235
2024-08-16 16:53:47 +00:00
.phan Use HookHandlers for UserMerge hook 2023-08-16 05:30:19 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-08-12 09:22:26 +02:00
images Remove all traces of cross-wiki beta feature 2019-04-17 22:18:13 -07:00
includes Replace gettype() with get_debug_type() in exception messages etc. 2024-08-16 16:53:47 +00:00
maintenance Use expression builder instead of raw sql 2024-07-21 22:52:17 +02:00
modules Dark mode styles should not apply to printed content 2024-08-08 20:28:40 +00:00
scripts Use ::class for class name resolution 2022-06-16 22:36:46 +02:00
sql Drop schema updates from MW 1.33 and 1.34 2023-12-22 01:56:23 +00:00
tests Use overrideConfigValue/overrideConfigValues instead of setMwGlobals 2024-07-26 12:47:09 +00:00
.eslintignore eslint: Use .eslintignore 2022-05-09 14:00:02 +01:00
.eslintrc.json eslint: remove redundant ruleset wikimedia/jsdoc 2024-05-15 17:31:36 +00:00
.gitignore Add DS_Store to gitignore 2021-07-13 13:58:44 -05:00
.gitreview
.mailmap Update Legoktm's mailmap entry 2021-04-11 19:15:52 -07:00
.phpcs.xml tests: Resolve phpunit filename deprecation errors 2023-08-12 21:07:15 +02:00
.stylelintrc.json stylelint: Enable selector-pseudo-element-colon-notation 2023-03-30 00:24:47 +02:00
.svgo.config.js build: Update SVGO to v3.0.2 & re-crush icons 2023-06-14 19:12:11 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-03 01:46:10 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 07:37:09 +00:00
COPYING
Echo.alias.php Add aliases for Simplified & Traditional Chinese 2024-01-07 16:55:25 +08:00
extension.json Use own namespaced classes in extension.json 2024-06-19 21:53:16 +02:00
Gruntfile.js eslint: Use .eslintignore 2022-05-09 14:00:02 +01:00
jsdoc.json build: Update jsdoc-wmf-theme to 1.1.0 2024-06-26 11:31:52 +01:00
package-lock.json build: Updating mediawiki/mediawiki-codesniffer to 44.0.0 2024-08-11 07:37:09 +00:00
package.json build: Update jsdoc-wmf-theme to 1.1.0 2024-06-26 11:31:52 +01:00
quibble.yaml build: Add quibble.yaml and enable early warning bot feedback 2023-03-31 11:42:44 +02:00
README.md Replace jsduck with jsdoc 2024-04-30 15:29:06 +01:00
RELEASE_NOTES
ServiceWiring.php Merge "Inject service RevisionStore into RevisionLocalCache" 2024-03-18 09:06:16 +00:00

The Echo extension provides an in-wiki notification system that can be used by other extensions.