wiki.techinc.nl/tests/phpunit/includes
Umherirrender 6ea3d6ac2c Add explicit casts between scalar types
php internal functions like floor/round/ceil documented to return
float, most cases the result is used as int, added casts

Found by phan strict checks

Change-Id: I92daeb0f7be8a0566fd9258f66ed3aced9a7b792
2022-03-08 16:59:01 +00:00
..
actions phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
api tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
auth objectcache: deprecate BagOStuff incr() and decr() methods 2022-02-18 11:15:27 +11:00
block Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
cache tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
changes tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
changetags Handle null in ChangeTags::modifyDisplayQuery 2022-03-04 11:12:14 +01:00
collation phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
config Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
content phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
context Revert "Replace deprecated methods IContextSource::getWikiPage && IContextSource::canUseWikiPage" 2021-12-14 12:43:15 -08:00
db tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
debug tests: Replace some usages of Wikimedia\(suppress|restore)Warnings() 2022-02-24 12:55:25 +00:00
deferred LinksTable: Cast all array keys to string 2022-02-14 15:56:34 +11:00
diff Merge "diff: Fix small issues and compact syntax in DifferenceEngine" 2022-02-04 15:09:28 +00:00
editpage
exception Use HTTP 404 for BadTitleErrors instead of HTTP 400 2022-02-27 00:08:58 -08:00
externalstore
filebackend tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
filerepo phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
GlobalFunctions tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
HookContainer phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
htmlform Merge "HTMLForm: Add test for CSRF token check" 2022-02-21 16:19:03 +00:00
http tests: Use ::class in assertInstanceOf function 2022-01-16 21:17:09 +01:00
import phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
installer
interwiki Optimise Skin::getLanguages() 2022-02-08 22:34:15 +00:00
jobqueue RefreshLinksJob: assert proper title 2022-02-09 20:39:08 +01:00
language phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
languages phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
libs Improve ObjectCache integration tests 2022-02-11 10:20:33 +11:00
linkeddata
linker linker: Start of LinkTargetStore 2022-03-02 14:56:30 +00:00
logging phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
mail phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
media phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
Message
Navigation
objectcache Improve ObjectCache integration tests 2022-02-11 10:20:33 +11:00
page phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
pager changetags: Fix management of a '0' tag 2022-03-03 22:24:01 +00:00
ParamValidator/TypeDef
parser Add explicit casts between scalar types 2022-03-08 16:59:01 +00:00
password
Permissions phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
poolcounter phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
preferences phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
rcfeed
registration ExtensionRegistry: Add process cache for lazy attributes 2022-02-01 21:01:44 +11:00
resourceloader Merge "resourceloader: Pass exports parameter to package modules" 2022-02-22 15:28:27 +00:00
Rest
Revision tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
search phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
session tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
shell
site phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
skins Merge "skins: Increase SkinFactory test coverage, improve various class docs" 2022-03-01 19:50:51 +00:00
sparql
specialpage phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
specials tests: Remove redundant fake time reset in individual tests 2022-03-01 18:04:37 +00:00
Storage tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
title phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
upload phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
user user: Set a default value for all searchNs* user preferences 2022-01-31 18:45:27 +00:00
utils phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
watcheditem phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
ActorMigrationTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
ActorMigrationTest.sql
AutoLoaderTest.php
CategoryTest.php Add getMemberCount() to Category to supersede getPageCount() 2022-01-31 13:59:34 +01:00
CommentStoreCommentTest.php
CommentStoreTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
CommentStoreTest.sql
ContentSecurityPolicyTest.php phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
EditPageConstraintsTest.php
EditPageTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
ExportTest.php Suppress deprecation warnings from libxml_disable_entity_loader() 2022-01-21 14:03:12 +11:00
ExtraParserTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
FauxRequestTest.php
GitInfoTest.php
HooksTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
HtmlTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
LinkerTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
LinkFilterTest.php
MagicWordFactoryTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
MediaWikiServicesTest.php
MediaWikiTest.php
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
MessageTest.php Revert "Show message fallback keys when using &uselang=qqx" 2022-02-23 21:21:45 -05:00
MockServiceWiring.php
MovePageTest.php Merge "Convert various callers to LoadBalancer::getConnectionRef()" 2022-01-27 23:34:39 +00:00
MultiHttpClientTest.php Fix deprecation warning from CURLPIPE_HTTP1 2022-01-25 14:35:41 +11:00
MWTimestampTest.php
OutputPageTest.php tests: Remove redundant fake time reset in individual tests 2022-03-01 18:04:37 +00:00
PagePropsTest.php
SampleTest.php phpcs: Disable Generic.Files.LineLength for test files 2022-02-18 18:32:05 +00:00
SiteStatsTest.php Replace deprecated JobQueueGroup::singleton() 2022-01-27 21:37:50 +01:00
StatusTest.php Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
TemplateCategoriesTest.php tests: Replace usages of deprecated WikiPage::doDeleteArticleReal 2022-01-17 15:38:02 +00:00
TestUser.php
TestUserRegistry.php
TimeAdjustTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
TitleTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
TitleUrlTest.php
TrackingCategoriesTest.php
WebRequestTest.php
WikiMapTest.php Replace usages of deprecated wfWikiID() 2021-12-21 02:05:55 +00:00
XmlTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00