aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/diff/DifferenceEngineTest.php
diff options
context:
space:
mode:
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>2019-02-26 14:02:50 +0100
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>2019-02-26 14:02:50 +0100
commit18741b93060ec6d60da860da2e48894dd42002cd (patch)
treed9f52261dd4e1ad9ded0c62e6a35798b0b428b8c /tests/phpunit/includes/diff/DifferenceEngineTest.php
parentf8efd21621ad59ed373102f6a332f3f31bdeab6f (diff)
downloadmediawikicore-18741b93060ec6d60da860da2e48894dd42002cd.tar.gz
mediawikicore-18741b93060ec6d60da860da2e48894dd42002cd.zip
Improve documentation of constants throughout the codebase
The most notable improvements I was able to fit into this patch can be seen in the User class, as well as in AbstractRestriction. Our documentation generator ignores the @const tag. It's not needed. Just have a comment above a constant and it will show up in the generated documentation. Using @var is misleading because a constant is not a "variable". The type of a constant is strictly derived from it's value. Documenting the type typically does not provide useful information. Doxygen does not understand the type, but ignores any @… tag and renders everything else as plain text. I can split this patch if you prefer. Please tell me. Change-Id: I8019ae45c049822cdc1768d895ea3e3216c6db5f
Diffstat (limited to 'tests/phpunit/includes/diff/DifferenceEngineTest.php')
0 files changed, 0 insertions, 0 deletions