Update the following dependencies:
* php-unit
* mediawiki-codesniffer
Use specific dependencies.
Fix issues highlighted by new rules in mediawiki-codesniffer
This helps Git and Vim be less confused about diffs.
It somehow sometimes happens that a newline is added to
the end of language-data.json, but sometimes it is not added,
and then Git diff shows it as removed or added. This change
ensures that it's always added.
Read the docs is used to host the documentation.
https://language-data.readthedocs.io/en/latest/
The following documentation has been moved,
* Introduction
* Using the PHP / Node.js libraries
* Adding new languages
* PHP API documentation
Updated the README.md to point to the new documentation.
Doxygen is used to pull out the PHPDoc comments into XML.
This is parsed via doxyphp2sphinx into Sphinx which is
then used by Read the docs to generate the documentation.
Read the docs has been configured to update the code documentation
under the docs/api folder automatically whenever a commit is made
so no manual work is needed.
Bug: T218639
This was happening because the location of the data directory has
been updated, but this script - `ulsdata2json.php` was not properly
updated.
Bug: T249210
Fixes: #88
Additional changes in this PR include,
* Added composer.json
* Refactored the folder structure.
* Added editorconfig.
* Added PHPCS and formatted existing code.
* Changes to use a single license - GPL-2.0-or-later
* ESLint related fixes
Bug: T218639