Excluded Generic.WhiteSpace.ScopeIndent as
it impact many lines in switch/case syntax
Also disable BraceNotOnOwnLine due to T347440
Change-Id: Ia0c8072da9b7bff6a4010d3fb70cb0e576cdf98a
Expecting E_ERROR and E_USER_ERROR is deprecated and will no longer be
possible in PHPUnit 10.
Bug: T342110
Change-Id: I713460ef62f1dbdf1332916965e833e7f9074e3c
Remove the check for the special page title in the url, as
this currently works with english links only.
Bug: T355390
Change-Id: I3cb88e10533c82b97ae5c57ab4ad2716f0e62507
`$this->createMock( User::class )` will return a mock User object
with all fields defaulting to null and this will fail when the
`onGetPreferences()` hook fires in CA since that gets consumed by
`getFormDescriptor()` in PreferencesFactory.
This patch changes the mock user object to a test user object and
this is fine because it's already an integration test.
Bug: T357854
Change-Id: I3d80fc1e59ff00a1a08def41c53d82bc093b6e00
In I487bb01afa0d64c809affc4b8a466337d71a1c76 the entire state
is passed to the base of DQ arguments. However,
the second part of the state foundNamedFct is not applicable
as the open apply function is not part of the base.
Bug: T353340
Bug: T357343
Change-Id: I0556aead58f9c2f053d942e11f6b416cf5a5bc9e
Adding action=purge to the url did not bypass cache
in native mode, because the check request was performed
before the purge information was passed.
* Move purge property to the base class
* Pass purge option via the checker constructor
* Add cache checking for mathoid checker
* Adjust method signatures accordingly
Change-Id: I6f545060ae72dac8b12fb0f85662c4048059b2e9
Following the same argument as for accents,
font options should also be passed in underOver
constructs.
* Pass options
* Add test
* In I6924d712db6852f99d7896b1f11cfbd22851d757
curly learned to encapsulate its output in a
mrow. Thus, the if-clause is no longer needed.
Bug: T352609
Change-Id: I6dd3303d9b5ef9ae32ad33c91a4cc1bbdad46109
Errors were thrown for custom tests on
Special:MathStatus which was disturbing.
* Use human-readable error messages instead
* Note that the source rendering mode has no check
method.
Bug: T355389
Change-Id: Id1cacf47dd5441758b7ad8dba3434a01b655a673
The hash was changed so even more tests were failing.
* Remove exact match tests; only search for
significant features instead.
Bug: T355390
Change-Id: I65b731395ee096040a0d78c7054f768352c27fb1
Accents such as \widetilde did not pass
their font options to their child element.
* Pass options
* Add test
* In I6924d712db6852f99d7896b1f11cfbd22851d757
curly learned to encapsulate its output in a
mrow. Thus, the if-clause is no longer needed.
Bug: T352609
Change-Id: I81ecda09d017c73a4593ae36c630426229c7559f
Add mrows to things grouped in curlies.
This removes browser warnings of
too many elements for example in
the case of sub or superscripts.
Bug: T352697
Change-Id: I6924d712db6852f99d7896b1f11cfbd22851d757
instead of testing if an operator starts
with the letter \o we keep an explicit
dictonary of operators which should
be rendered using mover instead of
msub.
Bug: T352699
Change-Id: I916acf2f71d747a31a882fecfccac832436ea991