wiki.techinc.nl/tests/phpunit/includes
daniel 1b6e29d7af flushOutputBuffer: improve error handling
This improves handling of edge cases around flushing buffers:
- Distingush clearly between "headers sent" and "all output sent"
  states.
- Warn when trying to flush output after output was already sent to the
  client.
- Avoid looping indefinitely when failing to delete a buffer, to work
  around a quirk of PHP's zlib.compression buffer.

Follow-up: I4ea116d60030da92be14f0283ce4dc4877c4ca13
Bug: T356578
Change-Id: Iaf34a48b89e969b8e26328f0d2512ad22ef48212
2024-02-09 12:10:59 +01:00
..
actions flushOutputBuffer: improve error handling 2024-02-09 12:10:59 +01:00
api flushOutputBuffer: improve error handling 2024-02-09 12:10:59 +01:00
auth Drop deprecated configs $wgMinimalPasswordLength and $wgMaximalPasswordLength 2024-02-01 16:29:05 +01:00
block Move creation of BlockErrorFormatter into FormatterFactory 2024-01-26 13:03:44 -05:00
cache Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
Category tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
changes tests: Set rc_log_type in RecentChangeTest for log events 2023-12-12 23:03:09 +01:00
changetags Use native str_contains/str_starts_with in a few more places 2024-01-25 12:17:27 +01:00
collation
CommentStore CommentStore: Remove unused getFields method 2024-01-20 16:21:39 +01:00
composer
config tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
content Remove indirect calls to IDBAccessObject::READ_* constants 2024-01-29 21:00:03 +03:00
db rdbms: Drop ILoadBalancer::getAnyOpenConnection() 2023-11-28 15:42:39 +01:00
debug MWDebug: Add support for native PHP warnings to "Console" 2023-10-19 17:13:12 -07:00
deferred tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
diff tests: Use namespaced classes 2023-12-11 15:59:55 +01:00
editpage tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
exception Move creation of BlockErrorFormatter into FormatterFactory 2024-01-26 13:03:44 -05:00
export
ExternalLinks Replace a few manually crafted assertTrue assertions 2023-11-23 09:38:48 +01:00
externalstore
filebackend tests: Change $wgCommandLineMode hacks to preventOpportunisticUpdates() 2023-12-12 18:58:57 +00:00
filerepo Replace more instances of unchecked MWException 2024-01-23 16:20:53 +00:00
GlobalFunctions Autofix spacing around commas 2023-10-25 01:08:44 +02:00
HookContainer
Html Merge "Remove uses of $wgUseMediaWikiUIEverywhere" 2024-02-05 13:59:51 +00:00
htmlform Refactor HTMLRestrictionsField to allow more restrictions to be added 2023-11-23 16:01:50 +00:00
http
import Always allow local IP actors to be created when importing 2024-01-29 19:35:14 +00:00
installer Namespace WebInstaller classes 2024-01-11 23:29:14 +00:00
interwiki Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
jobqueue Replace more instances of unchecked MWException 2024-01-23 16:20:53 +00:00
language Language: Don't generate local dates in the year 10000 2024-02-03 14:53:31 +01:00
languages Autofix spacing around commas 2023-10-25 01:08:44 +02:00
libs tests: Skip failing tests on php8.2 (and make pass) 2023-12-10 22:57:48 +00:00
linkeddata tests: Use namespaced classes 2023-12-11 15:59:55 +01:00
linker tests: Use namespaced classes 2023-12-11 15:59:55 +01:00
logging Allow MergeHistory to split up joined revisions with same timestamp 2024-01-05 23:09:15 +00:00
mail Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
media Replace more instances of unchecked MWException 2024-01-23 16:20:53 +00:00
Message
Navigation
objectcache objectcache: Drop support for $wgObjectCaches['db-replicated'] 2023-12-08 18:14:37 +01:00
Output tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
OutputTransform tests: Rename OutputTransformStageTest for PHPUnit 9.6 2024-01-17 17:41:36 +01:00
page tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
pager tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
ParamValidator/TypeDef Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
parser Merge "Use the instanceof and ::class features instead of strings" 2024-02-02 16:01:15 +00:00
password Follow-up 71ff05267: Stop writing to tablesUsed in tests, now unnecessary 2023-11-21 09:02:48 -05:00
Permissions tests: Remove cleanup of blocks, done by ChangedTablesTracker 2024-01-20 11:41:15 +01:00
poolcounter tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
preferences Update tests for PHPUnit 9.6 (part 2) 2024-01-17 18:16:38 +01:00
profiler
rcfeed
registration Bump codesniffer to 42.0.0 2023-09-27 15:06:32 -04:00
Request Merge "entrypoint: Isolate entry points from PHP runtime for testing" 2024-02-02 19:59:11 +00:00
ResourceLoader flushOutputBuffer: improve error handling 2024-02-09 12:10:59 +01:00
Rest Update tests for PHPUnit 9.6 (part 2) 2024-01-17 18:16:38 +01:00
Revision RevisionStore: Remove usage of ActorMigration 2024-02-05 00:29:44 +00:00
search Change more uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-23 16:34:45 +01:00
session Merge "Allow setting page restrictions on BotPassword grants" 2023-12-15 06:04:00 +00:00
shell
site tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
SiteStats Convert numerous DB queries to use QueryBuilders 2023-10-09 19:06:53 +02:00
skins skins: move testGetDefaultModulesForContent to SkinTest.php 2024-01-11 13:58:04 +00:00
sparql
specialpage tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
specials Use User::isEmailConfirmed for SpecialMute email confirmation check 2024-02-05 14:12:12 +00:00
Status Make use of the [ ... ] operator instead of array_merge 2024-01-31 15:47:44 +01:00
Storage Merge "Change more uses of getDBLoadBalancerFactory() to getConnectionProvider()" 2024-01-23 17:59:21 +00:00
title tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
upload
user Split User::getRightDescription into two methods 2024-01-31 15:28:37 -05:00
utils tests: Use namespaced class names in @covers annotations 2024-01-27 01:11:07 +01:00
watcheditem Migrate remaining Database::insert calls to InsertQueryBuilder 2023-12-22 14:53:17 +01:00
WikiMap
xml Remove uses of $wgUseMediaWikiUIEverywhere 2024-02-04 19:16:30 +00:00
AutoLoaderTest.php
MediaWikiServicesTest.php Move creation of BlockErrorFormatter into FormatterFactory 2024-01-26 13:03:44 -05:00
MockServiceWiring.php
SampleTest.php
TestUser.php Change uses of getDBLoadBalancerFactory() to getConnectionProvider() 2024-01-22 22:27:45 +01:00
TestUserRegistry.php update a few tests to use PHP 7.4 syntax 2024-01-09 10:19:00 +02:00