aboutsummaryrefslogtreecommitdiffstats
path: root/includes/tidy/TidyDriverBase.php
Commit message (Collapse)AuthorAgeFilesLines
* Add missing documentation to class properties (miscellaneous classes)Umherirrender2024-09-141-0/+1
| | | | | | | | | | Add doc-typehints to class properties found by the PropertyDocumentation sniff to improve the documentation. Once the sniff is enabled it avoids that new code is missing type declarations. This is focused on documentation and does not change code. Change-Id: I1da4b272a6b28c419cc8e860d142dae19ca0bbcf
* Remove deprecated code from tidy driversMatěj Suchánek2022-11-281-10/+0
| | | | Change-Id: I88f35425955ed5b189e0741268aa361582d0f1db
* Deprecate MWTidy and TidyDriverBase::supportsValidate()C. Scott Ananian2021-03-161-0/+2
| | | | | | | | | Also copied the tests that used to be in TidyTest into RemexDriverTest, so that we're not losing coverage when MWTidy is eventually removed. Bug: T198214 Change-Id: I0b301f6c98d0943ce4b6dc224f1066cb7bf244d1
* Introduce Tidy serviceC. Scott Ananian2021-03-151-1/+5
| | | | | | Refactor the old MWTidy singleton as a DI service. Change-Id: I95605ea5fd22f53a7f90fe07a6a73fa6c959597a
* Set method visibility for various constructorsUmherirrender2019-12-031-1/+1
| | | | Change-Id: Id3c88257e866923b06e878ccdeddded7f08f2c98
* Immediately drop wgValidateAllHtml and related codeJames D. Forrester2018-04-101-12/+0
| | | | | Bug: T191670 Change-Id: If13d02ee1b30fec1c701226af9d363c6e08b3737
* Improve some parameter docsUmherirrender2017-09-101-0/+1
| | | | | | Add missing @return and @param to function docs and fixed some @param Change-Id: I810727961057cfdcc274428b239af5975c57468d
* TidyDriverBase::validate throws an exceptionaddshore2017-06-301-0/+1
| | | | Change-Id: I05e31c757ed92323ff905d993ac4d030b8aba1da
* Clean up remaining get_class() usesTimo Tijhof2017-03-071-1/+1
| | | | | | | | * get_class() -> __CLASS__ (same as self::class) * get_called_class() -> static::class * get_class($this) -> static::class Change-Id: I1888a1897ecf4548a2e5a67a942e5c080dd7e3d3
* Fix undefined classesErik Bernhardson2016-06-301-1/+1
| | | | | | | Applying static analysis to mediawiki core found a short list of classes that were undefined. Fix those up. Change-Id: Ib7f9dbd847ada287b35afb799782fc04a3b39ce4
* Fix various mistakes in PHPDoc commentsThiemo Mättig2015-12-091-2/+2
| | | | Change-Id: I434207f61e0663f2d2c9a076296c2e0d04a3fafb
* Re-enable PSR2.Methods.MethodDeclaration.AbstractAfterVisibilityReedy2015-09-261-1/+1
| | | | Change-Id: I50a987edf03cb19bfd707cd00c143c3665eba94f
* Abstract and refactor Tidy supportTim Starling2015-09-101-0/+40
* Split tidy implementations into a class hierarchy * Bring all tidy configuration into a single associative array and deprecate the old configuration. * Remove $wgAlwaysUseTidy This is preparatory to replacement of Tidy (T89331). I used the name "Raggett" for things relating to Dave Raggett's Tidy, since if we use "tidy" to mean the new abstract system as well as Raggett's tidy, it gets confusing. Change-Id: I77af1a16cbbb47fc226d05fb9aad56c58e8910b5