Abijeet
d8da35a6c0
Update PHP dependencies
...
```
Installing dependencies from lock file (including require-dev)
Package operations: 3 installs, 7 updates, 0 removals
- Downloading nikic/php-parser (v5.1.0)
- Downloading phpunit/phpunit (9.6.20)
- Upgrading squizlabs/php_codesniffer (3.7.2 => 3.8.1): Extracting archive
dealerdirect/phpcodesniffer-composer-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "dealerdirect/phpcodesniffer-composer-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
- Upgrading symfony/polyfill-php80 (v1.29.0 => v1.30.0): Extracting archive
- Installing phpcsstandards/phpcsutils (1.0.9): Extracting archive
- Installing phpcsstandards/phpcsextra (1.1.2): Extracting archive
- Upgrading composer/semver (3.3.2 => 3.4.0): Extracting archive
- Upgrading mediawiki/mediawiki-codesniffer (v42.0.0 => v43.0.0): Extracting archive
- Upgrading nikic/php-parser (v5.0.2 => v5.1.0): Extracting archive
- Upgrading myclabs/deep-copy (1.11.1 => 1.12.0): Extracting archive
- Upgrading phpunit/phpunit (9.6.16 => 9.6.20): Extracting archive
Generating autoload files
```
Bug: https://phabricator.wikimedia.org/T369065
2024-07-11 10:19:21 -04:00
Abijeet
17cb847b93
Update PHP dependencies
...
Ran composer show --outdated and then composer update after updating
package.json
Fix CI failures:
* assertEmpty performs loose comparisons and should not be used.
2022-07-08 16:54:40 +05:30
Abijeet
daa44ed137
Update composer dependencies
...
Update the following dependencies:
* php-unit
* mediawiki-codesniffer
Use specific dependencies.
Fix issues highlighted by new rules in mediawiki-codesniffer
2022-01-18 13:12:47 +02:00
Abijeet Patro
6348e1589b
Add phpunit configuration file
...
Use the configuration file to pass the location of the tests and
autoload class files.
Pass -sp to phpcs command
2020-05-18 15:45:15 +03:00
Abijeet
f342099b3c
Rename class from LanguageData to LanguageUtil to have better namespacing
...
Update the documentation also
2020-05-15 10:26:11 +03:00
Abijeet
09ab6024fe
Add a PHP interface to work with the language data
...
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
2020-01-31 23:00:46 +05:30