wiki.techinc.nl/tests/phpunit/includes
Kevin Israel 06ba5ca383 Remove internal use of deprecated $wgRequestTime
* Use $_SERVER['REQUEST_TIME_FLOAT'] unconditionally in WebRequest.php
  and libs/Timing.php. WebStart.php was doing this already without issue.
  The key existst since PHP 5.4, for both Web and CLI (we require 5.5).

* In wfDebug() and wfReportTime(), use $_SERVER['REQUEST_TIME_FLOAT'] instead.

* In ApiFormatBase and MWDebug, use WebRequest::getElapsedTime() instead.

* In Maintenance.php, remove setting of $wgRequestTime.

* In rebuildFileCache.php, update mocking to $_SERVER['REQUEST_TIME_FLOAT']
  so that we avoid re-introducing bug T24852.

Change-Id: I1b647da2862f815029caa533b592ec8a05b33806
2018-03-18 04:41:12 +00:00
..
actions Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
api Rename ApiTestCaseUpload 2018-03-16 18:40:38 +01:00
auth Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
cache Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
changes Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
changetags Add new core tags 2017-11-30 10:29:58 -08:00
collation Merge "Add collation for Abkhaz (ab)" 2018-01-23 18:42:29 +00:00
composer build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
config Expose the latest modified index seen by EtcdConfig 2018-03-01 13:44:15 +01:00
content Drop 'comma' value for wgArticleCountMethod 2018-03-01 16:37:23 -08:00
context
db Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
debug build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
deferred Merge "Replace wfGetLBFactory" 2018-03-09 11:33:10 +00:00
diff Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
editpage Use Sanitizer::mergeAttributes when merging classes into attributes 2018-01-05 10:32:56 +01:00
exception Don't write exceptions to STDERR from BadTitleErrorTest or ThrottledErrorTest 2018-02-16 09:01:51 +00:00
externalstore build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
filebackend Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
filerepo Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
GlobalFunctions build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
htmlform build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
http MWHttpRequest: Restore ability to pass null for $options 2018-02-06 13:05:02 -08:00
import Avoid dumping big stack traces from unit tests. 2018-03-13 20:54:06 +01:00
installer Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
interwiki Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
jobqueue build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
json Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
libs Make IPTest::isNotIPAddress a test function 2018-03-16 17:54:14 +01:00
linkeddata Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
linker phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
logging Introduce DatabaseLogEntry::newFromId 2018-03-05 16:37:23 -08:00
mail Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
media Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
objectcache build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
page Drop 'comma' value for wgArticleCountMethod 2018-03-01 16:37:23 -08:00
pager Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
parser Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
password Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
poolcounter Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
preferences Use wikimedia/object-factory 1.0.0 2018-02-04 12:52:44 -08:00
rcfeed Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
registration build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
resourceloader resourceloader: Simplify load.mock.php by removing includes dependency 2018-03-06 15:59:13 -08:00
search build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
services build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
session Merge "Update suppressWarning()/restoreWarning() calls" 2018-02-11 22:06:29 +00:00
shell shell: Don't use --seccomp=@default for firejail < 0.9.50 support 2018-02-26 14:11:42 -08:00
site Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
skins Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
sparql build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
specialpage Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
specials Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
Storage Fix field names and behavior in SlotRecord. 2018-03-08 12:53:25 +01:00
tidy build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 2018-01-01 14:10:16 +01:00
title Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
upload Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
user Add ExternalUserNames::getLocal() to get local part of username 2018-03-09 20:53:54 +01:00
utils Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
watcheditem Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
ActorMigrationTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
AutopromoteTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
BlockTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
CommentStoreTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
DeprecatedGlobalTest.php phpunit: Fix failing DeprecatedGlobalTest on HHVM at Travis CI 2017-07-28 18:30:32 -07:00
DiffHistoryBlobTest.php
EditPageTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ExportTest.php
ExtraParserTest.php Add 'unwrap' ParserOutput post-cache transform 2018-02-01 14:24:27 -08:00
FauxRequestTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
FauxResponseTest.php
FormOptionsInitializationTest.php Remove "Generated by PHPUnit" comments in 3 files 2016-12-13 03:20:04 +00:00
FormOptionsTest.php Remove "Generated by PHPUnit" comments in 3 files 2016-12-13 03:20:04 +00:00
GitInfoTest.php Improve GitInfo for reading packed refs 2017-10-02 03:47:33 +00:00
HooksTest.php HooksTest: Covers Hooks::callHook too 2018-01-02 00:19:21 -08:00
HtmlTest.php Remove very, very old disabled test cases and todos 2017-12-28 18:44:31 +00:00
LicensesTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
LinkerTest.php Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
LinkFilterTest.php Add @covers tags to miscellaneous tests 2017-12-24 23:29:00 -08:00
ListToggleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MediaWikiServicesTest.php Pass $key into CommentStore methods and use MediawikiServices 2018-02-05 15:34:12 +00:00
MediaWikiTest.php
MediaWikiVersionFetcherTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
MergeHistoryTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MessageTest.php Use wikimedia/object-factory 1.0.0 2018-02-04 12:52:44 -08:00
MovePageTest.php
MWNamespaceTest.php Remove very, very old disabled test cases and todos 2017-12-28 18:44:31 +00:00
MWTimestampTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
OutputPageTest.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
PageArchiveTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
PagePropsTest.php Add @covers tags to miscellaneous tests 2017-12-24 23:29:00 -08:00
PathRouterTest.php build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 2018-01-01 14:10:16 +01:00
PreferencesTest.php Convert Preferences class into PreferencesFactory service 2018-01-03 09:48:25 +08:00
PrefixSearchTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ReadOnlyModeTest.php Remove unused and unnecessary imports 2017-06-12 15:50:43 +00:00
RevisionContentHandlerDbTest.php Run RevisionIntegrationTest for both ContentHandlerUseDB settings 2017-11-10 14:11:17 +00:00
RevisionDbTestBase.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
RevisionNoContentHandlerDbTest.php Run RevisionIntegrationTest for both ContentHandlerUseDB settings 2017-11-10 14:11:17 +00:00
RevisionTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
RevisionTestModifyableContent.php Split Revision tests into Unit & Integration classes 2017-10-13 14:46:36 +01:00
RevisionTestModifyableContentHandler.php Split Revision tests into Unit & Integration classes 2017-10-13 14:46:36 +01:00
SampleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
SanitizerValidateEmailTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
SiteConfigurationTest.php
SiteStatsTest.php Be more db-friendly when purging expired userrights 2018-02-14 09:02:33 +00:00
StatusTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
TemplateCategoriesTest.php Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
TemplateParserTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
TestLogger.php Remove "@author Bryan Davis" and "Brad Jorsch" annotations 2017-06-26 15:25:46 -06:00
TestUser.php
TestUserRegistry.php
TimeAdjustTest.php
TitleArrayFromResultTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
TitleMethodsTest.php Title: Refactor JS/CSS page handling to be more sane 2018-02-16 17:35:12 +00:00
TitlePermissionTest.php Title: Refactor JS/CSS page handling to be more sane 2018-02-16 17:35:12 +00:00
TitleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
WebRequestTest.php Remove internal use of deprecated $wgRequestTime 2018-03-18 04:41:12 +00:00
WikiMapTest.php Clean up wiki ID and DB domain ID handling 2017-09-30 10:25:03 +00:00
WikiReferenceTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlJsTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlSelectTest.php Update weblinks in comments from HTTP to HTTPS 2016-10-11 17:25:10 +00:00
XmlTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00