Reedy
5ca204aa0d
Replace usages of Wikimedia\(suppress|restore)Warnings()
...
Change-Id: I6bf98327dafe3d2a7009cd0897f6418ca84690dd
2022-02-24 21:16:46 +00:00
C. Scott Ananian
6633e446d9
Passing a string to ParserOutput::addModules()/addModuleStyles() is deprecated
...
In addition, several variables which contained instances of ParserOutput
were renamed to $parserOutput to help future humans and code-searchers
to distinguish these from instances of OutputPage.
Bug: T296123
Change-Id: Ic532bca4348b17882716fcb2ca8656a04766c095
2022-01-12 11:31:31 -05:00
Umherirrender
cb39fead91
Add missing @var and improve documentation
...
Change-Id: Idb7ff848ba702eac2cde31c6198a70311e3bdb69
2020-12-22 01:15:00 +00:00
C. Scott Ananian
7ec0ebfb2a
Format Scribunto Lua Preview Limit Report memory numbers in bytes
...
Makes it consistent with other entries
Bug: T263592
Change-Id: Icc303455feab27966480854ea1c055ceab864ee0
2020-11-05 13:43:27 -05:00
Reedy
b53689abde
Fix double formatting of memory units
...
Bug: T263592
Change-Id: If8a71419d656530859552abaddeed66d5a9ddc4b
2020-10-23 19:46:57 +00:00
Brad Jorsch
3a19bb8b0c
Document a lot of methods
...
Clear up a bunch of phpcs ignores by documenting many methods.
Also remove Scribunto_LuaError::setLineMap(), which has apparently never
been used since it was added in Ia51f439e.
Change-Id: I763bcdbc7edbbb8e4600495a03acca3439fc0ec9
2020-01-17 23:03:03 +00:00
Umherirrender
9c6f6f905a
Split all classes in own files
...
Move autoload entries for test to TestAutoloadClasses key
Change-Id: Ie705db0e7225600b7b498cfa134733a65f1ae1c9
2019-12-21 10:20:18 +01:00
Umherirrender
e70a548fbc
build: Updating mediawiki/mediawiki-phan-config to 0.8.0
...
Bug: T235049
Change-Id: Ia8cb36d60d56eb899e96eacf7640d8da50c4adfe
2019-11-26 09:30:36 +00:00
Max Semenik
764847164a
Replace trigger_error('') magic with error_clear_last()
...
Bug: T191247
Change-Id: I8bedd9c6df4648941c957d92fa8b0c8464f1d796
2019-10-28 14:08:55 +00:00
Kunal Mehta
8328acb9b1
Upgrade to newer phan
...
Bug: T216940
Change-Id: If8c2027f6bb7b91504fb51a3d2668b6d929b5da1
2019-03-20 21:19:37 -07:00
Kunal Mehta
c3d93b61e2
Use PHP 7 variadic params for LuaInterpreter::callFunction()
...
Change-Id: I3b32e73dcee6a92d91f29915a76dd4e83c080ada
2019-03-20 21:17:45 -07:00
Kunal Mehta
f308135df3
Use PHP 7's ?? syntax
...
Change-Id: I768782b8acbc1776e29886d330358553675e272b
2019-03-20 21:16:08 -07:00
Marius Hoch
8dbde85b69
Parser profiling data: Nicer float format
...
No need to display three decimal points for the
given cpu limit all the time.
Will change outputs like:
"1.728/10.000 seconds"
to
"1.728/10 seconds"
Change-Id: Ib1f5b435825232eaf9fde7ff0d953c137c06ac32
2018-12-10 15:39:56 +00:00
Marius Hoch
ab15dfe4ff
Make sure interface functions with the same name don't clash
...
Test case (greatly simplified) by Anomie.
Bug: T211203
Change-Id: Id05c226b80343b1c333ae622d7390a96ff88ea99
2018-12-06 08:15:43 +01:00
Umherirrender
55bd9d22bb
Add method scope visibility
...
Change-Id: I2efe0f71266d70e9a41e044406d82ef7daa31296
2018-11-19 21:18:12 +00:00
libraryupgrader
8b489ca160
build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
...
And updating CoC link to use Special:MyLanguage (T202047).
Change-Id: I091003f69b82c7cacc4cda320a38b1b07f3cdb6b
2018-09-03 21:33:35 +00:00
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
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
Kunal Mehta
d245edbb94
Add phan configuration
...
Manually import LuaSandbox's git repository as a composer dependency to
provide the PHP stubs for phan.
Change-Id: I6226b9211f31d829da5a2775c6f5cf3599dd8ebc
2018-05-14 18:41:59 -07:00
Reedy
73f21a1155
Update at-ease calls
...
Bug: T187037
Change-Id: I9b681cf900a3aaf1be3e688d12e3e83f44bff91b
2018-04-18 14:31:04 +00:00
Kunal Mehta
1fad4da137
Move classes into includes/
...
Change-Id: Ida2c9cac348fe31ecf8d8c0a352e899bcbff1ebf
2018-04-09 08:54:22 -07:00