Umherirrender
ef40cf4a67
build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
...
Change-Id: I137fe0fe2d6486b6a2a90d57582d837ec22bd1e0
2024-03-11 20:42:17 +01:00
Umherirrender
433b5b3788
Remove check for return value false from pow()
...
phan under php8.1 reports this as impossible
the message is still in use and not removed.
Change-Id: I6dcb7d7f76a659ec20476530ba02a201926a00dd
2023-10-06 19:21:01 +02:00
Reedy
f647423039
Correct namespacing to match best practices
...
Bug: T303105
Change-Id: Ic09ed23c4248e74f93e5807212fe73d241251281
2022-03-05 15:06:59 +00:00
libraryupgrader
7df8411050
build: Updating composer dependencies
...
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0
Change-Id: Ifaca144ccfd753ea00d1dbba0d12941b0050e2a4
2021-05-04 08:49:27 +00:00
Umherirrender
4213826c4d
Convert define() to class const in ExprParser
...
All are only used in this class, making it private
Change-Id: I83b5be672e12c42a34aed621e1c2571beee84abb
2021-04-04 23:17:27 +02:00
Umherirrender
e36977934e
build: Swap deprecated @codingStandardsIgnore to phpcs:ignore
...
Bug: T278594
Change-Id: I5845b9a421aa6dc1bda0469e4b13b5abc2b7b12d
2021-04-03 23:29:19 +02:00
Umherirrender
5fee8a2c9b
Usage of Yoda conditions is not allowed; switch the expression order
...
Change-Id: I87fe0930cb9bc2f6af75ba8fabd4391ba4a2d7e2
2020-11-19 22:42:50 +01:00
DannyS712
6a9432647e
PHP coding conventions: reorder doxygen tags
...
See https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#Doxygen_tags
Change-Id: Id8fc6d999ace1f222cbb6cc91e70652f60cf4f8b
2020-03-26 15:49:31 +00:00
Max Semenik
1e8444fad1
Improve ExprParser test coverage
...
Had to change a bit how ExprError is used, to prevent having to turn unit
tests into ingergation tests, adding 5 seconds to run time.
Change-Id: Id4e158f3a4418d320b1c0bdac834ebbba03762af
2019-09-05 15:37:21 -07:00
Max Semenik
f53debae7d
Namespace this extension
...
Change-Id: I0c7719f17f74180a4c85f914888262f7e3b13111
2019-04-03 19:20:14 -07:00
Kunal Mehta
ab601a2ca7
Upgrade to newer phan
...
Bug: T216933
Change-Id: If8a63da99343597b7f8c131f3656945eaf67d819
2019-03-16 22:39:09 -07:00
RazeSoldier
d258457e01
Use "break" instead of "continue" inside a switch
...
"continue" statements in a switch are equivalent to "break". In PHP 7.3, will generate a warning.
Also change the indentation.
Bug: T206977
Change-Id: I8ad0ef6508e73bcca7dabfe2e88d661dd409bdfb
2018-10-15 15:45:06 +00:00
Umherirrender
37805a4fa0
Fix indent of elseif
...
Removed comments which breaks the elseif in "blocks"
and make phpcs unhappy
Change-Id: I4f05728659b4b7eff9bc2bd1bf90a5ac79244f11
2018-02-25 00:02:10 +00:00
Kunal Mehta
9f94cebdaa
Move classes to includes/
...
Change-Id: Iefaa21bf911fa7dcf11aedd38648bed945b905f9
2018-02-24 14:06:58 -08:00