aboutsummaryrefslogtreecommitdiffstats
path: root/composer.json
Commit message (Collapse)AuthorAgeFilesLines
...
* Disallow composer/installers plugin in composer.jsonLucas Werkmeister2022-07-121-1/+2
| | | | | | | | | | | | | | | This package is installed by plenty of extensions, including Wikimedia-deployed ones [1]; if you use the composer merge plugin to manage dependencies, then composer will ask you if composer/installers should be allowed to run code, because the merge plugin doesn’t merge the allow-plugins information. Therefore, explicitly list and disallow the plugin in MediaWiki core, even though we don’t use the package directly. [1]: https://codesearch.wmcloud.org/deployed/?q=composer%2Finstallers&files=^composer\.json%24 Bug: T298283 Change-Id: I29f9fb27b9d38fbb1607a0dc9991548e5a0ee967
* Upgrading wikimedia/xmp-reader (0.8.2 => 0.8.3)Reedy2022-07-101-1/+1
| | | | | Change-Id: I0fec3af9a16c315d48209901c88860c1395f8642 Depends-On: Ib4fb8570a84f2621f8c1a607072f86c861cf5f62
* Upgrading wikimedia/running-stat (v1.2.1 => v2.0.0)Reedy2022-07-081-1/+1
| | | | | | Bug: T287972 Change-Id: I8573b18909ea74aec04b7ae6c5dc5cb4f3f234ac Depends-On: I353c10547d7161caaba246f169adfa91a4a6cd77
* Upgrading wikimedia/php-session-serializer (v2.0.0 => v2.0.1)Reedy2022-07-081-1/+1
| | | | | | Bug: T287972 Change-Id: I0b72c69faec8a194ced8e0da6a18b3db77daebcd Depends-On: Id83f7612ec5c7851a7f8fb1f0e55737b31c6c35b
* Upgrading wikimedia/base-convert (v2.0.1 => v2.0.2)Reedy2022-07-081-1/+1
| | | | | | Bug: T287972 Change-Id: I8458f98ec4b47369d53e8d2a42fb0cd24461b24c Depends-On: Ib90bff33eaa15714bcc6659456ab0c24cf13e71d
* Revert "objectcache: avoid using heavily time-drifted microtime() values in ↵Lucas Werkmeister2022-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | WAN cache" I think this is no longer necessary since PHP commit 65067dff01 [1], first included in PHP 7.2.21, 7.3.8, and in 7.4 since the beginning of that series. That commit fixed the discrepancy between time() and microtime() by making time() use gettimeofday() like microtime() already did (and still does). The PHP requirement in composer.json is tweaked to ensure no PHP 7.3 version without the fix is used; note that supported release branches already require >=7.3.19, and the 7.2 requirement is unchanged. This reverts commit d2c2bf6553c07ea6dd089efd1c7ba62826eea009. [1]: https://github.com/php/php-src/commit/65067dff01fc3a46861ddfe0fe6d3e556460c146 Change-Id: I8bfe0dceb809d0f63a2e9cc767ace9235d5f5246
* Upgrading wikimedia/common-passwords (v0.3.0 => v0.4.0)Reedy2022-06-301-1/+1
| | | | | | | To be backported... Change-Id: Ibe55fe9369bfff6b391a1fa47e9e75bce250f03b Depends-On: I26d3c0307929745c58e87f9da68556e3933c00f6
* Update symfony/*Reedy2022-06-281-3/+3
| | | | | Change-Id: Id169b0f0fa93756c4e44b18e31221f8a41d9426d Depends-On: I44059e311286f3d2ac244f497f1e945ab97c56f4
* Upgrading wikimedia/timestamp (v3.0.0 => v4.0.0)Reedy2022-06-281-1/+1
| | | | | Change-Id: Ic80ba1facc75bf197d68e705d32cc5530f5d7136 Depends-On: I8a94c0e2e3dd819f8d35f702a5615429e065ed1f
* Upgrading wikimedia/xmp-reader (0.8.1 => 0.8.2)Reedy2022-06-281-1/+1
| | | | | Change-Id: I5ed58ca08f06924791a7ccde1ccdfe9dce14717a Depends-On: I7a0deaafe8dfa4a5de4bab6eeef57669b5e5cbd7
* Upgrading wikimedia/remex-html (3.0.1 => 3.0.2)Reedy2022-06-271-1/+1
| | | | | | | To be backported to REL1_38, so no RELEASE-NOTES Change-Id: I1fca338ca4383daf860149d88ed83dcc13cbd45f Depends-On: Ib1931860b536e99a7efc8f072a3e2a6f4fe83e26
* Update "guzzlehttp/guzzle" to version 7.4.5rvogel2022-06-271-1/+1
| | | | | | Bug: T311384 Depends-On: If511b71eabc4c204ff72d2e9b0024c8aab180ad0 Change-Id: Ie4879a8daf92aca2c7e7340b5f2c9f7f67636384
* Declare dependency on symfony/polyfill-php73Lucas Werkmeister2022-06-171-0/+1
| | | | | | | | | | | | We use a function that’s introduced in PHP 7.3 and polyfilled in this package (array_key_first(), in rdbms), but previously didn’t declare a dependency on the package. (We declared a dependency on polyfill-php80, but that doesn’t transitively pull in polyfill-php73.) Let’s add it. (The package is already part of mediawiki/vendor, using the same version.) Change-Id: Ia76d4945087ba51354e21136f36f2614cf7d9bf8
* Revert "phpunit: Default to vendor/bin/phpunit, remove suites.xml"Lucas Werkmeister (WMDE)2022-06-091-4/+4
| | | | | | | | | | This caused unexpected problems with no obvious fixes. Needs more work. This reverts commit 7238dff532d035644b1f3adc41816e8523b35f23. Bug: T310255 Bug: T90875 Change-Id: I3758cbb6d0029b20ec1b0f67dbf2f422031c50ae
* phpunit: Default to vendor/bin/phpunit, remove suites.xmlKosta Harlan2022-06-081-4/+4
| | | | | | | | | | | | | | | | | | | * switch to phpunit.xml.dist instead of suites.xml * switch composer.json to vendor/bin/phpunit * tests/phpunit/phpunit.php is retained but will be removed after CI jobs and other references on codesearch (https://codesearch.wmcloud.org/search/?q=tests%2Fphpunit%2Fphpunit.php&i=nope&files=&excludeFiles=&repos=) are removed * add a default bootstrap.integration.php; unit tests in composer.json use the non-MW bootstrap file (bootstrap.php) * Migrate the phpunit.php logic into tests/phpunit/BootstrapIntegrationWrapper.php Depends-On: I19d560bdcdb2ee914ab055e094841f2b5db8be55 Depends-On: Ib23209fc3b095e3c012ed84ce5c11f8b2d27b898 Co-authored-by: Daimona Eaytoy <daimona.wiki@gmail.com> Bug: T227900 Bug: T90875 Change-Id: I82045c207738d152d5b0006f353637cfaa40bb66
* composer.json: Reference a single phpunit scriptKosta Harlan2022-06-071-4/+4
| | | | | | | | | | | | | | | | | Make use of `@` reference so that phpunit is invoked from a centrally defined command. Otherwise phpunit:integration defaults to `vendor/bin/phpunit` when `tests/phpunit/phpunit.php` may be desired instead. `composer phpunit:unit` does not use the composer.json defined phpunit command, as it must use `vendor/bin/phpunit` and not `tests/phpunit/phpunit.php`; the latter expects a LocalSettings.php file which is not in place at the time that `composer phpunit:unit` runs in CI. See https://getcomposer.org/doc/articles/scripts.md#referencing-scripts Change-Id: I13f947637060698226b6e5a2b593655798196de0
* Upgrading wikimedia/ip-set (3.0.0 => 3.1.0)Reedy2022-06-051-1/+1
| | | | | Change-Id: I81d84c3158b58374233f6488815af6cbfbc8a357 Depends-On: I6c5e738f6bd094b3ef75cb1e250d12856bdbaae8
* Update OOUI dependency in composer.jsonAlexander Vorwerk2022-05-171-1/+1
| | | | | | Follow-Up: I51764415d8a221b0146922c1b9041ba0d8711326 Change-Id: I3f1d96fcce37e17bba2a4132ce0bf95351c2b6ab
* Merge "Add partial support for running Parsoid selser tests"jenkins-bot2022-05-121-0/+1
|\
| * Add partial support for running Parsoid selser testsSubramanya Sastry2022-04-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * This patch only adds support for - selser manual edits tests - selser changetree [5] tests Both these types of selser tests are known statically. * This doesn't yet add support for selser auto-edit tests since they cannot be determined statically. There is some code already in place in the test runner to apply change trees, but it will all likely get refactored in a future patch. Bug: T270311 Depends-On: I3be7826e08be120043f3bcd9151bade930b65fb7 Change-Id: Ic824dae6ee49867c766d40c11acfda117c7e2689
* | resourceloader: Update wikimedia/minify to 2.3.0Timo Tijhof2022-04-251-1/+1
|/ | | | | | Bug: T303827 Depends-On: Iab346c62b101411bb2315008a8d07b75c4ea5237 Change-Id: Ie8179c9aca5ac5b0a0c4ea2dc96abb7e2a16ec95
* Update composer/*Reedy2022-04-121-2/+2
| | | | | Depends-On: I78fdb962ca8b8b88b261410d02be857f6b040c22 Change-Id: I955af0f8d47f1f88457fd267f69a107aef1ebb7d
* phpunit: Remove custom MediaWikiPHPUnitCommand and use default directlyDaimona Eaytoy2022-03-311-1/+1
| | | | | | | | | Move the relevant options to the config file instead, and add some hacky code to force that config file if none was passed. "--help" works even without the previous hack. Bug: T90875 Change-Id: I84421e3eeaad0f88be83477cb99d6524abe13b77
* phan: Upgrade mediawiki-phan-config to 0.11.1 and set minimum_target_php_versionJames D. Forrester2022-03-291-1/+1
| | | | | | | | | | | | | | | | MediaWiki still supports PHP 7.2+, but we want to mainly test in newer versions of PHP. Setting minimum_target_php_version to 7.2 this lets us run phan without phan trying to get us to make PHP 7.2-incompatible changes to 'appease' PHP 8.0 or whatever later changes. Some switches of generic 'resource' type-hinting to 'resource|object' to inform phan to ignore this (triggering PHPCS at the time, ah well), rather than trying to hint the specific novel PHP encapsulation classes to that have replaced them from PHP 8.0 onwards but don't yet exist, and fixes from where we were checking the results of implode and explode. Bug: T293924 Change-Id: I629e3fb3adfad73beb3d424a07e643c2e079d9bb
* Remove deprecated EventRelayerKafka and KafkaHandlerTimo Tijhof2022-03-251-3/+1
| | | | | | | Also remove the unmaintained kafka-php package from the from "suggested" and "dev" composer dependencies, as this is now no longer used. Change-Id: If5668974f417b627df95bce47db18d46fa03327c
* Bump wikimedia/parsoid to 0.16.0 for MW 1.39C. Scott Ananian2022-03-211-1/+1
| | | | | Depends-On: I84fe739494237a2e6de24a4864d652f3e27265f7 Change-Id: Ic403cac3bad87a64686257d06f3fb6cc558de310
* Upgrading symfony/polyfill-php80 (v1.24.0 => v1.25.0)Reedy2022-03-151-1/+1
| | | | | Change-Id: I54a8acd5cde66ab56a026d52800049d14dee3abf Depends-On: I75da5051a09662bae4cd6af02488a86fdb5c3af6
* Merge "Update OOUI to v0.43.2"jenkins-bot2022-03-151-1/+1
|\
| * Update OOUI to v0.43.2James D. Forrester2022-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.43.2/History.md Bug: T293723 Bug: T301157 Bug: T302495 Depends-On: I10583ee43b8e6874fecbf3becf303550d19743bc Change-Id: I5a35aa239b2186d729c8549229c4beac3d48f5a2
* | Update wikimedia/object-factory to 4.0.0Alexander Vorwerk2022-03-141-1/+1
|/ | | | | Depends-On: Idd105bc0937acf71935d82549783cd3bcd5f53e3 Change-Id: Ie9f434d36b7da629a6357f1fb00e908f28fa0bca
* EtcdConfig: Remove YAML from available 'encoding' optionsTimo Tijhof2022-03-111-1/+0
| | | | | | | | | | | | | | This appears impossible to use because the request is always made with `Content-Type: application/json`. * It seems unreasonable for an Etcd server to not support JSON. * It seems unreasonable for an Etcd server to respond with YAML to a JSON request. * It seems unlikely that anyone would prefer YAML over JSON for the automated encoding and decoding of fully automated inter-service communication. Change-Id: I290e03e17d547c3dc675820bb024c940e02e097a
* composer.json: Document what the suggested php extensions enableTimo Tijhof2022-03-111-17/+16
| | | | | | | Follows-up I795e785dd70f10. Bug: T302540 Change-Id: I3436bda1e3fa930b92addbb3412af5a7ac64f431
* composer.json: Add 7 more PHP extensions to suggestReedy2022-03-051-0/+7
| | | | | Bug: T302540 Change-Id: I795e785dd70f10479ef1f522f1528de08e4cdb72
* composer.json: Add DB drivers to suggestsReedy2022-02-251-1/+4
| | | | | | | Alphasort ext entries Bug: T302540 Change-Id: I1d57f24554c92863c13f7a1d017779786b89e948
* composer.json: Add ext-simplexml to require-devReedy2022-02-251-0/+1
| | | | | | | Used by ExportTest and RandomImageGenerator Bug: T302540 Change-Id: I1ebb975905687174bae753b7165c58653c715833
* composer.json: Add ext-calendar to requireReedy2022-02-251-0/+1
| | | | | | | Used by HistoryAction Bug: T302540 Change-Id: I8e77efa1192a3c5b61c36a674d991389e6aba8cb
* Update OOUI to v0.43.1James D. Forrester2022-02-101-1/+1
| | | | | | | | | | | | | | | | | Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.43.1/History.md Bug: T297979 Bug: T298200 Bug: T298211 Bug: T298904 Bug: T299061 Bug: T299370 Bug: T299473 Bug: T299660 Bug: T301256 Depends-On: Ie44922aa40885bd867fc0ee4bb366358206fbc69 Change-Id: I02e046e1b5f6da4117c50238b5a87172f625caad
* Upgrading wikimedia/request-timeout (1.1.0 => 1.2.0)Taavi Väänänen2022-02-101-1/+1
| | | | | Depends-On: I02f29397bad8334d38b6de3f7ac50187f11f98a1 Change-Id: I3deb4d9a4555019620ef9db705caa8a52f5d6d2e
* Upgrading guzzlehttp/guzzle (7.4.0 => 7.4.1)Reedy2022-02-011-1/+1
| | | | | Change-Id: Icaeb68f226bd74e5981f4be3ffc562b9380cd636 Depends-On: I3e4a7f826cb788f2c6d4b2c118f9ba66e9ac1b04
* Upgrading wikimedia/ip-utils (3.0.2 => 4.0.0)Reedy2022-02-011-1/+1
| | | | | Change-Id: Ica51e282bf6832ff10b1a41b02c15826da757891 Depends-On: I58cbe3a1bf9c611a3c72aaf07efee970de2ecf69
* Update symfony/*Reedy2022-01-311-2/+2
| | | | | | | | - Upgrading symfony/polyfill-php80 (v1.23.1 => v1.24.0) - Upgrading symfony/yaml (v5.4.0 => v5.4.3) Depends-On: I89e097b944a1ee94930c8bd8edff4f2fbf6c22d5 Change-Id: I42139c288001674f95e00eb7fa149bfc9a36cdd1
* Upgrading psy/psysh (v0.10.12 => v0.11.1)Reedy2022-01-291-1/+1
| | | | | Change-Id: Ie4febaf054f86bf44cef0e1b2cd4f0500183b77d Depends-On: I991511ca3384513aa5c300b89e9dac7cb10104e5
* Exclude node_modules from php lint scriptAdam Wight2022-01-241-1/+1
| | | | | | | | | | | | | | | Some node modules include PHP scripts, and these files shouldn't be analyzed. This could be improved further by excluding `extensions/*/{node_modules,vendor}`, but I wasn't able to find a way to represent this for php-parallel-lint without listing each directory individually. For comparison, .phpcs.xml has this line to exclude dependencies: <exclude-pattern type="relative">^(\.git|coverage|node_modules|vendor)/*</exclude-pattern> Change-Id: I285eb32f67b71eaf111c9c9cd12f8205ba97eaf3
* Update johnkary/phpunit-speedtrap to 4.0Tim Starling2022-01-241-1/+1
| | | | | | Because I want Daimona's PR #71. I reviewed the diff. Change-Id: I4ecd2a191a7fd023aa82d80a3736b56de39b41f3
* Update OOUI to v0.43.0James D. Forrester2022-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.43.0/History.md Bug: T248631 Bug: T254646 Bug: T282751 Bug: T292631 Bug: T295682 Bug: T295885 Bug: T296335 Bug: T296766 Bug: T297386 Bug: T297481 Bug: T297900 Bug: T297963 Bug: T297979 Bug: T298211 Bug: T298737 Depends-On: I7a19fba8bce65640bdb69b3a63812537e1d29af3 Depends-On: I1bb6aa75b28f263543ea069496cf34bdaa5d02e0 Depends-On: I3d00bb19467d59d1a79ed57b2abb91ea0a951094 Depends-On: Icb30c4c454da2b362a2555b8bae6efa4cc5de9db Change-Id: I5b1af082503fe22ec6049784fc43b324534c5b95
* composer.json: Temporarily allow composer/package-versions-deprecated pluginReedy2022-01-041-0/+1
| | | | | | | Should be removeable after release and integration of newer doctine/dbal release Bug: T298283 Change-Id: Ia91325bb9ac89cd1ff6831251ae291764892b143
* Update doctrine/dbal versionsReedy2022-01-041-1/+1
| | | | | | doctrine/dbal 3.1.3 suffered from CVE-2021-43608 Change-Id: Ia58cfac87271d75530cac29cc4966833fbe00480
* Merge "composer.json: Add wikimedia/composer-merge-plugin to allow-plugins"jenkins-bot2022-01-041-1/+4
|\
| * composer.json: Add wikimedia/composer-merge-plugin to allow-pluginsReedy2021-12-231-1/+4
| | | | | | | | | | Bug: T298283 Change-Id: If1ca75740394b807467ba8b139d996adc38378c0
* | Update wikimedia/cdb to 2.0.0Timo Tijhof2022-01-041-1/+1
| | | | | | | | | | | | | | | | | | Also, re-alpha-sort the lists of external libraries in the release notes file. Bug: T287972 Depends-On: Ib55a7fc8968ec7e951d4e4d160db0601aaff74ea Change-Id: If9fd7efd0f232a567204fee0b7b093f6edacd456