Reedy
1eecdac6de
Capitalise Engines folder
...
Change-Id: I6d730d67decc859fd130fee5ec92b1cfb8d9ef64
2022-09-30 00:58:27 +00:00
Reedy
073a365759
"Namespace LuaCommon" take 2
...
Revert "Revert "Namespace LuaCommon""
This reverts commit 18d122b60d
.
Change-Id: I74fd43f7920c8772e9078f745ac6062d5461a7f1
2022-09-30 00:52:27 +00:00
Lucas Werkmeister (WMDE)
18d122b60d
Revert "Namespace LuaCommon"
...
This reverts commit 62e1fb0b5f
.
Reason for revert: caused several errors:
* unnamespaced HooksTest collides with core’s class of the same name
* Scribunto_LuaError renamed without class alias despite being used in Wikibase
Bug: T314464
Change-Id: I8b151327236bf86945e59823fba155497e4b3fc6
2022-08-03 10:03:12 +00:00
Reedy
62e1fb0b5f
Namespace LuaCommon
...
Change-Id: Ib6e912e71fb797942aca4b4f22eb0ff9e005a662
2022-08-03 06:03:57 +00:00
Reedy
6f411e3921
Minor cleanup
...
Change-Id: Ic81ab852c43e98370097d01c3b6d6cddee7a5850
2022-04-16 22:09:10 +01:00
libraryupgrader
29f4c03de1
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
npm:
* postcss: 7.0.35 → 7.0.36
* https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
* https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
* https://npmjs.com/advisories/1753 (CVE-2021-33623)
Change-Id: If0310d25d0380a6d4e936e666729e6a65a90a710
2021-07-23 21:34:32 +00:00
Umherirrender
cb39fead91
Add missing @var and improve documentation
...
Change-Id: Idb7ff848ba702eac2cde31c6198a70311e3bdb69
2020-12-22 01:15:00 +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
ef8aff71ec
Use class name resolution to refer to class names
...
::class is validated by phan and avoids misspelled class names
Change-Id: I613d5df56fcee6099e4294f5c6df078aafad1210
2020-01-02 16:59:55 +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
Florian
b0103abfed
Fix type after upgrading to phpunit 7
...
See I77ea560f4a5344bd1c356ecc3e7857968ad829b8
Change-Id: Ie9c83cf44e6555a9ae1f3182fdc3cc4269329fa7
2019-11-21 17:55:05 +01:00
James D. Forrester
4a93593abf
build: Upgrade mediawiki-codesniffer to v28.0.0
...
Change-Id: Ie4cb4cbee163943cd159eb0ad1d7deaac10e68d8
2019-10-11 11:31:29 -07:00
Amir Sarabadani
248dcae392
Split LuaEngineTestBase to LuaEngineUnitTestBase and LuaEngineTestBase
...
And use the unit test base on most of the tests, except the ones that need
database. This makes tests considerably faster.
Bug: T230701
Change-Id: Ifbede1e2610c672b4d8a83ce41f74200e0c97be9
2019-08-31 10:51:26 +02: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
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
27a7eb0f58
Use namespaced PHPUnit\Framework\TestCase
...
For future compatibility with PHPUnit 6.
Bug: T188166
Change-Id: Id1e951d7e9a2092500408ab865427db45c025bde
2018-02-24 00:23:15 -08:00
Umherirrender
cfbd0a1a1b
Improve some parameter docs
...
Change-Id: Ic85f74fc8dcefe86a3620e2d12f0b2ad2386ee23
2018-01-11 21:27:53 +01: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