Commit Graph

13 Commits

Author SHA1 Message Date
Abijeet Patro
83516007c7 Update PHP dependencies (#256)
Ran composer show --outdated and then composer update after updating
composer.json
2022-10-27 21:28:06 +05:30
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 Patro
348a1534bd Update PHP dependencies (#219)
Ran composer show --outdated and then composer update

composer/semver             3.2.7   3.3.2
doctrine/instantiator       1.4.0   1.4.1
myclabs/deep-copy           1.10.2  1.11.0
phar-io/version             3.1.0   3.2.1
phpdocumentor/type-resolver 1.6.0   1.6.1
phpunit/php-code-coverage   9.2.10  9.2.15
phpunit/phpunit             9.5.11  9.5.20
sebastian/environment       5.1.3   5.1.4
sebastian/global-state      5.0.3   5.0.5
sebastian/type              2.3.4   3.0.0
squizlabs/php_codesniffer   3.6.1   3.6.2
symfony/polyfill-ctype      v1.24.0 v1.25.0

Co-authored-by: Niklas Laxström <niklas.laxstrom@gmail.com>
2022-04-21 11:16:23 +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
Niklas Laxström
07efae50c5 Update PHP development dependencies (#139) 2021-01-28 14:35:10 +05:30
Abijeet
90acf1ca7e Update mediawiki-codesniffer to 31.0.0
Bug: T266462
2020-10-26 17:15:38 +02:00
Abijeet
a19900efef Unify package.json and composer.json, update version before release 2020-05-20 16:54:32 +03:00
Abijeet
936c0e8ee2 Add Abijeet as a contributor in package.json and composer.json 2020-05-19 11:08:50 +03: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
e9a6c467f3 Move spyc to composer.json 2020-05-12 16:03:31 +03:00
Abijeet
a182ddb215 Add users with more than 5 commits to credits / authors
Also update authors to be alphabetically ordered.
2020-02-24 16:35:43 +02:00
Abijeet
7c970cb247 Replace Travis with Github actions
Two workflows have been added,

  * PHP build - Runs tests on version 7.2, 7.3, also runs phpcs
  * Node.js build - Runs tests on version 8.x, 10.x, 12.x, also
    runs ESLint

Bug: T218639
2020-01-31 23:06:26 +05:30
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