Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
10e757d6b08b27915185ed5ad12cca25932efc8b
281
2022-10-26 12:27:24+02:00
-7,200
['923ff98ea06ee9d9d886ef8de052bf4c9ce8cc26']
Add extra debug info when running GH Actions and an archive extraction fails, refs #11148
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -64,6 +64,15 @@ class FileDownloader implements DownloaderInterface, ChangeReportInterface\n * @internal\n */\n public static $downloadMet...
PHP
97f4fbc4b017139dc85755c8e7997552e21026fe
31
2022-10-26 13:40:01+02:00
-3,600
['b5b4e15876210b3bd1f1ab430a01ac99e301fb7d']
Adds test coverage to the Fund Command (#11150) Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': None, 'new_path': 'tests/Composer/Test/Command/FundCommandTest.php', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,204 @@\n+<?php declare(strict_types=1);\n+\n+/*\n+ * This file is part of Composer.\n+ *\n+ * (c) Nils Adermann <naderman@naderman.de>\n+ * Jordi Boggiano <j.boggiano@seld.be>\n+...
PHP
bb726b8a61027ff5f24e7529726645e5f650735d
281
2022-10-27 14:23:51+02:00
-7,200
['10e757d6b08b27915185ed5ad12cca25932efc8b']
Fix status command reporting differences when source reference is a tag name, fixes #11155
[{'old_path': 'src/Composer/Command/StatusCommand.php', 'new_path': 'src/Composer/Command/StatusCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -125,7 +125,7 @@ private function doExecute(InputInterface $input): int\n \n $currentVersion = $guesser->guessVersion($dumper->dump($package...
PHP
a63ce7cf96441a32ba70ef63b924c84422e91a98
281
2022-10-27 16:21:53+02:00
-7,200
['ec82a1236d79a0a080699cd529f7e6ca9383c16b']
Add message when doing composer outdated --direct and there is nothing to show, fixes #11152 (#11156)
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -614,9 +614,13 @@ protected function execute(InputInterface $input, OutputInterface $output)\n } else {\n $io->writeErro...
PHP
c65687604ee71277f1881c6b83ac0a58e94e35de
281
2022-10-27 16:51:10+02:00
-7,200
['a63ce7cf96441a32ba70ef63b924c84422e91a98']
Fix react promise usage for forward compatibility
[{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -267,7 +267,7 @@ private function downloadAndExecuteBatch(InstalledRepositoryInterface $repo, arr\n // avoid calling cleanup if ...
PHP
bc29ffa5003a1e90398521768b74ebea9f3d9937
281
2022-10-27 16:58:21+02:00
-7,200
['c65687604ee71277f1881c6b83ac0a58e94e35de']
Add network timeout issue to troubleshooting docs, fixes #11036
[{'old_path': 'doc/articles/troubleshooting.md', 'new_path': 'doc/articles/troubleshooting.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -78,6 +78,19 @@ indirectly) back on the root package itself, issues can occur in two cases:\n CI env vars.\n \n \n+## Network timeout issues, curl error\n+\n+If you see so...
PHP
0430722e66ddd461d6b1272484ef81ba81eee966
14
2022-10-28 09:11:55+02:00
-7,200
['bc29ffa5003a1e90398521768b74ebea9f3d9937']
Fix output inconsistencies when aliases are being used and '0 installs, 0 updates 0 removals' was being shown when any alias was present compared to 'Nothing to install, update or remove' when no alias is being used. (#11159)
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -751,11 +751,6 @@ protected function doInstall(InstalledRepositoryInterface $localRepo, bool $alre\n $localRepoTransaction = new LocalRepoTransaction($lockedRepository, $localR...
PHP
6e55cb36d855a585c10588e7afaa7cdf5085c119
281
2022-10-28 14:24:55+02:00
-7,200
['0430722e66ddd461d6b1272484ef81ba81eee966']
Add support for adding Command classes as scripts, (#11151) * Add support for adding Command classes as scripts, fixes #11134 * Allow all options to be forwarded and allow using references to other scripts with args * Fix build * Add more checks * Ensure exceptions are not swallowed, and remove naming res...
[{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,6 +11,10 @@ static method) or any command-line executable command. Scripts are useful\n for executing a package\'s custom code or package-specific commands during\n the Composer executio...
PHP
6bf945017e7921559a3bc8be62818a894f10f00a
281
2022-10-28 14:25:18+02:00
-7,200
['6e55cb36d855a585c10588e7afaa7cdf5085c119']
Add interactive prompt for which script/binary to run if run-script/exec is called without arg, fixes #11128 (#11157)
[{'old_path': 'src/Composer/Command/ExecCommand.php', 'new_path': 'src/Composer/Command/ExecCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -51,6 +51,26 @@ protected function configure()\n ;\n }\n \n+ protected function interact(InputInterface $input, OutputInterface $output): void\n+ ...
PHP
723f700beab99ae1a44ae7322b5cc1413339734b
4
2022-11-01 10:46:06+01:00
-3,600
['6bf945017e7921559a3bc8be62818a894f10f00a']
Update Code of Conduct to Contributor Covenant v2.1 (#11161)
[{'old_path': 'CODE_OF_CONDUCT.md', 'new_path': 'CODE_OF_CONDUCT.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,76 +1,133 @@\n+\n # Contributor Covenant Code of Conduct\n \n ## Our Pledge\n \n-In the interest of fostering an open and welcoming environment, we as\n-contributors and maintainers pledge to makin...
PHP
36bc30ffab805a6211afd3324ed4e1b9634d036a
281
2022-11-01 15:48:52+01:00
-3,600
['723f700beab99ae1a44ae7322b5cc1413339734b']
Make the require command guess versions more accurately by delegating to the solver (except with --no-update) (#11160)
[{'old_path': 'src/Composer/Command/PackageDiscoveryTrait.php', 'new_path': 'src/Composer/Command/PackageDiscoveryTrait.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -86,7 +86,7 @@ private function getMinimumStability(InputInterface $input): string\n * @return array<string>\n * @throws \\Exception\n...
PHP
45af4e3e20b8870e74ea60b72cffb3736bb0bfb9
281
2022-11-01 16:21:30+01:00
-3,600
['36bc30ffab805a6211afd3324ed4e1b9634d036a']
Do not prompt for binary/script args if they are provided, fixes #11167
[{'old_path': 'src/Composer/Command/ExecCommand.php', 'new_path': 'src/Composer/Command/ExecCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -58,6 +58,10 @@ protected function interact(InputInterface $input, OutputInterface $output): voi\n return;\n }\n \n+ if ($input->getArgum...
PHP
0fca3e55215a45e324953f8dc66b00479af098cb
14
2022-11-03 13:11:34+01:00
-3,600
['45af4e3e20b8870e74ea60b72cffb3736bb0bfb9']
Allow the 'composer remove --unused' command to run in non-interactive mode (#11166)
[{'old_path': 'src/Composer/Command/RemoveCommand.php', 'new_path': 'src/Composer/Command/RemoveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,6 +20,7 @@\n use Composer\\Plugin\\PluginEvents;\n use Composer\\Json\\JsonFile;\n use Composer\\Factory;\n+use Symfony\\Component\\Console\\Exception\\Inva...
PHP
7c1aa8e0effc46160e84c5e5d2cabc0c9a1a75be
281
2022-11-03 13:37:00+01:00
-3,600
['0fca3e55215a45e324953f8dc66b00479af098cb']
Fix regression in run-script/exec commands prompting when used with --list
[{'old_path': 'src/Composer/Command/ExecCommand.php', 'new_path': 'src/Composer/Command/ExecCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -58,7 +58,7 @@ protected function interact(InputInterface $input, OutputInterface $output): voi\n return;\n }\n \n- if ($input->getArgume...
PHP
7dfe4a38c86233eeb8420e701c715270dbe99d8b
251
2022-11-03 21:50:22+01:00
-3,600
['7c1aa8e0effc46160e84c5e5d2cabc0c9a1a75be']
Use binary-only images for installing Composer (#11170) Document optimal way of copying Composer binary using `COPY --from` in Dockerfiles by using binary-only image.
[{'old_path': 'doc/00-intro.md', 'new_path': 'doc/00-intro.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -173,17 +173,21 @@ docker pull composer/composer\n docker run --rm -it -v "$(pwd):/app" composer/composer install\n ```\n \n-To add Composer to an existing **Dockerfile**:\n+To add Composer to an existing *...
PHP
5b28754602d832f3487d92c5021f879007aece9e
281
2022-11-10 16:32:18+01:00
-3,600
['6c85b875f27185b0e36c35aac98af634be25bdc0']
Avoid normalizing to absolute paths if base dir is /toplevel to improve docker portability, fixes #11165, fixes #4404 (#11169)
[{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -440,7 +440,8 @@ public function findShortestPath(string $from, string $to, bool $directories = f\n $commonPath = strtr(\\dirname($commonPath), \'\\\\\', \'/\')...
PHP
b44e39cc8c52a53138cba9cdd5a5c207e019de07
25
2022-11-13 15:27:23+01:00
-3,600
['5b28754602d832f3487d92c5021f879007aece9e']
Update 05-repositories.md (#11180) * Update 05-repositories.md consistency with previous example * Update 05-repositories.md
[{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -388,15 +388,15 @@ GitHub and Bitbucket:\n \n ```json\n {\n- "require": {\n- "vendor/my-private-repo": "dev-master"\n- },\n "repositories": [\n {\n "type":...
PHP
5f1ec99e4aea9c57cbb9993c83e91b8706a7a309
247
2022-11-16 13:42:58+01:00
-3,600
['b44e39cc8c52a53138cba9cdd5a5c207e019de07']
Update how-to-install-untrusted-packages-safely.md (#11187)
[{'old_path': 'doc/faqs/how-to-install-untrusted-packages-safely.md', 'new_path': 'doc/faqs/how-to-install-untrusted-packages-safely.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,7 +9,7 @@ there is no sign that the user is consciously doing this. There are two ways thi\n can be given:\n \n - If you run inte...
PHP
bd6a5019b3bf5edf13640522796f54accaad789e
281
2022-11-17 11:34:54+01:00
-3,600
['5f1ec99e4aea9c57cbb9993c83e91b8706a7a309']
Update to composer/pcre 2.1 (#11189)
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,7 +38,7 @@\n "symfony/finder": "^5.4 || ^6.0",\n "symfony/process": "^5.4 || ^6.0",\n "react/promise": "^2.8",\n- "composer/pcre": "^2 || ^3",\n+ "composer/pcre": "^2.1...
PHP
0cf57255d4b8ebcf915fea9151d062498acb22c2
212
2022-11-24 13:59:33+01:00
-3,600
['bd6a5019b3bf5edf13640522796f54accaad789e']
Make possible return type in `IOInterface::select()` more explicit (#11171) `IOInterface::select()` either returns any of `int`, `string`, `bool` or an array of `string` values. However, since the returned array is always a list, we can safely change the return type annotation to `list<string>`, making it more expl...
[{'old_path': 'src/Composer/IO/IOInterface.php', 'new_path': 'src/Composer/IO/IOInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -191,7 +191,7 @@ public function askAndHideAnswer(string $question);\n * @param bool $multiselect Select more than one value separated by comma\n *\n *...
PHP
8ff237afb61b8766efa576b8ae1cc8560c8aed96
278
2022-11-24 14:39:08+01:00
-28,800
['0cf57255d4b8ebcf915fea9151d062498acb22c2']
[Tests] Use static data providers (#11197)
[{'old_path': 'tests/Composer/Test/Advisory/AuditorTest.php', 'new_path': 'tests/Composer/Test/Advisory/AuditorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,7 +25,7 @@\n \n class AuditorTest extends TestCase\n {\n- public function auditProvider()\n+ public static function auditProvider()\n ...
PHP
caebfe14ee0c507a8bc676943547de95c13d3b31
118
2022-12-12 17:25:20+01:00
-3,600
['8ff237afb61b8766efa576b8ae1cc8560c8aed96']
Fix: Add test case for not dropping patch version
[{'old_path': 'tests/Composer/Test/Package/Version/VersionBumperTest.php', 'new_path': 'tests/Composer/Test/Package/Version/VersionBumperTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -46,6 +46,8 @@ public static function provideBumpRequirementTests(): Generator\n yield 'upgrade caret' => ['^1.0',...
PHP
b1f3f8b8fac3e6444b992762971c4287f97d2b46
14
2022-12-16 14:31:28+01:00
-3,600
['8ff237afb61b8766efa576b8ae1cc8560c8aed96']
Prompt users in interactive mode for where to store the credentials if a local auth config file exists (#11188)
[{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -102,6 +102,8 @@ class Config\n private $configSource;\n /** @var ConfigSourceInterface */\n private $authConfigSource;\n+ /** @var ConfigSourceInterface|null */\n+ private...
PHP
6d1b36be3b9923e267de455de1e0d07adf54a7bc
14
2022-12-16 16:48:24+01:00
-3,600
['b1f3f8b8fac3e6444b992762971c4287f97d2b46']
Check missing-from-lock-file required packages when running install and fail when there are any (#11195)
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1020,21 +1020,11 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Command/UpdateCommand.php\n \n-\t\t-\n-\t\t\tmessage: "#^Only booleans are allowed in a negated boolean, array\\\\...
PHP
a94a7512d6bfd955df4cd64e8fee15229bdf91a6
334
2022-12-17 22:03:19+01:00
-3,600
['6d1b36be3b9923e267de455de1e0d07adf54a7bc']
Conditional return type for `IOInterface::select()` (#11219)
[{'old_path': 'src/Composer/IO/IOInterface.php', 'new_path': 'src/Composer/IO/IOInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -191,7 +191,9 @@ public function askAndHideAnswer(string $question);\n * @param bool $multiselect Select more than one value separated by comma\n *\n *...
PHP
7f9638f65a404e4ad3b69eda320575649377f758
281
2022-12-17 22:50:19+01:00
-3,600
['caebfe14ee0c507a8bc676943547de95c13d3b31']
Fix implementation to fix tests, fixes #11220
[{'old_path': 'src/Composer/Package/Version/VersionBumper.php', 'new_path': 'src/Composer/Package/Version/VersionBumper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -34,6 +34,7 @@ class VersionBumper\n * For example:\n * * ^1.0 + 1.2.1 -> ^1.2.1\n * * ^1.2 + 1.2.0 -> ^1...
PHP
ef7ba73a6ab0dc048e31cd93a1c894216c25b3a1
281
2022-12-17 23:02:52+01:00
-3,600
['7f9638f65a404e4ad3b69eda320575649377f758']
Add support for bumping >=x to >=latest, fixes #11179
[{'old_path': 'src/Composer/Package/Version/VersionBumper.php', 'new_path': 'src/Composer/Package/Version/VersionBumper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -71,7 +71,8 @@ public function bumpRequirement(ConstraintInterface $constraint, PackageInterfac\n }\n \n $major = Preg::replace(...
PHP
2aa33aaafa931c84af3cee39e04be68b5c260702
408
2022-12-17 23:12:38+01:00
-3,600
['957e7a9165aa12d06b52be4e3b66d371f67dac44']
Update PHPStan (#11222) Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -46,7 +46,7 @@\n },\n "require-dev": {\n "symfony/phpunit-bridge": "^6.0",\n- "phpstan/phpstan": "^1.4.1",\n+ "phpstan/phpstan": "^1.9.3",\n "phpstan/phpstan-phpunit": "^1....
PHP
8969f8062aab838716bb60ec52f6c8776c4daeb2
281
2022-12-17 23:14:48+01:00
-3,600
['2aa33aaafa931c84af3cee39e04be68b5c260702']
Update baseline (1739, 93)
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -390,11 +390,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Command/DiagnoseCommand.php\n \n-\t\t-\n-\t\t\tmessage: "#^Parameter \\\\#1 \\\\$haystack of function strpos expects ...
PHP
3534499c6b74ed7388c5f179f399783f20a9243e
281
2022-12-17 23:15:40+01:00
-3,600
['8969f8062aab838716bb60ec52f6c8776c4daeb2']
Add test covering edge case of composer repo format, closes #11206
[{'old_path': 'tests/Composer/Test/Repository/ComposerRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/ComposerRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -89,6 +89,19 @@ public static function loadDataProvider(): array\n ],\n ]],\n ...
PHP
685ec29573529dc31763e449eadfc0160d92e7a7
281
2022-12-17 23:50:47+01:00
-3,600
['3534499c6b74ed7388c5f179f399783f20a9243e']
Increase disk size warning to 100MB minimum, closes #11190
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -441,12 +441,12 @@ private function hintCommonErrors(\\Throwable $exception, OutputInterface $output\n if (null !== $composer && function_exists('disk_f...
PHP
5e6ccae116de28497004408823b13b8a64e157ed
281
2022-12-18 00:02:43+01:00
-3,600
['685ec29573529dc31763e449eadfc0160d92e7a7']
Improve version selection in archive command, fixes #4794 (#11230)
[{'old_path': 'phpstan/baseline-8.1.neon', 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,6 +10,11 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Autoload/ClassLoader.php\n \n+\t\t-\n+\t\t\tmessage: "#^Casting to string something that\'s already string\\\\....
PHP
be053cb18e57a3b53f2e1b33b3bfc63b13c5fb5f
281
2022-12-18 00:03:48+01:00
-3,600
['5e6ccae116de28497004408823b13b8a64e157ed']
Allow underscores in cache keys to avoid conflicts with package names containing underscore vs dashes, fixes #11224 (#11229)
[{'old_path': 'src/Composer/Cache.php', 'new_path': 'src/Composer/Cache.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -47,7 +47,7 @@ class Cache\n * @param Filesystem $filesystem optional filesystem instance\n * @param bool $readOnly whether the cache is in readOnly mode\n */\n- pu...
PHP
da611e089af18275f3a56fc7100aa714f0ac94f9
293
2022-12-21 09:32:50+01:00
-3,600
['737fd0fca8f17b974f22235f31b3abf1bbb8c03e']
Docs: fix documention deep links (#11233) * Docs: Fixed the deep links to the documentation website. Search scope: `src/Composer/Command`. * Docs: Fixed the deep links to the documentation website.
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1567,7 +1567,7 @@\n ### [1.0.0-alpha6] - 2012-10-23\n \n * Schema: Added ability to pass additional options to repositories (i.e. ssh keys/client certificates to secure private repos)\n- * Schema: Added a new...
PHP
7290f5b43722573c5bc0ce6f2bee978c9718daff
14
2022-12-21 10:16:02+01:00
-3,600
['da611e089af18275f3a56fc7100aa714f0ac94f9']
Document recovering from invalid merges on composer.lock and composer.json (#11154)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -311,6 +311,8 @@ After removing the requirements, the modified requirements will be\n uninstalled.\n \n ### Options\n+\n+* **--unused** Remove unused packages that are not a direct or indirect dependency (anymo...
PHP
cbb7c91223ada405ad1d8a5b74888ea3fe71deaa
281
2022-12-22 15:17:04+01:00
-3,600
['7290f5b43722573c5bc0ce6f2bee978c9718daff']
Fix ClassLoader to be serializable (#11237) * Fix ClassLoader to be serializable * Fix CI to use the source bin/composer as process for "composer" runs incl within simple-phpunit * Store the closure statically to avoid serialization issues in a cleaner way
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -103,6 +103,21 @@ jobs:\n - name: "Run install again using composer binary from source"\n run: "bin/composer install ${{ env.COMPOSER_...
PHP
cf8ce82aa17a512007e5bf7da2ba937437fa6089
281
2022-12-22 15:28:49+01:00
-3,600
['cbb7c91223ada405ad1d8a5b74888ea3fe71deaa']
Fix preg match type error in svn version guessing, fixes #11231
[{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -397,8 +397,8 @@ private function guessSvnVersion(array $packageConfig, string $path): ?array\n \n $urlPattern = '#<url>.*/(' . $t...
PHP
d047f38f73629f876226f61331db6b889f4dcafe
281
2022-12-22 21:01:38+01:00
-3,600
['2e71896168437db3299d2294c6cf5ee5edbd2700']
Make sure autoloader closures do not have a scope class set
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1021,13 +1021,13 @@ public static function getLoader()\n if ($useIncludeFiles) {\n $file .= <<<INCLUDE_FILES\n \\$filesTo...
PHP
b2304d0b124a1e30671468e2b57607826908a5a5
195
2023-01-03 18:57:00+11:00
-39,600
['f07614f1c948a7b961b2da3b91506716a8ba8124']
Exclude PHPStan extensions from PHPUnit coverage
[{'old_path': 'phpunit.xml.dist', 'new_path': 'phpunit.xml.dist', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -36,6 +36,7 @@\n </include>\n <exclude>\n <file>./src/Composer/Autoload/ClassLoader.php</file>\n+ <directory>./src/Composer/PHPStan/</directory>\n </exclude>...
PHP
29ae7b632a3dea9f6972fa54f180d0c4ca27bb84
195
2023-01-06 12:38:40+11:00
-39,600
['b2304d0b124a1e30671468e2b57607826908a5a5']
Add "missing lockfile" test for the Audit command
[{'old_path': 'tests/Composer/Test/Command/AuditCommandTest.php', 'new_path': 'tests/Composer/Test/Command/AuditCommandTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,6 +13,7 @@\n namespace Composer\\Test\\Command;\n \n use Composer\\Test\\TestCase;\n+use UnexpectedValueException;\n \n class AuditComma...
PHP
756087374033134b8c645d52a296a1f1689803b8
195
2023-01-06 12:38:47+11:00
-39,600
['29ae7b632a3dea9f6972fa54f180d0c4ca27bb84']
Added tests for the Remove command
[{'old_path': 'src/Composer/Command/RemoveCommand.php', 'new_path': 'src/Composer/Command/RemoveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -85,7 +85,7 @@ protected function configure()\n protected function execute(InputInterface $input, OutputInterface $output)\n {\n if ($input->get...
PHP
ca9fb64691099e69e7d8e3a50b264aae2776e3e3
195
2023-01-06 12:38:47+11:00
-39,600
['756087374033134b8c645d52a296a1f1689803b8']
Added tests for the Suggests command
[{'old_path': None, 'new_path': 'tests/Composer/Test/Command/SuggestsCommandTest.php', 'type': <ModificationType.ADD: 1>, 'diff': "@@ -0,0 +1,489 @@\n+<?php declare(strict_types=1);\n+\n+/*\n+ * This file is part of Composer.\n+ *\n+ * (c) Nils Adermann <naderman@naderman.de>\n+ * Jordi Boggiano <j.boggiano@seld.be...
PHP
2431b122305f684d844a9e02b4593b406acffdcf
31
2023-01-13 09:34:03+01:00
0
['f21cc3ab250ff5a20bc2ce5537fc7e8401c3b17d']
Test home command (#11254) Co-authored-by: alex.theobold <alex.theobold@sykescottages.co.uk>
[{'old_path': None, 'new_path': 'tests/Composer/Test/Command/HomeCommandTest.php', 'type': <ModificationType.ADD: 1>, 'diff': "@@ -0,0 +1,120 @@\n+<?php declare(strict_types=1);\n+\n+/*\n+ * This file is part of Composer.\n+ *\n+ * (c) Nils Adermann <naderman@naderman.de>\n+ * Jordi Boggiano <j.boggiano@seld.be>\n+...
PHP
c7f32820d766fd81e73864ab6e969f5dd038820a
184
2023-01-13 22:20:03+01:00
28,800
['70b18634805afe2e72efd02e1faa1710c93cac41']
Allow v2 metadata target to provide security advisories without releases. (#11257)
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1017,7 +1017,7 @@ private function loadAsyncPackages(array $packageNames, ?array $acceptableStabil\n $promises[] = $this->startCach...
PHP
0d96fd8149a5277293da8ebeac5df5ad6fa641fb
281
2023-01-19 21:42:09+01:00
-3,600
['c7f32820d766fd81e73864ab6e969f5dd038820a']
Warn when require ends up auto-selecting a feature branch, fixes #11264 (#11270)
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -338,7 +338,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n try {\n $result = $this->doUpdate($input, $o...
PHP
f6f972a69909d159326f3b6d81c645bca317bfeb
281
2023-01-19 21:42:22+01:00
-3,600
['0d96fd8149a5277293da8ebeac5df5ad6fa641fb']
Fix require regression with --fixed, fixes #11247
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -338,7 +338,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n try {\n $result = $this->doUpdate($input, $o...
PHP
5165792f9c9fc6eb2a650fb274d5c848f1008e76
281
2023-01-27 11:09:34+01:00
-3,600
['f6f972a69909d159326f3b6d81c645bca317bfeb']
Fix security advisory parsing when filter repo is used, fixes #11281
[{'old_path': 'src/Composer/Repository/FilterRepository.php', 'new_path': 'src/Composer/Repository/FilterRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,7 +21,7 @@\n *\n * @author Jordi Boggiano <j.boggiano@seld.be>\n */\n-class FilterRepository implements RepositoryInterface\n+class FilterRep...
PHP
0a2846cb246ca8bf1430ee1f1f15be6924066e9a
281
2023-01-27 16:26:04+01:00
-3,600
['5165792f9c9fc6eb2a650fb274d5c848f1008e76']
Fix autoloading on PHP 5.6 (#11285) * Add a CI check to ensure the autoloader can run on php5.6+ * Fix autoloading on PHP 5.6
[{'old_path': None, 'new_path': '.github/workflows/autoloader.yml', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,40 @@\n+name: "Autoloader"\n+\n+on:\n+ push:\n+ paths-ignore:\n+ - \'doc/**\'\n+ pull_request:\n+ paths-ignore:\n+ - \'doc/**\'\n+\n+permissions:\n+ contents: read\n+\n+jobs:\n+ ...
PHP
ad7bc1802810b3236997e36d39600fc271b9f20f
281
2023-01-27 16:54:45+01:00
-3,600
['0a2846cb246ca8bf1430ee1f1f15be6924066e9a']
Fix self.version requirements failing the lock file integrity check if on a different version, fixes #11274 (#11283)
[{'old_path': 'src/Composer/Package/Locker.php', 'new_path': 'src/Composer/Package/Locker.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -518,6 +518,9 @@ public function getMissingRequirementInfo(RootPackageInterface $package, bool $i\n if (PlatformRepository::isPlatformPackage($link->getTarget...
PHP
50cded331ced9acb4e926be3dda1f74b86af2a3b
197
2023-01-27 17:16:33+01:00
-3,600
['ad7bc1802810b3236997e36d39600fc271b9f20f']
Default exclude patterns for the "archive" command (#11239) * Issue #11235 - Adds default exclude patterns for the "archive" command based on the target file name
[{'old_path': 'src/Composer/Package/Archiver/ArchiveManager.php', 'new_path': 'src/Composer/Package/Archiver/ArchiveManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -71,36 +71,63 @@ public function setOverwriteFiles(bool $overwriteFiles): self\n }\n \n /**\n- * Generate a distinct filename fo...
PHP
2f2d6c9de7962e56f89fa2a86e6e5fe1312cf467
281
2023-02-03 22:48:18+01:00
-3,600
['50cded331ced9acb4e926be3dda1f74b86af2a3b']
Fix package sorting logic, fixes #11287
[{'old_path': 'src/Composer/Util/PackageSorter.php', 'new_path': 'src/Composer/Util/PackageSorter.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -28,21 +28,22 @@ class PackageSorter\n */\n public static function getMostCurrentVersion(array $packages): ?PackageInterface\n {\n- return array_r...
PHP
2484602f8dae4bd9bb7ecf77b16c36f08f966b4e
281
2023-02-04 14:57:31+01:00
-3,600
['e6ef9eb332f6ddc73f6a3be182b60ff5e56a975b']
Update target version to 2.6
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,7 +65,7 @@\n },\n "extra": {\n "branch-alias": {\n- "dev-main": "2.5-dev"\n+ "dev-main": "2.6-dev"\n },\n "phpstan": {\n "includes": [\n'}, ...
PHP
4b94e55b0360e395d1a1c5dffc936d73497c48ba
398
2023-02-10 13:19:41+01:00
-3,600
['e6ef9eb332f6ddc73f6a3be182b60ff5e56a975b']
Add extra.plugin-optional to auto-disable plugins in non-interactive mode (#11315)
[{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -332,6 +332,20 @@ in your composer.json to hint to Composer that the plugin should be activated as\n as possible to prevent any bad side-effects from Composer assuming packages are installed...
PHP
933ca81d6bc14db8ce81d7b5fb2c008577f22115
334
2023-02-10 13:45:54+01:00
-3,600
['a9b79ba470af7bc536e969b3f35d0dbae5010428']
Removed unused private `Solver::enableDisableLearnedRules` method (#11311)
[{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -565,35 +565,6 @@ private function analyzeUnsolvable(Rule $conflictRule): int\n return 0;\n }\n \n- /**\n- * enable/disable learnt ru...
PHP
d8221bd443662e44352c4fd79207f4873aefedb5
334
2023-02-10 14:00:33+01:00
-3,600
['933ca81d6bc14db8ce81d7b5fb2c008577f22115']
PHPStan: Fixed handling of union types in ConfigReturnTypeExtension (#11312) Co-authored-by: Markus Staab <m.staab@complex-it.de>
[{'old_path': 'src/Composer/PHPStan/ConfigReturnTypeExtension.php', 'new_path': 'src/Composer/PHPStan/ConfigReturnTypeExtension.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -30,6 +30,7 @@\n use PHPStan\\Type\\StringType;\n use PHPStan\\Type\\Type;\n use PHPStan\\Type\\TypeCombinator;\n+use PHPStan\\Type\\Typ...
PHP
0dd58115835624a2be8293c372e777294a4bb2da
281
2023-02-10 14:19:02+01:00
-3,600
['c92485a3fba0adac63c872aac56e88f87d13c0ab']
Ensure we have a bool for plugin-optional
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -187,7 +187,7 @@ public function registerPackage(PackageInterface $package, bool $failOnMissingCl\n }\n }\n \n- if (!$this->isPluginAll...
PHP
b7810314130bce6ffdaf5c9f26e50224a18d2b4e
377
2023-02-10 21:12:30+01:00
-3,600
['0dd58115835624a2be8293c372e777294a4bb2da']
Added optional plugin check in PluginInstaller (#11318)
[{'old_path': 'src/Composer/Installer/PluginInstaller.php', 'new_path': 'src/Composer/Installer/PluginInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -50,7 +50,7 @@ public function prepare($type, PackageInterface $package, ?PackageInterface $pre\n {\n // fail install process early if it is...
PHP
1ff942bb44dbfe72f55113cbc9feb444be9b52e6
281
2023-02-24 17:41:47+01:00
-3,600
['b0a110f164ec08063900be127f363c295a1af3c9']
Fix type errors in key updating logic
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -369,6 +369,7 @@ protected function fetchKeys(IOInterface $io, Config $config): void\n $io->write(\'Open <info>https://composer.github.io/pubkey...
PHP
b5aad9ec0d8881be1314ea356dbc05ae4492ec87
281
2023-02-24 17:41:59+01:00
-3,600
['1ff942bb44dbfe72f55113cbc9feb444be9b52e6']
Fix type error when upgrading composer
[{'old_path': 'src/Composer/Repository/FilesystemRepository.php', 'new_path': 'src/Composer/Repository/FilesystemRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -163,11 +163,15 @@ public function write(bool $devMode, InstallationManager $installationManager)\n \n $this->filesystem->filePu...
PHP
1f164244ab54ba5d74af73507750661f9dcb36c9
434
2023-02-27 13:34:21+01:00
-3,600
['fe741e0ffe2e0a09e79622c502e16856c01d71fb']
Add note about issue with caret operator in PowerShell (#11351) Refers to #11288
[{'old_path': 'doc/articles/versions.md', 'new_path': 'doc/articles/versions.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -194,6 +194,11 @@ library code.\n \n Example: `^1.2.3`\n \n+> **Note:** If you are using PowerShell on Windows, you have to escape\n+> carets when using them as argument on the CLI for exa...
PHP
efc105eac143d961bef5f6bea3c6190187266749
340
2023-02-27 16:02:50+01:00
-3,600
['b5aad9ec0d8881be1314ea356dbc05ae4492ec87']
Add proxy value to bin-compat validator (#11353) Fix #11352
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -413,7 +413,7 @@ static function ($val) {\n ],\n 'bin-compat' => [\n static function ($val): bool {\n- ...
PHP
de3698f53588cff7a803137f4fc5b36f54574487
258
2023-03-10 14:13:56+01:00
-3,600
['1f164244ab54ba5d74af73507750661f9dcb36c9']
Clarify possible credential storage locations (#11358)
[{'old_path': 'doc/articles/authentication-for-private-packages.md', 'new_path': 'doc/articles/authentication-for-private-packages.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,8 +28,8 @@ for credentials and save them (or a token if Composer is able to retrieve one).\n Sometimes automatic authentication is...
PHP
d1ab1255b53d08575429c3a72c9e2549ebd559e7
529
2023-03-10 22:27:20+01:00
-21,600
['acc18697428da06d1ede759b761a767e0106aaf4']
Add rm alias to composer remove command (#11367) * rm alias * review
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -298,7 +298,7 @@ If you do not specify a package, Composer will prompt you to search for a packag\n * **--apcu-autoloader-prefix:** Use a custom prefix for the APCu autoloader cache.\n Implicitly enables `--a...
PHP
cd137ee29b2b7dd041d13567b113577c8b89c2c1
151
2023-03-10 22:28:10+01:00
21,600
['d1ab1255b53d08575429c3a72c9e2549ebd559e7']
Add security to support options (#11271) This support option allows projects to specify a URL to the project's vulnerability disclosure policy (VDP).
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -98,6 +98,7 @@\n },\n "support": {\n "issues": "https://github.com/composer/composer/issues",\n- "irc": "ircs://irc.libera.chat:6697/composer"\n+ "irc": "ircs://irc.libera.chat:669...
PHP
0ba7e0dcbd92b8225177c1ad796c4a9a70560cb5
278
2023-03-15 22:11:23+01:00
-28,800
['cd137ee29b2b7dd041d13567b113577c8b89c2c1']
Exit with non-zero code if post-install audit fails (#11362)
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -79,6 +79,7 @@ class Installer\n public const ERROR_LOCK_FILE_INVALID = 4;\n // used/declared in SolverProblemsException, carried over here for completeness\n public const ...
PHP
b8f82b244c930753794366dbf70f803cf5d699cc
281
2023-03-15 22:53:29+01:00
-3,600
['efc105eac143d961bef5f6bea3c6190187266749']
Escape % chars in user input before passing to sprintf, fixes #11359
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -115,6 +115,7 @@ public static function formatDeduplicatedRules(array $rules, string $indent, Rep\n foreach ($rules as $rule) {\n ...
PHP
32366bc37d6ffd0cf691ce348caecc50db7ff075
508
2023-03-17 09:13:11+01:00
-3,600
['b8f82b244c930753794366dbf70f803cf5d699cc']
Fix basic auth infinite loop (#11320)
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -407,7 +407,7 @@ public function tick(): void\n \n $result = $this->isAuthenticatedRetryNeeded($job, $response);\n if ($re...
PHP
3b16937bae74e70537dbd64850b3e70d7593a3e3
130
2023-03-17 10:23:02+01:00
-10,800
['1a3f98601f724b4ff6eb7e195ce9e8f075992ebb']
Pick higher revision number to guarantee successful file retrieval (#11350)
[{'old_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'new_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -236,19 +236,24 @@ public function getTags(): array\n if ($this->tagsPath !== false) {\n $output = $this->execute('svn ls --ve...
PHP
5d2d513f973fab7c9cbb7e011791c01c93f8a983
524
2023-03-17 13:55:30+01:00
-3,600
['32366bc37d6ffd0cf691ce348caecc50db7ff075']
Follow-up for #5205: fix high concurrency race condition Composer would fail with an ``` PHP temp directory (/tmp) does not exist or is not writable to Composer. Set sys_temp_dir in your php.ini ``` error when used in parallel. Because it is checking if a file with `md5(microtime())` can be created, which is not s...
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -339,7 +339,7 @@ function_exists('php_uname') ? php_uname('s') . ' / ' . php_uname('r') : 'Unknow\n \n // Check system temp folder for usability as it c...
PHP
c23beac9c508b701bb481d1c5269e7a2a79e0b60
191
2023-03-17 14:12:52+01:00
-3,600
['3b16937bae74e70537dbd64850b3e70d7593a3e3']
Fix markdown: Move headline out of quote (#11363) This was caused by > Add note about issue with caret operator in PowerShell (#11351) Related: #11288, #11351
[{'old_path': 'doc/articles/versions.md', 'new_path': 'doc/articles/versions.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -199,6 +199,7 @@ Example: `^1.2.3`\n > `composer require` command. You have to use four\n > subsequent caret operators, e.g. `^^^^1.2.3`, to ensure the caret operator gets\n > passed to Co...
PHP
f41abfca34fb597ec83503ca84b34861c56ecaf6
209
2023-03-20 16:08:12+01:00
-7,200
['c23beac9c508b701bb481d1c5269e7a2a79e0b60']
Add platform check for 64-bit PHP (#11334)
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -720,6 +720,7 @@ protected function getPathCode(Filesystem $filesystem, string $basePath, string\n protected function getPlatformCheck(array $pack...
PHP
685a2e6be2537ed2f5008b877ce12bb5049c6507
242
2023-03-20 20:18:19+01:00
0
['5d2d513f973fab7c9cbb7e011791c01c93f8a983']
Composer support string (#11386) * GitHubDriver: fix support is set to string * GitLabDriver: fix support is set to string * BitbucketDriver: fix support is set to string * Fix PHPStan
[{'old_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -153,6 +153,9 @@ public function getComposerInformation(string $identifier): ?array\n \n if ($composer !== null) {\n ...
PHP
d3adecf58370cd5961db968c2b49f5f102b0d8de
281
2023-03-20 21:42:28+01:00
-3,600
['685a2e6be2537ed2f5008b877ce12bb5049c6507']
Fix github header handling to be case insensitive, fixes rate limit extraction (#11366)
[{'old_path': 'src/Composer/Util/GitHub.php', 'new_path': 'src/Composer/Util/GitHub.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -161,15 +161,15 @@ public function getRateLimit(array $headers): array\n \n foreach ($headers as $header) {\n $header = trim($header);\n- if (false =...
PHP
62f12abcb17e973163f7f4ceda5e76fffaa121e0
281
2023-03-21 09:55:28+01:00
-3,600
['d3adecf58370cd5961db968c2b49f5f102b0d8de']
Fix return type of InstalledVersions::getInstalled, fixes #11304
[{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -328,7 +328,9 @@ private static function getInstalled()\n if (isset(self::$installedByVendor[$vendorDir])) {\n $installed[] = self::...
PHP
5c3d8f35dbd0d35049dc00b8c6c178e442e93a65
281
2023-03-21 10:36:42+01:00
-3,600
['62f12abcb17e973163f7f4ceda5e76fffaa121e0']
Update deps, fix phpstan issues, update baseline (1711, 49)
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -941,16 +941,16 @@\n },\n {\n "name": "symfony/console",\n- "version": "v5.4.19",\n+ "version": "v5.4.21",\n "source": {\n "type": "...
PHP
91b7b0ff3bfa85b784a0aa173a66254421644c1a
281
2023-03-21 11:07:57+01:00
-3,600
['5c3d8f35dbd0d35049dc00b8c6c178e442e93a65']
Fixed querying of default config values, and fix source display for them, and fix bools to show as bools, fixes #11302
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -274,8 +274,21 @@ protected function execute(InputInterface $input, OutputInterface $output): int\n // show the value if no value is provided\n ...
PHP
8b0a185d5da328d16b1f46006f0c1523ce0dc539
281
2023-03-21 11:17:55+01:00
-3,600
['91b7b0ff3bfa85b784a0aa173a66254421644c1a']
Fixed display of empty objects showing [] instead of {} in config command, fixes #11302
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -324,6 +324,16 @@ protected function execute(InputInterface $input, OutputInterface $output): int\n $value = $data;\n } elseif (isse...
PHP
f323d0513bdc9be558861872fbeff6e06ae6599c
201
2023-03-21 11:19:53+01:00
-3,600
['3988fe2c9cf50090bc6dbe0afb31f396ff7de5e9']
Use trailing slash for directories as best practice (#11387)
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -75,12 +75,12 @@\n },\n "autoload": {\n "psr-4": {\n- "Composer\\\\": "src/Composer"\n+ "Composer\\\\": "src/Composer/"\n }\n },\n "autoload-dev": {\n ...
PHP
e0c1ad14480e217e10462f1575af9398d31f8d0d
207
2023-04-25 13:59:36+02:00
-7,200
['4e1774518002b0be4365fe62ce220b2011c2b4bf']
PlatformRepository library support for libpq (from ext-pq) and librdkafka (from ext-rdkafka) (#11418) * libpq library version info for ext-pq * librdkafka library version info for ext-rdkafka Computes from RD_KAFKA_VERSION, faster than output buffering
[{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -450,6 +450,32 @@ protected function initialize(): void\n }\n break;\n \n+ case 'pq':\n+ ...
PHP
11879ea737978fabb8127616e703e571ff71b184
242
2023-04-26 15:26:45+02:00
-3,600
['e0c1ad14480e217e10462f1575af9398d31f8d0d']
ArrayLoader: handle invalid support value (#11440)
[{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -282,7 +282,7 @@ private function configureObject(PackageInterface $package, array $config): Base\n $package->setAuthors($config['auth...
PHP
010bad5428b40ca69b0d8db025eacc48f6391609
202
2023-05-02 22:07:57+02:00
0
['11879ea737978fabb8127616e703e571ff71b184']
fix: If a replacer is updated to a version that no longer replaces, the replaced package is not loaded
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -639,6 +639,8 @@ private function unlockPackage(Request $request, array $repositories, string $na\n // make sure that any ...
PHP
995b806dfe41734456d018cbc61e8a0bbe609434
534
2023-05-02 22:10:18+02:00
-7,200
['010bad5428b40ca69b0d8db025eacc48f6391609']
Optimize PoolBuilder to not load replaced targets if not required
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -94,6 +94,11 @@ class PoolBuilder\n * @phpstan-var array<int, array<string, array<string, PackageInterface>>>\n */\n private $lo...
PHP
9555ae13a61ece1eddb2f646c96caf5e504ada84
329
2023-05-02 22:44:29+02:00
-43,200
['11879ea737978fabb8127616e703e571ff71b184']
Clarifies COMPOSER_NO_DEV documentation. (#11447) COMPOSER_NO_DEV applies to composer require as well.
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1276,8 +1276,9 @@ If set to `1`, it is the equivalent of passing the `--no-audit` option to `requi\n \n ### COMPOSER_NO_DEV\n \n-If set to `1`, it is the equivalent of passing the `--no-dev` option to `install...
PHP
595559f68d8c01715a2be33a54247898f9fbc34e
388
2023-05-02 23:59:36+02:00
-7,200
['2928b879d1bd14b82036784ba4c87f40a5320840']
Remove optional package loading to simplify pool builder (#11450) Instead we just directly check if any currently loaded package requires the package to be loaded optionally.
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -94,11 +94,6 @@ class PoolBuilder\n * @phpstan-var array<int, array<string, array<string, PackageInterface>>>\n */\n private $lo...
PHP
2d2d22d0ecfa9148f15ce13969fd614417d26ab1
281
2023-05-05 14:15:27+02:00
-7,200
['766628a8d48a704db1e5c9587cc3e8068a997d4d']
Fix lock file being more recent than vendor dir when require guesses the constraint after resolution, fixes #11405
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -551,10 +551,15 @@ private function updateRequirementsAfterResolution(array $requirementsToUpdate,\n if (false === $contents) {\n ...
PHP
e28a5675b7081b22223072e8afa0a2be36c90fe4
281
2023-05-05 22:24:59+02:00
-7,200
['2d2d22d0ecfa9148f15ce13969fd614417d26ab1']
Fixed binary proxies to return whatever the original binary returns as well, fixes #11416 (#11454)
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -337,8 +337,7 @@ public function url_stat(\\$path, \\$flags)\n (function_exists(\'stream_get_wrappers\') && in_array(\'phpvfscomposer\', stream_...
PHP
3bb191a464b14adebc3269924b771e387fb5958e
281
2023-05-07 13:53:32+02:00
-7,200
['cbb7319963afe6c116be567a170339f2b6232773']
Add support for env vars and ~ (for HOME) in repo paths for vcs and artifact repositories, fixes #11409 (#11453)
[{'old_path': 'src/Composer/Repository/ArtifactRepository.php', 'new_path': 'src/Composer/Repository/ArtifactRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -17,6 +17,7 @@\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\Loader\\ArrayLoader;\n use Composer\\Package\\Loader\\LoaderInterf...
PHP
bf5ae27b9364f16655621c8e00ec271b80cd1c48
281
2023-05-07 14:39:25+02:00
-7,200
['e28a5675b7081b22223072e8afa0a2be36c90fe4']
Fix support for readonly classes as plugins, fixes #11404
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -264,7 +264,7 @@ public function registerPackage(PackageInterface $package, bool $failOnMissingCl\n if ($separatorPos) {\n $cl...
PHP
2b58f2c625eeb2b4535b3f29878498dedbc4459e
281
2023-05-07 14:48:34+02:00
-7,200
['bf5ae27b9364f16655621c8e00ec271b80cd1c48']
Fix getmypid being required as it is not always available, fixes #11401
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -339,7 +339,8 @@ function_exists('php_uname') ? php_uname('s') . ' / ' . php_uname('r') : 'Unknow\n \n // Check system temp folder for usability as it c...
PHP
a79eef2949af08dba34daf6e30335eba89380426
281
2023-05-07 14:53:17+02:00
-7,200
['2b58f2c625eeb2b4535b3f29878498dedbc4459e']
Fix class renaming in plugin manager
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -264,7 +264,7 @@ public function registerPackage(PackageInterface $package, bool $failOnMissingCl\n if ($separatorPos) {\n $cl...
PHP
57a48df34ec618a500a81e721bf1ebc342efcb16
387
2023-05-07 15:12:04+02:00
0
['3bb191a464b14adebc3269924b771e387fb5958e']
Support advisories from multiple repositories for the same package (#11436)
[{'old_path': 'src/Composer/Repository/RepositorySet.php', 'new_path': 'src/Composer/Repository/RepositorySet.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -257,19 +257,17 @@ public function getMatchingSecurityAdvisories(array $packages, bool $allowPartia\n */\n private function getSecurityAdvisories...
PHP
3a48e393756e8b0387925aa327f45a30128b4556
281
2023-05-14 13:46:46+02:00
-7,200
['a79eef2949af08dba34daf6e30335eba89380426']
Return null for install path for metapackages instead of an empty path which then resolves to the root package's path (#11455) Fixes #11389
[{'old_path': 'doc/articles/custom-installers.md', 'new_path': 'doc/articles/custom-installers.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -157,9 +157,8 @@ source for the exact signature):\n invoked with the update argument.\n * **uninstall()**, here you can determine the actions that need to be executed\n...
PHP
fb2c17d69669f6b8ab0c208b91b8c4a727d3b7d3
31
2023-05-14 14:15:44+02:00
-3,600
['54808d9bde3d234a9b0f11d785a4356a2c1b21f8']
Test install command (#11277) * Adds test class boilerplate * test: Tests warning returned with dev flag * test: warning returned with no-suggest flag * test: packages passed is invalid * test: no-install flag passed --------- Co-authored-by: alex.theobold <alex.theobold@sykescottages.co.uk>
[{'old_path': None, 'new_path': 'tests/Composer/Test/Command/InstallCommandTest.php', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,182 @@\n+<?php declare(strict_types=1);\n+\n+/*\n+ * This file is part of Composer.\n+ *\n+ * (c) Nils Adermann <naderman@naderman.de>\n+ * Jordi Boggiano <j.boggiano@seld.be>...
PHP
0d68dabb5f602a43816ace923516068abb2cc667
281
2023-05-15 21:54:40+02:00
-7,200
['fb2c17d69669f6b8ab0c208b91b8c4a727d3b7d3']
Add more tests for install command, refs #11277
[{'old_path': 'tests/Composer/Test/Command/InstallCommandTest.php', 'new_path': 'tests/Composer/Test/Command/InstallCommandTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,15 +18,14 @@\n class InstallCommandTest extends TestCase\n {\n /**\n- * @dataProvider useCaseProvider\n+ * @dataProvider...
PHP
6111ff5cda367d345bf2cf99b8ca95b56fc7459e
84
2023-05-18 23:11:15+02:00
14,400
['0d68dabb5f602a43816ace923516068abb2cc667']
Update 05-repositories.md (#11459) The verb phrase is 'internally' is an adverb describing the sort of seeing that Composer is doing. IE: Composer internally sees. The sentence _is_ much clearer when the adverb is moved earlier in the sentence, but this mutation necessitates a comma separating the adverb from the noun...
[{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,7 +16,7 @@ code, but in theory it could be anything. And it contains a package\n description which has a name and a version. The name and the version are used\n to identify the package.\n ...
PHP
e51d755a082afaa955690f0b9d512a53f3c08998
281
2023-05-23 16:25:08+02:00
-7,200
['7397a78035c6d0261af03a244af824049c120ed7']
Fix numeric default-branches with v prefix (e.g. v2.x-dev) being treated as non-numeric and receiving an alias like e.g. dev-main
[{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -455,7 +455,7 @@ public function getBranchAlias(array $config): ?string\n if (\n isset($config['default-branch'])\n &&...
PHP
9885d23e2a0aeee3079063059ab71e73fa7f5962
306
2023-05-23 21:11:23+02:00
-7,200
['e51d755a082afaa955690f0b9d512a53f3c08998']
Ensure stripos() receives a string If file_get_contents() returns false, stripos() will throw a TypeError. Casting to string prevents this from happening. Closes #11470
[{'old_path': 'src/Composer/Util/Platform.php', 'new_path': 'src/Composer/Util/Platform.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -148,7 +148,7 @@ public static function isWindowsSubsystemForLinux(): bool\n if (\n !ini_get('open_basedir')\n && is_readable('/proc...
PHP
5d064dc885f278196af155e2c6616be1341a01dc
281
2023-05-23 21:13:57+02:00
-7,200
['24361ae6542dde13fd26d2599c904bf1c8bd318c']
Allow Symfony7 package installs (#11474)
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,10 +33,10 @@\n "psr/log": "^1.0 || ^2.0 || ^3.0",\n "seld/jsonlint": "^1.4",\n "seld/phar-utils": "^1.2",\n- "symfony/console": "^5.4.11 || ^6.0.11",\n- "symfony/filesy...
PHP
9d965b9c65fa761f948abe141c7f78b2df71af1d
477
2023-05-23 23:14:11+02:00
-7,200
['9885d23e2a0aeee3079063059ab71e73fa7f5962']
Fix authentication issues with private bitbucket repos (#11464)
[{'old_path': 'src/Composer/Util/AuthHelper.php', 'new_path': 'src/Composer/Util/AuthHelper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -28,6 +28,8 @@ class AuthHelper\n protected $config;\n /** @var array<string, string> Map of origins to message displayed */\n private $displayedOriginAuthentic...
PHP
23654389da876116242590b20eac909c5f174c9b
281
2023-05-23 23:15:07+02:00
-7,200
['9d965b9c65fa761f948abe141c7f78b2df71af1d']
Fix lock file verification to take into account root provider/replacers and output mismatches there more clearly, fixes #11458 (#11475)
[{'old_path': 'src/Composer/Package/Locker.php', 'new_path': 'src/Composer/Package/Locker.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,6 +18,7 @@\n use Composer\\Repository\\InstalledRepository;\n use Composer\\Repository\\LockArrayRepository;\n use Composer\\Repository\\PlatformRepository;\n+use Compose...
PHP