Max Semenik
eb8ccf03db
Get rid of call_user_func_array()
...
Yay PHP7!
Change-Id: I777ed78d22efbddacaab22c4614a0defa6ad3f94
2018-07-03 19:40:19 -07:00
Kunal Mehta
d91a8cf8a0
Add @covers tags to all tests
...
Bug: T195160
Change-Id: I77ce544e9c166fef6c6fb02f67d1de6ddf0c2465
2018-05-29 11:37:27 -07:00
Kunal Mehta
f76ba3c465
Disable Squiz.Classes.ValidClassName.NotCamelCaps globally
...
Instead of per-file. This happens to also fix a false positive with the
PhpunitAnnotations sniff.
Change-Id: I22621c37217ed2db9d8b3591df1a1421c25fa7f6
2018-05-24 22:26:11 -07:00
Umherirrender
44fe3df9bf
Rename test classes to end with Test
...
Change-Id: I510e5516d56b28d26510423da840b4b496a10833
2018-03-10 14:25:38 +01:00
libraryupgrader
6d1a6ffb01
build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
...
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers
Change-Id: I07b2cf945f44fd5532812a712f7dd40d2f208be2
2018-02-15 13:57:18 +00:00
Kunal Mehta
b8ff734aa4
Use namespaced ScopedCallback
...
The non-namespaced version is deprecated since 1.28
Change-Id: Icb3fed78882913a26aad4bdb1a84cb5a3e8ca6bb
2017-08-21 14:06:34 -07:00
WMDE-Fisch
e1763ff69a
Updating mediawiki-codesniffer to 0.10.1 and fix issues
...
Change-Id: Iac61e49ab0f1318fcb7b23b4c90b6a427fe8957f
2017-07-25 17:16:47 +00:00
Kunal Mehta
31820c673a
Move tests into tests/phpunit and remove UnitTestsList hook
...
This takes advantage of extension.json's unit tests autodiscovery
mechanism.
Bug: T142120
Change-Id: Id526f3368fc73ba7e6ef1d793ea70ab05fbd9517
2017-07-07 13:50:39 -07:00