Commit Graph

14 Commits

Author SHA1 Message Date
Abijeet Patro
12b073a5ef PHP: Update dependencies (#319)
mediawiki/mediawiki-codesniffer v41.0.0 v42.0.0 MediaWiki CodeSniffer Standards
phpunit/phpunit                 9.6.10  9.6.13  The PHP Unit Testing framework.

Bug: https://phabricator.wikimedia.org/T347849

Co-authored-by: Niklas Laxström <niklas.laxstrom@gmail.com>
2023-10-25 15:03:17 +05:30
Abijeet
704fdab645 PHP: Update dependencies
Package operations: 0 installs, 3 updates, 0 removals
  - Downloading phpunit/phpunit (9.6.10)
  - Upgrading sebastian/diff (4.0.4 => 4.0.5): Extracting archive
  - Upgrading nikic/php-parser (v4.15.4 => v4.16.0): Extracting archive
  - Upgrading phpunit/phpunit (9.6.7 => 9.6.10): Extracting archive

Bug: https://phabricator.wikimedia.org/T340730
2023-07-17 13:04:52 +03:00
Abijeet
6fd751bac1 PHP: Update dependencies
Output of composer outdated:

Direct dependencies required in composer.json:
mediawiki/mediawiki-codesniffer v39.0.0 v41.0.0
phpunit/phpunit                 9.5.25  9.6.7

Transitive dependencies not required in compose
myclabs/deep-copy               1.11.0  1.11.1
nikic/php-parser                v4.15.3 v4.15.4
phpunit/php-code-coverage       9.2.23  9.2.26
sebastian/environment           5.1.4   5.1.5
sebastian/recursion-context     4.0.4   4.0.5
sebastian/type                  3.2.0   3.2.1
squizlabs/php_codesniffer       3.6.2   3.7.2

Manually updated phpunit and mediawiki-codesniffer.
Update phpunit.xml file as per latest format.

Bug: https://phabricator.wikimedia.org/T333823
2023-04-18 14:33:46 +03:00
Abijeet
aa4cef355c Drop support for PHP 7.2, and update dependencies
In CI add tests for PHP 8.2
2023-01-21 11:15:53 +02:00
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
Abijeet
9c77925a8c Update dependencies listed in composer 2021-10-25 10:26:08 +03:00
Abijeet Patro
ddc6ae2662 Update PHP dependencies (#168)
Lock file operations: 0 installs, 10 updates, 0 removals
  - Upgrading composer/semver (3.2.4 => 3.2.5)
  - Upgrading nikic/php-parser (v4.10.4 => v4.11.0)
  - Upgrading phar-io/version (3.0.4 => 3.1.0)
  - Upgrading phpspec/prophecy (1.12.2 => 1.13.0)
  - Upgrading phpunit/php-code-coverage (9.2.5 => 9.2.6)
  - Upgrading phpspec/prophecy (1.12.2 => 1.13.0)
  - Upgrading phpunit/php-code-coverage (9.2.5 => 9.2.6)
  - Upgrading phpunit/phpunit (9.5.1 => 9.5.6)
  - Upgrading sebastian/global-state (5.0.2 => 5.0.3)
  - Upgrading sebastian/type (2.3.1 => 2.3.4)
  - Upgrading symfony/polyfill-ctype (v1.22.0 => v1.23.0)
  - Upgrading webmozart/assert (1.9.1 => 1.10.0)
2021-07-19 20:23:29 +05:30
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
e9a6c467f3 Move spyc to composer.json 2020-05-12 16:03:31 +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