mediawiki-extensions-Echo/includes
thiemowmde 3f315881b2 Fix PHP 8.1 compatibility issue in ForeignNotifications
Passing null to functions that expect a string is no longer allowed.
Here in this code it can apparently only happen in test scenarios.
That's why I use a very minimal workround that still calls the same
code. The lookup will return an empty string and trigger the expected
code path below.

Bug: T311448
Change-Id: If04924a22b82ae29b8f9327668e8965d6d2a490d
(cherry picked from commit 9ab1d92c9c)
2022-11-08 20:57:37 +00:00
..
api Do minor code cleanup 2022-06-24 13:25:43 +02:00
cache Do minor code cleanup 2022-06-24 13:25:43 +02:00
controller Do minor code cleanup 2022-06-24 13:25:43 +02:00
exception
formatters Merge "WatchlistChange: Include namespace in presentation" 2022-08-24 05:38:27 +00:00
gateway Replace deprecated User::newFromIdentity with UserFactory 2022-02-11 20:35:49 +00:00
iterator Make interface compatible with RecursiveIterator 2022-07-09 22:48:39 -04:00
jobs Replace deprecated JobQueueGroup::singleton() 2022-01-25 22:24:53 +01:00
mapper Do minor code cleanup 2022-06-24 13:25:43 +02:00
model Do minor code cleanup 2022-06-24 13:25:43 +02:00
OOUI Move EchoOOUI namespace to MediaWiki\Extension\Notifications\OOUI 2022-04-25 13:55:57 +01:00
Push Move EchoPush\Api namespace to MediaWiki\Extension\Notifications\Push\Api 2022-04-25 13:56:16 +01:00
special Simplify linking to fragments of Special:Preferences 2022-08-06 00:54:37 +02:00
AttributeManager.php Do minor code cleanup 2022-06-24 13:25:43 +02:00
Bundleable.php Add strict "array" type hints to code expecting arrays 2019-10-24 15:18:58 +00:00
Bundler.php Remove probably outdated error suppression 2021-06-29 17:29:23 +02:00
DataOutputFormatter.php Replace usages of deprecated wfWikiID() 2021-12-21 02:01:11 +00:00
DeferredMarkAsDeletedUpdate.php Do minor code cleanup 2022-06-24 13:25:43 +02:00
DiscussionParser.php Do minor code cleanup 2022-06-24 13:25:43 +02:00
EchoArrayList.php Fix multiple PHP class declarations in one file 2018-01-21 21:17:53 +00:00
EchoCachedList.php Drop private EchoCachedList::ONE_DAY, unused 2020-09-20 13:38:01 +01:00
EchoContainmentList.php Make "@… array" type hints more specific 2018-08-13 09:27:37 +02:00
EchoContainmentSet.php Do minor code cleanup 2022-06-24 13:25:43 +02:00
EchoDbFactory.php build: Updating composer dependencies 2021-09-08 23:40:19 +00:00
EchoDiffGroup.php Do minor code cleanup 2022-06-24 13:25:43 +02:00
EchoDiffParser.php build: Updating mediawiki/mediawiki-codesniffer to 32.0.0 2020-10-29 14:24:24 +00:00
EchoOnWikiList.php Replace deprecated WikiPage::factory/newFromID 2022-06-03 23:25:37 +02:00
EchoServices.php Move EchoPush namespace to MediaWiki\Extension\Notifications\Push 2022-04-25 13:56:09 +01:00
EchoSummaryParser.php phpcs: Auto-fix MediaWiki.Usage.StaticClosure.StaticClosure 2021-05-04 09:06:42 -07:00
EmailBatch.php Do minor code cleanup 2022-06-24 13:25:43 +02:00
EmailFormat.php Fix PSR12.Properties.ConstantVisibility.NotFound 2020-09-19 21:26:38 +00:00
EmailFrequency.php Fix PSR12.Properties.ConstantVisibility.NotFound 2020-09-19 21:26:38 +00:00
EventLogging.php Use namespaced EventLogging class 2022-03-06 16:11:17 +00:00
ForeignNotifications.php Fix PHP 8.1 compatibility issue in ForeignNotifications 2022-11-08 20:57:37 +00:00
ForeignWikiRequest.php SECURITY: Send original client info on x-wiki requests 2022-04-04 15:42:18 -05:00
Hooks.php schema: Remove IF EXISTS from DROP FOREIGN KEY 2022-08-08 21:25:33 +02:00
Notifier.php Merge "Specify that watchlist emails are only sent once per page" 2021-12-14 18:48:22 +00:00
NotifUser.php Do minor code cleanup 2022-06-24 13:25:43 +02:00
ResourceLoaderEchoImageModule.php Use new ResourceLoader namespace 2022-05-20 13:12:43 +10:00
schemaUpdate.php Do minor code cleanup 2022-06-24 13:25:43 +02:00
SeenTime.php Avoid using User::getOption() method 2021-12-10 13:37:45 +01:00
UnreadWikis.php postgres: Convert timestamp in EchoUnreadWikis 2022-07-16 16:33:40 +00:00
UserLocator.php phpcs: Auto-fix MediaWiki.Usage.StaticClosure.StaticClosure 2021-05-04 09:06:42 -07:00