Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
860a67b7767ea3eb79d2df10a7545bb75e4ee518 | 281 | 2020-10-25 22:25:59+01:00 | -3,600 | ['4b8c2aa121392e982fae1c27398ceb2e0f25a1a8'] | Update --lock docs, fixes #9315 | [{'old_path': 'src/Composer/Command/UpdateCommand.php', 'new_path': 'src/Composer/Command/UpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -48,7 +48,7 @@ protected function configure()\n new InputOption('dry-run', null, InputOption::VALUE_NONE, 'Outputs the operations but will not e... | PHP |
8627f1cce66eff179793db7650dd5b61bd27f385 | 388 | 2020-10-25 22:32:44+01:00 | -3,600 | ['860a67b7767ea3eb79d2df10a7545bb75e4ee518'] | Clear up plugin doc for modifying downloads | [{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -320,8 +320,8 @@ and it does not get a chance to update the URLs on time.\n \n Specifying `{"extra": {"plugin-modifies-downloads": true}}` in your composer.json will\n hint to Composer that ... | PHP |
b72dc7bb7852c40ff8c5feff9f3aab84aa76f313 | 388 | 2020-10-25 22:42:50+01:00 | -3,600 | ['8627f1cce66eff179793db7650dd5b61bd27f385'] | Clarify --lock option on update further
Specifically state packages do not get updated to new versions, only metadata is updated. | [{'old_path': 'src/Composer/Command/UpdateCommand.php', 'new_path': 'src/Composer/Command/UpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -48,7 +48,7 @@ protected function configure()\n new InputOption('dry-run', null, InputOption::VALUE_NONE, 'Outputs the operations but will not e... | PHP |
cbcc3a3080a40a237e9922045c6603d8d546693b | 388 | 2020-10-26 11:42:41+01:00 | -3,600 | ['d5245387f391ec700c2202c43be87b010b2f0e09'] | Remove trailing commas for function calls | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -743,7 +743,7 @@ private function findBestVersionAndNameForPackage(InputInterface $input, $name,\n throw new \\InvalidArgumentException(sprintf(\n ... | PHP |
54a537e9b3ecca7c435c25d700e4b948c3342604 | 254 | 2020-10-26 11:56:40+01:00 | -3,600 | ['05ddae59e23ce91269ee0c2a8acfba5839c758c9'] | Docs: Fix sentence after reformulation | [{'old_path': 'doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md', 'new_path': 'doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,6 @@ For example instead of using `>=3.4` you should use `~3.4` which allows all\n versions up to `3.999` but ... | PHP |
8ee3e106d8fd03febff83f84041c5965f3cb85f9 | 482 | 2020-10-26 12:16:11+01:00 | -3,600 | ['54a537e9b3ecca7c435c25d700e4b948c3342604'] | Fix the current plugin api version in the doc | [{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -39,7 +39,7 @@ requirements:\n The required version of the `composer-plugin-api` follows the same [rules][7]\n as a normal package\'s.\n \n-The current Composer plugin API version is 1.1.0.\... | PHP |
adf27d61e9afdab764e0755a8c9c02393fc0c7de | 339 | 2020-10-26 13:03:24+01:00 | -3,600 | ['3772696ad6b8507d4bfc390a821826f5c41a9ba0'] | Document availability of self-update command
The self-update command is only available when running as a PHAR (see
commit 761ad6d171); notably, it is not defined in the Ubuntu package. | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -607,6 +607,9 @@ you may have to run the command with `root` privileges\n sudo -H composer self-update\n ```\n \n+If Composer was not installed as a PHAR, this command is not available.\n+(This is sometimes the... | PHP |
289972a177108aaf0be7dbb000e8b47c54cdac7c | 388 | 2020-10-26 13:29:23+01:00 | -3,600 | ['3772696ad6b8507d4bfc390a821826f5c41a9ba0'] | Remove useless null check, follow up to #9345 | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -751,7 +751,7 @@ private function findBestVersionAndNameForPackage(InputInterface $input, $name,\n throw new \\InvalidArgumentException(sprintf(\n ... | PHP |
5d4bcde4547d44901f89bf05091ba3cf4fa364c2 | 281 | 2020-10-26 14:47:52+01:00 | -3,600 | ['191e8fab9e784c90be43796444de3f100abc8786'] | Allow using --locked with the outdated command directly, fixes #8025 | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -445,6 +445,7 @@ The color coding is as such:\n * **--minor-only (-m):** Only shows packages that have minor SemVer-compatible updates.\n * **--format (-f):** Lets you pick between text (default) or json output... | PHP |
d699e6b36ceedb9c7cf943c294ccaf09f282f9f2 | 281 | 2020-10-27 09:36:59+01:00 | -3,600 | ['5d4bcde4547d44901f89bf05091ba3cf4fa364c2'] | Make sure global plugins are described as such in loading output, fixes composer/package-versions-deprecated#15 | [{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -82,10 +82,10 @@ public function loadInstalledPlugins()\n $repo = $this->composer->getRepositoryManager()->getLocalRepository();\n $globalRepo = $... | PHP |
881ec8c75163852d293699079247c499abfcbd76 | 281 | 2020-10-27 13:50:03+01:00 | -3,600 | ['d699e6b36ceedb9c7cf943c294ccaf09f282f9f2'] | Use httpdownloader/curl to process install notifications | [{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -550,14 +550,10 @@ public function setOutputProgress($outputProgress)\n \n public function notifyInstalls(IOInterface $io)\n {\n- ... | PHP |
44dc3c27aacb9fcd8869b5295ebcea47bc05951c | 281 | 2020-10-27 16:18:55+01:00 | -3,600 | ['568d9206cccbb65588a4920eb5176774bfcf924f'] | Try and sign phars on releases, refs #5155 | [{'old_path': '.github/workflows/release.yml', 'new_path': '.github/workflows/release.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -57,6 +57,27 @@ jobs:\n asset_name: composer.phar\n asset_content_type: application/octet-stream\n \n+ - name: Configure GPG key and sign phar\n+ ... | PHP |
b5c0e68bc73083164e0877302eaf45cf79c26521 | 388 | 2020-10-27 16:52:31+01:00 | -3,600 | ['568d9206cccbb65588a4920eb5176774bfcf924f'] | PoolBuilder: test case ensuring versions matching locked constraints get loaded | [{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-unfixing-locked-deps.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,47 @@\n+--TEST--\n+Unlocking a package also unlocks its dependencies when transitive deps are true. But version constraints from ... | PHP |
7bc2112f2b5ebb4526fd7c69b509a0c4ac267793 | 388 | 2020-10-27 17:02:31+01:00 | -3,600 | ['b5c0e68bc73083164e0877302eaf45cf79c26521'] | InstallerTest: Add a test for partial updates
Needs to take constraints of locked packages into account | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/partial-update-keeps-older-dep-if-still-required.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,65 @@\n+--TEST--\n+Ensure that a partial update of a dependency does not conflict if the only way to proceed is using an old locked versi... | PHP |
7dc67fbbad6c6f65d7054c6df816843cacfa16f0 | 388 | 2020-10-27 17:11:24+01:00 | -3,600 | ['7bc2112f2b5ebb4526fd7c69b509a0c4ac267793'] | Problem: Update fallback error message for requires without matches | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -271,7 +271,7 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n return array("- Root composer.json... | PHP |
ff74d0e6868d1192f20ec9a9f1302b8514ff301b | 281 | 2020-10-27 20:50:26+01:00 | -3,600 | ['44dc3c27aacb9fcd8869b5295ebcea47bc05951c'] | Fix lock file generation with dev-master aliases to be compatible with Composer 1, fixes #9337 | [{'old_path': 'src/Composer/Package/Locker.php', 'new_path': 'src/Composer/Package/Locker.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -19,6 +19,7 @@\n use Composer\\Util\\ProcessExecutor;\n use Composer\\Package\\Dumper\\ArrayDumper;\n use Composer\\Package\\Loader\\ArrayLoader;\n+use Composer\\Package\\Ver... | PHP |
90a6aa7ec0937c068b8d8ae5dd3900685dbb8990 | 281 | 2020-10-27 21:04:00+01:00 | -3,600 | ['86072a705bc10a7bf16b1b2bffb6f5e3fe057e7c'] | Make sure we compare packages to their latest without aliases, fixes #9357 | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1227,7 +1227,12 @@ private function findLatestPackage(PackageInterface $package, Composer $composer\n $targetVersion = '^' . $package->getVersion();\n ... | PHP |
ea42d13f37335dbc017a6b751a79eee532a897db | 388 | 2020-10-27 21:59:12+01:00 | -3,600 | ['7dc67fbbad6c6f65d7054c6df816843cacfa16f0'] | PoolBuilderTest: check locked constraints are considered on partial update | [{'old_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-unfixing-locked-deps.test', 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-unfixing-locked-deps.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,7 +11,7 @@ locked packages still... | PHP |
7ddd1c64af0c5f1a8daf69131e15a71a6352a176 | 388 | 2020-10-27 22:10:15+01:00 | -3,600 | ['ea42d13f37335dbc017a6b751a79eee532a897db'] | PoolBuilder: On unlock ensure consider all locked requirements for unlocked package | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -469,15 +469,6 @@ private function warnAboutNonMatchingUpdateAllowList(Request $request)\n */\n private function unlockPackage(Reques... | PHP |
63bed408187de4dbe8004e418d83ffcfac9404ca | 388 | 2020-10-27 22:18:05+01:00 | -3,600 | ['7ddd1c64af0c5f1a8daf69131e15a71a6352a176'] | PoolBuilderTest: Add a dependency which must not be loaded on unlock | [{'old_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-unfixing-locked-deps.test', 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-unfixing-locked-deps.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,6 +32,7 @@ locked packages still... | PHP |
2d91fbc65a3aa12f718b19d6a686aced8918c94f | 388 | 2020-10-28 14:07:04+01:00 | -3,600 | ['63bed408187de4dbe8004e418d83ffcfac9404ca'] | PoolBuilder: never mark skipped packages for loading
Reorder code in loadPackage to avoid duplicate calls | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -371,28 +371,24 @@ private function loadPackage(Request $request, PackageInterface $package, $propa\n $require = $link->getTarget(... | PHP |
095d133d6bd874340ff77f4718a33ee94fead525 | 303 | 2020-10-29 10:28:51+00:00 | 0 | ['ec5f02018643ccd8a1d7f8ae41f3c6d8e01dab78'] | Remove fulluri checks and tidy diagnose output | [{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -105,10 +105,6 @@ protected function execute(InputInterface $input, OutputInterface $output)\n if (!empty($opts[\'http\'][\'proxy\'])) {\n ... | PHP |
e6c7ab693ef73913515d7f4badeb20c7cb09b364 | 440 | 2020-10-29 21:16:11+00:00 | 0 | ['51685580c7b81b860b6c0b6929385fecbcda5d8d'] | Fix running tests with non standard default branch
When the global git config has init.defaultbranch set to
something other than master the tests fail. This is because
the tests assume that the default branch is called master
but that may not be the case.
This fixes the tests by ensuring that when running git init
we... | [{'old_path': 'tests/Composer/Test/Package/Archiver/ArchiveManagerTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ArchiveManagerTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -115,7 +115,7 @@ protected function setupGitRepo()\n chdir($this->testDir);\n \n $output = null;\n- ... | PHP |
472f78bff1db203bd1ff89bfcc8514ae89b8b0f6 | 281 | 2020-10-29 22:39:26+01:00 | -3,600 | ['51685580c7b81b860b6c0b6929385fecbcda5d8d'] | Auto-disable misbehaving curl downloader on php 5, refs #9002 | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -80,7 +80,27 @@ public function get($url, $options = array())\n list($job) = $this->addJob(array('url' => $url, 'options' => $options, 'copyTo' => false), t... | PHP |
d97c37f103421a808fec42b00107b7df1643f4ef | 479 | 2020-10-29 22:30:12+00:00 | 0 | ['472f78bff1db203bd1ff89bfcc8514ae89b8b0f6'] | Zip: ignore mac osx specific folder when searching for composer.json | [{'old_path': 'src/Composer/Util/Zip.php', 'new_path': 'src/Composer/Util/Zip.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -82,6 +82,11 @@ private static function locateFile(\\ZipArchive $zip, $filename)\n $name = $zip->getNameIndex($i);\n $dirname = dirname($name);\n \n+ /... | PHP |
34bdc6cbf2ade8b58aefee1428af0141c56f8af2 | 281 | 2020-10-30 09:56:58+01:00 | -3,600 | ['472f78bff1db203bd1ff89bfcc8514ae89b8b0f6'] | Detect and hint for solutions for common curl errors, fixes #9376 | [{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -224,6 +224,12 @@ private function checkHttp($proto, Config $config)\n try {\n $this->httpDownloader->get($proto . '://repo.packagist.or... | PHP |
ffc0f86fc04001d9900625b68e626a1a0a3aa7a1 | 281 | 2020-10-30 14:16:40+01:00 | -3,600 | ['41daf69c874cb22c2ee96ddde48c2f555e474710'] | Fix warnings in composer require to show when repo prio is at fault, refs #9371 | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -746,8 +746,30 @@ private function findBestVersionAndNameForPackage(InputInterface $input, $name,\n $requiredVersion ? \' at version \'.$require... | PHP |
f2f3b03fecdc115a0970f71587b889f434afd643 | 281 | 2020-10-30 14:16:40+01:00 | -3,600 | ['ffc0f86fc04001d9900625b68e626a1a0a3aa7a1'] | Fix config/create-project handling of repositories to prepend them by default as this is most likely the goal, fixes #9371 | [{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -75,6 +75,7 @@ protected function configure()\n new InputOption('absolute', null, InputOption::VALUE_NONE, 'Returns absolute paths when fetching... | PHP |
3f8f549352d402dc34d1c17163e80ae24deefdf9 | 281 | 2020-10-30 14:22:57+01:00 | -3,600 | ['f2f3b03fecdc115a0970f71587b889f434afd643'] | Add new flag to ConfigSourceInterface as most likely there are no implementors anyway | [{'old_path': 'src/Composer/Config/ConfigSourceInterface.php', 'new_path': 'src/Composer/Config/ConfigSourceInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,7 +26,7 @@ interface ConfigSourceInterface\n * @param string $name Name\n * @param array|false $config Configuration\n *... | PHP |
4faaf79b5855cefc97b28ab8fd6a594b04027af0 | 447 | 2020-10-30 17:03:21+03:00 | -10,800 | ['da904101818e214514afc76dbeb23d387559ce19'] | CurlDownloader enable support for SSL-client certificates | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -63,6 +63,9 @@ class CurlDownloader\n 'capath' => CURLOPT_CAPATH,\n 'verify_peer' => CURLOPT_SSL_VERIFYPEER,\n 'verify... | PHP |
e0e4d60166d437e5e618f0ef2173479e1f4b6e86 | 281 | 2020-10-30 15:05:29+01:00 | -3,600 | ['da904101818e214514afc76dbeb23d387559ce19'] | Fix check-platform-reqs to be more clear about what is going on, and add a --lock flag to allow explicitly checking from lock | [{'old_path': 'src/Composer/Command/CheckPlatformReqsCommand.php', 'new_path': 'src/Composer/Command/CheckPlatformReqsCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -29,7 +29,8 @@ protected function configure()\n $this->setName('check-platform-reqs')\n ->setDescription('Check that p... | PHP |
8f9486b20e600fe781b0a2f13e3f0bbfdf96a397 | 281 | 2020-10-30 15:30:19+01:00 | -3,600 | ['e0e4d60166d437e5e618f0ef2173479e1f4b6e86'] | redirects are handled in userland now so no need for this hack anymore | [{'old_path': 'src/Composer/Util/Http/Response.php', 'new_path': 'src/Composer/Util/Http/Response.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -90,12 +90,6 @@ public static function findHeaderValue(array $headers, $name)\n foreach ($headers as $header) {\n if (preg_match('{^'.preg_quote($... | PHP |
1d7ed333c9156b1faca8a7f35430675d5dcc77a1 | 281 | 2020-10-30 16:20:50+01:00 | -3,600 | ['8f9486b20e600fe781b0a2f13e3f0bbfdf96a397'] | Make sure curl is only used when safe to do so, fixes #9381 | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -168,7 +168,7 @@ private function addJob($request, $sync = false)\n \n $rfs = $this->rfs;\n \n- if ($this->curl && preg_match('{^https?://}i', $job['... | PHP |
985cef790f07c7b541badfcfd9913e6da7356244 | 281 | 2020-10-30 17:15:25+01:00 | -3,600 | ['1d7ed333c9156b1faca8a7f35430675d5dcc77a1'] | Support git@bitbucket.org URLs for git-bitbucket driver | [{'old_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -44,7 +44,7 @@ abstract class BitbucketDriver extends VcsDriver\n */\n public function initialize()\n {\n- preg_match('#^h... | PHP |
d25e66ad53862ca5d4528347016b67b8ff020a80 | 281 | 2020-10-30 17:15:40+01:00 | -3,600 | ['985cef790f07c7b541badfcfd9913e6da7356244'] | Display auth again for an origin if the auth type changes | [{'old_path': 'src/Composer/Util/AuthHelper.php', 'new_path': 'src/Composer/Util/AuthHelper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -228,9 +228,9 @@ public function addAuthenticationHeader(array $headers, $origin, $url)\n $authenticationDisplayMessage = \'Using HTTP basic authentication ... | PHP |
78797df5f81509a24959b35209476beab9e2a5ad | 281 | 2020-10-30 17:28:30+01:00 | -3,600 | ['04e5d725f48fddf91c92b23b393bb86f2fa97faa'] | Fix bitbucket handling, fixes #9369 | [{'old_path': 'src/Composer/Util/Bitbucket.php', 'new_path': 'src/Composer/Util/Bitbucket.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -135,7 +135,7 @@ public function authorizeOAuthInteractively($originUrl, $message = null)\n $this->io->writeError($message);\n }\n \n- $url = \'htt... | PHP |
a637072058c27d2fe4ccc13b71f81e025350a009 | 281 | 2020-10-30 17:48:54+01:00 | -3,600 | ['ce7cc3b444d1530c030aedfc997c1b8a39818da2'] | Fix canUseCurl logic to allow local_cert/local_pk to reach curl, refs #9384 | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -417,11 +417,7 @@ private function canUseCurl(array $job)\n return false;\n }\n \n- if (\n- !empty($job['request']['options'][... | PHP |
7f936d7dbc0d70028ede17dc15ff36f842f75c85 | 343 | 2020-10-30 17:56:18+01:00 | 25,200 | ['78797df5f81509a24959b35209476beab9e2a5ad'] | Ignore failures on preg_match for user supplied regex
Fixes #7440
See: https://stackoverflow.com/a/12941133/6381767 | [{'old_path': 'src/Composer/Package/Archiver/BaseExcludeFilter.php', 'new_path': 'src/Composer/Package/Archiver/BaseExcludeFilter.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -59,7 +59,7 @@ public function filter($relativePath, $exclude)\n $path = $relativePath;\n }\n \n- ... | PHP |
2ced7b0bf8212e8f266ff7bc0b6f6de625971890 | 440 | 2020-10-30 16:58:32+00:00 | 0 | ['e6c7ab693ef73913515d7f4badeb20c7cb09b364'] | Fix git init -b being unavailable for older versions
On older versions of git init doesn't have the -b flag. That
was introduced in v2.28.0.
Instead switch to using git checkout -b which has much
wider support (2.4.12 was as far back as I could check on
the docs). | [{'old_path': 'tests/Composer/Test/Package/Archiver/ArchiveManagerTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ArchiveManagerTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -115,12 +115,18 @@ protected function setupGitRepo()\n chdir($this->testDir);\n \n $output = null;\n- ... | PHP |
22e22894e88f350cc0747e9f272037bc09a980a4 | 446 | 2020-10-31 14:41:41+02:00 | -7,200 | ['5ad3d5aaf4b912222b011d29aba3c30bf439a3a4'] | Add a missing punctuation mark in README | [{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -53,7 +53,7 @@ Please send any sensitive issue to [security@packagist.org](mailto:security@pack\n License\n -------\n \n-Composer is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n+Compos... | PHP |
5aa90baab126cd50910f622514f6220a56ff0297 | 540 | 2020-11-01 23:39:06+10:00 | -36,000 | ['3daa174bc171dd332d73212b1acfa98e89b06cc9'] | Add new lines to platform reqs issues | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -735,7 +735,7 @@ protected function getPlatformCheck($packageMap, array $ignorePlatformReqs)\n \\$issues = array();\n ${requiredPhp}${requiredExtensio... | PHP |
6cb0aff4173cf7f63b064c85c5ccf273ec6d747a | 281 | 2020-11-02 13:53:43+01:00 | -3,600 | ['feb667e9bdd69245e03da567ec47248d991ae066'] | Fix issue preventing cleanup of vendor dir when it is nested in the install path on Windows, fixes #9396 | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -51,7 +51,7 @@ public function install(PackageInterface $package, $path, $output = true)\n // clean up the target directory, unless it con... | PHP |
1bf2df19dd5eaf129f331092e6b47ea1b6256aaa | 281 | 2020-11-02 13:53:44+01:00 | -3,600 | ['6cb0aff4173cf7f63b064c85c5ccf273ec6d747a'] | Avoid cleaning up $path in downloaders if it is the CWD (create-project use case), refs #9396 | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -60,7 +60,11 @@ public function install(PackageInterface $package, $path, $output = true)\n } while (is_dir($temporaryDir));\n \n ... | PHP |
f486da45787a03f3f92208b47b7ea7d540b1ab65 | 287 | 2020-11-02 08:30:15-06:00 | 18,000 | ['5ad3d5aaf4b912222b011d29aba3c30bf439a3a4'] | Remove junctions first in PathDownloader
When removing a package from a Path repository, ensure Windows junctions
are handled first. This avoids a potential problem using realpath() when
comparing dist and install paths.
See https://bugs.php.net/bug.php?id=77639 | [{'old_path': 'src/Composer/Downloader/PathDownloader.php', 'new_path': 'src/Composer/Downloader/PathDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -178,17 +178,11 @@ public function install(PackageInterface $package, $path, $output = true)\n */\n public function remove(PackageInterface $pa... | PHP |
8f454c67084f0364f294030255c39c37ca19990d | 488 | 2020-11-03 12:01:48+02:00 | -7,200 | ['cdd7460f9fac0c1ad23c955ad6ecba97a0a1c2bb'] | Remove CWD from only the beginning of a path in ZipArchiver
Fixes https://github.com/composer/composer/issues/9403 | [{'old_path': 'src/Composer/Package/Archiver/ZipArchiver.php', 'new_path': 'src/Composer/Package/Archiver/ZipArchiver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -39,7 +39,10 @@ public function archive($sources, $target, $format, array $excludes = array(), $\n foreach ($files as $file) {\n ... | PHP |
4d05cbffe308018b59b0ecac743331be79bda957 | 488 | 2020-11-03 12:04:02+02:00 | -7,200 | ['8f454c67084f0364f294030255c39c37ca19990d'] | Remove CWD from only the beginning of a path in ZipArchiver
Fixes https://github.com/composer/composer/issues/9403 | [{'old_path': 'tests/Composer/Test/Package/Archiver/ZipArchiverTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ZipArchiverTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -31,7 +31,7 @@ public function testZipArchive()\n 'foo' . getcwd() . '/file.txt',\n );\n // Set ... | PHP |
b57792a80a7b911c866dcb7c36880ef06e8f639b | 488 | 2020-11-03 12:20:44+02:00 | -7,200 | ['4d05cbffe308018b59b0ecac743331be79bda957'] | Skip CWD-in-path test on Windows | [{'old_path': 'tests/Composer/Test/Package/Archiver/ZipArchiverTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ZipArchiverTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,6 +12,7 @@\n \n namespace Composer\\Test\\Package\\Archiver;\n \n+use Composer\\Util\\Platform;\n use ZipArchive;\n use ... | PHP |
ad2fcf8d9223bb018c5e478b4656b4f6a14d2bc1 | 488 | 2020-11-03 12:27:15+02:00 | -7,200 | ['b57792a80a7b911c866dcb7c36880ef06e8f639b'] | Close zip archive after test finishes | [{'old_path': 'tests/Composer/Test/Package/Archiver/ZipArchiverTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ZipArchiverTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -48,6 +48,7 @@ public function testZipArchive()\n foreach ($files as $file) {\n $this->assertSame('conte... | PHP |
0747b072be39a933d9472d489f02f74f86613917 | 479 | 2020-11-03 16:01:40+00:00 | 0 | ['5c82367dd37789164abb76bceecc59f0af6f04a4'] | RemoteFileSystem: don't throw zlib error on empty response | [{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -823,7 +823,7 @@ private function decodeResult($result, $http_response_header)\n $result = file_get_contents('compress.zlib://data:applicati... | PHP |
b83b186ac053e8871563852a61a78b0619a739d1 | 411 | 2020-11-04 11:18:21+01:00 | -3,600 | ['70add1867cc5222dd20348b4c436b420d279e920'] | AutoloadGenerator: Send error HTTP status on error | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -734,7 +734,8 @@ protected function getPlatformCheck($packageMap, array $ignorePlatformReqs)\n \n \\$issues = array();\n ${requiredPhp}${requiredExten... | PHP |
6f1761fe187eb4048e0d237862a68f97413867d0 | 411 | 2020-11-04 11:18:21+01:00 | -3,600 | ['b83b186ac053e8871563852a61a78b0619a739d1'] | AutoloadGenerator: Send error HTTP status on error - update tests | [{'old_path': 'tests/Composer/Test/Autoload/Fixtures/platform/no_extensions_required.php', 'new_path': 'tests/Composer/Test/Autoload/Fixtures/platform/no_extensions_required.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,7 +8,8 @@\n $issues[] = \'Your Composer dependencies require a PHP version ">= 7.2.... | PHP |
cda49323eb690fda042c6895566b95b8e2be3a0a | 303 | 2020-11-04 11:05:50+00:00 | 0 | ['70add1867cc5222dd20348b4c436b420d279e920'] | Remove CURLOPT_SSL_FALSESTART option. Fixes #9405 | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -166,9 +166,6 @@ private function initDownload($resolve, $reject, $origin, $url, $options, $copyT\n curl_setopt($curlHandle, CURLOPT_FILE, $bodyHa... | PHP |
3f63bc92058f17859f0c07cd182731bf1343cc75 | 411 | 2020-11-04 12:28:14+01:00 | -3,600 | ['6f1761fe187eb4048e0d237862a68f97413867d0'] | AutoloadGenerator: Trigger native PHP error on platform checks fails | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -734,10 +734,11 @@ protected function getPlatformCheck($packageMap, array $ignorePlatformReqs)\n \n \\$issues = array();\n ${requiredPhp}${requiredExt... | PHP |
2595de07ce1ab1bced96c4e9be98008248ce2985 | 411 | 2020-11-04 12:28:15+01:00 | -3,600 | ['3f63bc92058f17859f0c07cd182731bf1343cc75'] | AutoloadGenerator: Trigger native PHP error on platform checks fails - tests | [{'old_path': 'tests/Composer/Test/Autoload/Fixtures/platform/no_extensions_required.php', 'new_path': 'tests/Composer/Test/Autoload/Fixtures/platform/no_extensions_required.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,8 +8,9 @@\n $issues[] = \'Your Composer dependencies require a PHP version ">= 7.2.... | PHP |
360ecb45b732a80233e9b057f281c75f01500095 | 414 | 2020-11-04 10:35:20-05:00 | 18,000 | ['59de196ab7acd7c13cbab2fefb040d2b70ceb53a'] | Update `self-update` options | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -621,6 +621,9 @@ If Composer was not installed as a PHAR, this command is not available.\n * **--stable:** Force an update to the stable channel.\n * **--preview:** Force an update to the preview channel.\n * *... | PHP |
04aad524ec3a7348f25d97d88464af4e316cd8e9 | 281 | 2020-11-04 21:32:32+01:00 | -3,600 | ['4797d4afc8d13b830460eeb373ecc37cb6084236'] | Fix gitlab-domains/github-domains to avoid overwriting the default when another domain is configured, refs #9373 | [{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -138,6 +138,8 @@ public function merge($config)\n foreach ($config['config'] as $key => $val) {\n if (in_array($key, array('bitbucket-oauth', 'github-oauth', 'git... | PHP |
fc0d724938209c05a78618cc9fa4ffc415b9f509 | 281 | 2020-11-04 21:36:03+01:00 | -3,600 | ['04aad524ec3a7348f25d97d88464af4e316cd8e9'] | Allow configuring gitlab deploy tokens via config command, refs #9373 | [{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -703,6 +703,9 @@ function ($vals) {\n }\n $this->configSource->removeConfigSetting($matches[1].'.'.$matches[2]);\n ... | PHP |
6c31744c04396b5887b70868758f7c52fbb80b31 | 281 | 2020-11-04 21:50:06+01:00 | -3,600 | ['fc0d724938209c05a78618cc9fa4ffc415b9f509'] | Disable full platform-check for extensions by default, now set to php-only, refs #9412 | [{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -312,8 +312,8 @@\n "description": "Defaults to true. If set to false, Composer will not create a composer.lock file."\n },\n "platform-c... | PHP |
8c1355f448ec8087bf7ed468208f8d63794de909 | 281 | 2020-11-04 22:28:17+01:00 | -3,600 | ['55c7b45de02341070e1faafd2e6baa57207aa476'] | Improve output of platform check further in case errors are hidden | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -717,7 +717,7 @@ protected function getPlatformCheck($packageMap, array $ignorePlatformReqs, $che\n \\$missingExtensions = array();\n $requiredExtensi... | PHP |
56c65a58e2a1b6bded738cb4928a71957f9bb141 | 281 | 2020-11-04 23:41:58+01:00 | -3,600 | ['8c1355f448ec8087bf7ed468208f8d63794de909'] | Make platform-check only check non-dev requires, refs #9412 | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -192,6 +192,7 @@ public function dump(Config $config, InstalledRepositoryInterface $localRepo, Pa\n EOF;\n \n // Collect information from all ... | PHP |
8dc5effee7d56f0fe490a44f7c895cec3c233182 | 411 | 2020-11-05 09:57:48+01:00 | -3,600 | ['56c65a58e2a1b6bded738cb4928a71957f9bb141'] | AutoloadGenerator: Send error HTTP status on error | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -741,6 +741,9 @@ protected function getPlatformCheck(array $packageMap, array $ignorePlatformReqs\n \\$issues = array();\n ${requiredPhp}${requiredExt... | PHP |
22fef8c51a807975863b8e60d557e7c768cb3784 | 281 | 2020-11-05 14:55:18+01:00 | -3,600 | ['60b1a70bfa24cfbe0d4b9ba5bdd614a6662ee4b2'] | Make sure no files are missing from the phar, fixes #9421 | [{'old_path': 'src/Composer/Compiler.php', 'new_path': 'src/Composer/Compiler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -111,6 +111,7 @@ public function compile($pharFile = 'composer.phar')\n $finder->files()\n ->ignoreVCS(true)\n ->notPath('/\\/(composer\\.(json|lock)|[A-Z... | PHP |
3ffdd67e818360c16f2f5d293bf79ca387d40bcf | 281 | 2020-11-05 15:00:54+01:00 | -3,600 | ['22fef8c51a807975863b8e60d557e7c768cb3784'] | Fix running compiler in CI env | [{'old_path': 'src/Composer/Compiler.php', 'new_path': 'src/Composer/Compiler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -111,7 +111,7 @@ public function compile($pharFile = 'composer.phar')\n $finder->files()\n ->ignoreVCS(true)\n ->notPath('/\\/(composer\\.(json|lock)|[A-Z... | PHP |
3518dba00ff830d87fa06707ce09118e67b21462 | 312 | 2020-11-05 15:17:27+01:00 | -3,600 | ['3ffdd67e818360c16f2f5d293bf79ca387d40bcf'] | Mention no-slash requirement for getInstallPath() | [{'old_path': 'doc/articles/custom-installers.md', 'new_path': 'doc/articles/custom-installers.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -149,6 +149,7 @@ source for the exact signature):\n when the package needs to be removed.\n * **getInstallPath()**, this method should return the location where the\n ... | PHP |
444b91a3ce599163aadc6902b0c402060d4d87a3 | 281 | 2020-11-05 16:37:51+01:00 | -3,600 | ['f303419f359c57faa89c533b17da16f64d67253b'] | Add docs, refs #9422 | [{'old_path': 'src/Composer/Installer/InstallerInterface.php', 'new_path': 'src/Composer/Installer/InstallerInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -73,7 +73,7 @@ public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $\n * Returns the installation path of a packag... | PHP |
bc9336946e52dcea0e096cb0c700be98df3a0a8b | 281 | 2020-11-05 16:54:06+01:00 | -3,600 | ['c04c42b7b454e9ad352974d063cb31ed559042ad'] | Trim trailing slash in path downloader to avoid symlink issues, and in FileDownloader::getLocalChanges as we append a string without slash, refs #9422 | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -429,6 +429,7 @@ public function getLocalChanges(PackageInterface $package, $targetDir)\n $e = null;\n $output = '';\n \n+ $targe... | PHP |
3f6899946b929d9be4dc669858f394e9789d48be | 281 | 2020-11-06 12:55:54+01:00 | -3,600 | ['4b8e77b2da9515f3462431dd5953e2560811263a'] | Avoid using curl when it has been disabled, fixes #9423 | [{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -379,7 +379,11 @@ private function checkVersion($config)\n \n private function getCurlVersion()\n {\n- if (function_exists('curl_version')) {... | PHP |
c35a8e77c7092a36271c2762f0f171af2f28666a | 365 | 2020-11-06 13:31:02+01:00 | -3,600 | ['3f6899946b929d9be4dc669858f394e9789d48be'] | Fix missing directory separator in FileDownloader | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -310,7 +310,7 @@ public function install(PackageInterface $package, $path, $output = true)\n \n $this->filesystem->emptyDirectory($path);\n ... | PHP |
f31564ef5b16ef2cfb2a3d23472b8d42e1ba4d83 | 281 | 2020-11-06 20:39:33+01:00 | -3,600 | ['2a8cc06ba2123da0caac0bcd69917fe40c8d5702'] | Fix check-platform-reqs --no-dev to not require lock anymore | [{'old_path': 'src/Composer/Command/CheckPlatformReqsCommand.php', 'new_path': 'src/Composer/Command/CheckPlatformReqsCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -29,7 +29,7 @@ protected function configure()\n $this->setName('check-platform-reqs')\n ->setDescription('Check that p... | PHP |
c362d001f104aeece7b764397e21381cd427f57c | 281 | 2020-11-07 11:17:22+01:00 | -3,600 | ['3e9cb5eabecd600592d99e34f00ebab8b4d8ebc7'] | Fix regression handling installs with custom installers not passing a fully qualified path to downloaders, fixes #9431, fixes #9434 | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,7 +63,7 @@ public function install(PackageInterface $package, $path, $output = true)\n // avoid cleaning up $path if installing in "."... | PHP |
23a1d783db529f7eff3b2db65cf2a3368faa227f | 310 | 2020-11-08 21:53:07+01:00 | -3,600 | ['86f0c100049d05b457c215f51b981457b9a587c7'] | Reject job within "HttpDownloader" when an exception is thrown, refs #9424 | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -268,11 +268,15 @@ private function startJob($id)\n return;\n }\n \n+ try {\n if ($job['request']['copyTo']) {\n ... | PHP |
a825581ae24da44de869046ca0809fe2e1ffff0e | 281 | 2020-11-09 14:23:24+01:00 | -3,600 | ['86f0c100049d05b457c215f51b981457b9a587c7'] | Remove set_time_limit, fixes #9438 | [{'old_path': 'src/Composer/Package/Comparer/Comparer.php', 'new_path': 'src/Composer/Package/Comparer/Comparer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -112,7 +112,6 @@ private function doTree($dir, &$array)\n return false;\n }\n } ... | PHP |
e8ce5a3db6d82a6120ea6e8d6a9c87f1e71b0047 | 345 | 2020-11-09 20:45:40+01:00 | -3,600 | ['a825581ae24da44de869046ca0809fe2e1ffff0e'] | Remove unnecessary overridden method
The method just called its parent without further logic | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,10 +28,6 @@\n */\n abstract class ArchiveDownloader extends FileDownloader\n {\n- public function download(PackageInterface $package, $pat... | PHP |
fec44f883cc2fb9e0750029706d7e9377800600b | 281 | 2020-11-11 10:47:54+01:00 | -3,600 | ['14d20776a2f554eaaeaf94d9cc190dbb884463a0'] | Always load the current InstalledVersions when writing to disk, fixes #9457 | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -335,6 +335,11 @@ public function createComposer(IOInterface $io, $localConfig = null, $disablePlu\n if ($fullLoad) {\n // load auth configs into the IO instance\n ... | PHP |
30b98915e9fd15c1916ca99c04da62deb08d6f5d | 281 | 2020-11-11 11:30:37+01:00 | -3,600 | ['fec44f883cc2fb9e0750029706d7e9377800600b'] | Move Updating dependencies to the correct point, which is once we have the pool ready | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -386,8 +386,6 @@ protected function doUpdate(RepositoryInterface $localRepo, $doInstall)\n \n $request = $this->createRequest($this->fixedRootPackage, $platformRepo, $lockedRep... | PHP |
00dfd2c8e1a63c47f20dce93e8e3e34dd1df3071 | 281 | 2020-11-11 11:57:08+01:00 | -3,600 | ['b8e40f6060eee612eeb60a111fb918020ac75fc9'] | Fix lock file being parsed when not strictly needed, fixes #9452 | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -360,9 +360,18 @@ protected function doUpdate(RepositoryInterface $localRepo, $doInstall)\n \n $lockedRepository = null;\n \n+ try {\n if ($this->locker->isL... | PHP |
14962776971e753b31a062783ad758ed0e8dde24 | 281 | 2020-11-11 14:27:17+01:00 | -3,600 | ['00dfd2c8e1a63c47f20dce93e8e3e34dd1df3071'] | Disable TTY mode if STDOUT is not a TTY, fixes #9454 | [{'old_path': 'src/Composer/Util/ProcessExecutor.php', 'new_path': 'src/Composer/Util/ProcessExecutor.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -77,6 +77,13 @@ public function execute($command, &$output = null, $cwd = null)\n */\n public function executeTty($command, $cwd = null)\n {\n+ ... | PHP |
87006774b1a89cee6b1a8625443e6aa3cc953729 | 281 | 2020-11-11 14:46:10+01:00 | -3,600 | ['4468248c46304c3bdb4315545d06aa0ae259af52'] | Avoid requiring a lock file to run composer remove, fixes #9439 | [{'old_path': 'src/Composer/Command/RemoveCommand.php', 'new_path': 'src/Composer/Command/RemoveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -253,13 +253,18 @@ protected function execute(InputInterface $input, OutputInterface $output)\n ->setApcuAutoloader($apcu, $apcuPrefix)\n ... | PHP |
380dce9a6b2886f1ff89103ea170092abe8866f5 | 281 | 2020-11-11 16:30:50+01:00 | -3,600 | ['87006774b1a89cee6b1a8625443e6aa3cc953729'] | Make sure the IO is not interactive when not run in a tty, refs #9454 | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -129,7 +129,11 @@ public function doRun(InputInterface $input, OutputInterface $output)\n {\n $this->disablePluginsByDefault = $input->hasParameterOptio... | PHP |
258f6dc1a29ac74e04f95f09242275c774a2fca5 | 501 | 2020-11-11 20:27:38+01:00 | -3,600 | ['380dce9a6b2886f1ff89103ea170092abe8866f5'] | Reference co-relating code sequence for tty test, refs #9454 | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -131,6 +131,7 @@ public function doRun(InputInterface $input, OutputInterface $output)\n \n if (\n getenv('COMPOSER_NO_INTERACTION')\n+ ... | PHP |
6a2f9870a7e7dfea187ff88ed2d4f991d11f723f | 281 | 2020-11-12 10:41:05+01:00 | -3,600 | ['53412a3299cedfc8137eb4ed7cba7d438a514c43'] | Warn when init is being used non-interactively without any args passed in, instead of silently overwriting the file | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -129,6 +129,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n return 1;\n }\n+ } else {\n+ ... | PHP |
b574f10d9d68acfeb8e36cad0b0b25a090140a3b | 281 | 2020-11-12 10:41:06+01:00 | -3,600 | ['07352eafa87fc0c8c6c1df484bb93156715a1d3d'] | Rename mainPackage to rootPackage in AutoloadGenerator and ensure we use RootPackageInterface | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -18,6 +18,7 @@\n use Composer\\IO\\IOInterface;\n use Composer\\Package\\AliasPackage;\n use Composer\\Package\\PackageInterface;\n+use Composer\\Pack... | PHP |
b78b2df5bb8cbd0f3ece3aca513b4fade00bc554 | 281 | 2020-11-12 10:41:07+01:00 | -3,600 | ['b574f10d9d68acfeb8e36cad0b0b25a090140a3b'] | Reuse devPackageNames if available instead of filtering the dev packages out by looping through all requirements | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -195,7 +195,14 @@ public function dump(Config $config, InstalledRepositoryInterface $localRepo, Ro\n // Collect information from all packages.... | PHP |
dfca939f3bbf2e0537fa4e7bdb383242db8d0df9 | 281 | 2020-11-12 10:41:07+01:00 | -3,600 | ['b78b2df5bb8cbd0f3ece3aca513b4fade00bc554'] | Use proper type hint for local repo | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -54,12 +54,12 @@\n use Composer\\Package\\RootPackageInterface;\n use Composer\\Repository\\CompositeRepository;\n use Composer\\Repository\\InstalledArrayRepository;\n+use Composer\\R... | PHP |
e5a009ed80b80459ae61d487fb4a785a512e64d7 | 281 | 2020-11-12 11:09:15+01:00 | -3,600 | ['dfca939f3bbf2e0537fa4e7bdb383242db8d0df9'] | Make sure empty objects are not left behind when removing requires/.. fixes #9462 | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -226,6 +226,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n foreach ($requirements as $package => $version) {\n ... | PHP |
1ec5fa81e42f45ed2f921365c9c6d1b3d6bb63dd | 163 | 2020-11-12 13:12:55+02:00 | -7,200 | ['e5a009ed80b80459ae61d487fb4a785a512e64d7'] | #9464: Add the test to reveal the issue | [{'old_path': 'tests/Composer/Test/Package/Archiver/ZipArchiverTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ZipArchiverTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,20 +18,44 @@\n \n class ZipArchiverTest extends ArchiverTest\n {\n- public function testZipArchive()\n+ /**\n+ ... | PHP |
abbc0e8a4ea90764f32a3afe0956f8fae1e26cdd | 163 | 2020-11-12 14:56:14+02:00 | -7,200 | ['1ec5fa81e42f45ed2f921365c9c6d1b3d6bb63dd'] | #9464: Remove wrapping slashes from the gitignore rules | [{'old_path': 'src/Composer/Package/Archiver/BaseExcludeFilter.php', 'new_path': 'src/Composer/Package/Archiver/BaseExcludeFilter.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -123,26 +123,30 @@ protected function generatePatterns($rules)\n protected function generatePattern($rule)\n {\n $nega... | PHP |
45f70367458b7fa4dc1f8f61a0a1ed5178537531 | 281 | 2020-11-12 15:12:46+01:00 | -3,600 | ['cfb3b8545430fab333b4a115d43b5f9c8a122df1'] | Make sure the SOURCE_VERSION works with version_compare against 2.0.0 | [{'old_path': 'src/Composer/Composer.php', 'new_path': 'src/Composer/Composer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -54,7 +54,7 @@ class Composer\n const VERSION = '@package_version@';\n const BRANCH_ALIAS_VERSION = '@package_branch_alias_version@';\n const RELEASE_DATE = '@release_date@';... | PHP |
b0d308319e303a24a0f2f7083a14de7b7fdd43a9 | 281 | 2020-11-12 15:14:02+01:00 | -3,600 | ['45f70367458b7fa4dc1f8f61a0a1ed5178537531'] | Extract POST_PACKAGE_* events to be executed all at once and not in parallel with async code to avoid edge cases, fixes #9463 | [{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -370,6 +370,7 @@ private function downloadAndExecuteBatch(RepositoryInterface $repo, array $opera\n private function executeBatch(Repository... | PHP |
4b4a3937eaa31c42dd905829fe1b04f4c94ab334 | 281 | 2020-11-12 15:14:39+01:00 | -3,600 | ['b0d308319e303a24a0f2f7083a14de7b7fdd43a9'] | Make sure Loop abortJobs does not lose track of promises in case wait() is called within the scope of a wait(), refs #9463 | [{'old_path': 'src/Composer/Util/Loop.php', 'new_path': 'src/Composer/Util/Loop.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,8 +25,10 @@ class Loop\n private $httpDownloader;\n /** @var ProcessExecutor|null */\n private $processExecutor;\n- /** @var Promise[]|null */\n- private $current... | PHP |
e1ead6027fcf605529a3663bf20fb3633278dd88 | 281 | 2020-11-13 09:06:50+01:00 | -3,600 | ['cc536c7f45e656989f987f6eea5139a76beb4419'] | Update xdebug-handler to latest to fix tty detection | [{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -243,16 +243,16 @@\n },\n {\n "name": "composer/xdebug-handler",\n- "version": "1.4.4",\n+ "version": "1.4.5",\n "source": {\n "type... | PHP |
6ace5bb651a2d8efb41be1239b76cef687fcfe51 | 281 | 2020-11-13 10:58:03+01:00 | -3,600 | ['e1ead6027fcf605529a3663bf20fb3633278dd88'] | Make sure root aliases are marked as such also when loaded from lock file | [{'old_path': 'src/Composer/Package/AliasPackage.php', 'new_path': 'src/Composer/Package/AliasPackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -431,7 +431,7 @@ public function getReplacementPackage()\n \n public function __toString()\n {\n- return parent::__toString().' (alias of '.$this->... | PHP |
7b183956d839bce9f6f5c122e2f15ba9e1fe304b | 281 | 2020-11-13 13:52:21+01:00 | -3,600 | ['8936f724d4f6b3023cb7e8ed650d10091dddde3a'] | Make sure the root aliases always get installed when a package is updated, fixes #9448 | [{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -133,6 +133,10 @@ public function getAliases($aliases)\n }\n }\n \n+ usort($usedAliases, function ($a, $b) ... | PHP |
b7e13830835eac884c2d8f3395410efc61cd009f | 281 | 2020-11-13 14:16:37+01:00 | -3,600 | ['7b183956d839bce9f6f5c122e2f15ba9e1fe304b'] | Make sure the alias package gets added to conflict rules etc, and only add it if aliased package is actually added | [{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -262,13 +262,14 @@ protected function addRulesForRequest(Request $request, $ignorePlatformReqs)\n }\n }\n \n- protect... | PHP |
6b48258432f1d166744cebc5bc23b18e69716de9 | 388 | 2020-11-13 14:40:54+01:00 | -3,600 | ['b7e13830835eac884c2d8f3395410efc61cd009f'] | Add test case for root alias on an unloadable package | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/alias-on-unloadable-package.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,30 @@\n+--TEST--\n+A root alias for a package which cannot be found in an acceptable version does not lead to different error.\n+--COMPOSER--\n+{\n+ "repos... | PHP |
595c4c6f7526cb7227e584b7219b30c0c0c41cba | 281 | 2020-11-13 14:50:24+01:00 | -3,600 | ['8936f724d4f6b3023cb7e8ed650d10091dddde3a'] | Make sure we handle cases where STDIN/STDOUT may not be defined | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -129,7 +129,7 @@ public function doRun(InputInterface $input, OutputInterface $output)\n {\n $this->disablePluginsByDefault = $input->hasParameterOption... | PHP |
4215344c9339d56cd89ac90e79ab50924769f702 | 388 | 2020-11-13 14:53:23+01:00 | -3,600 | ['6b48258432f1d166744cebc5bc23b18e69716de9'] | Rule generator cleanup: no need for 2 added package arrays, more specific root alias rule | [{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,6 +35,7 @@ abstract class Rule\n const RULE_PACKAGE_SAME_NAME = 10;\n const RULE_LEARNED = 12;\n const RULE_PACKAGE_ALIAS = 13;\n+ const ... | PHP |
27f200caf17780c76d5e27f11cf8fa42e88a472a | 388 | 2020-11-13 15:08:09+01:00 | -3,600 | ['4215344c9339d56cd89ac90e79ab50924769f702'] | Create ROOT_ALIAS rules inside package rule generation | [{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -166,6 +166,11 @@ protected function addRulesForPackage(PackageInterface $package, $ignorePlatform\n $workQueue->enq... | PHP |
3d5be62250b6156d72e1d1b4f63f20ebde969379 | 14 | 2020-11-13 15:38:28+01:00 | -3,600 | ['d6794217d9b9d923fcc7e65da170785a96bb7efd'] | Add article on resolving merge conflicts (#9386) | [{'old_path': None, 'new_path': 'doc/articles/resolving-merge-conflicts.md', 'type': <ModificationType.ADD: 1>, 'diff': "@@ -0,0 +1,62 @@\n+<!--\n+ tagline: On gracefully resolving conflicts while merging\n+-->\n+\n+# Resolving merge conflicts\n+\n+When working as a team on the same Composer project, you will eventu... | PHP |
045b5c6b6bb2eb7915527672eb9809ff6eebd956 | 388 | 2020-11-13 15:47:27+01:00 | -3,600 | ['3d5be62250b6156d72e1d1b4f63f20ebde969379'] | Add test case verifying conflicts on alias prevent it from getting installed | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/conflict-with-alias-prevents-installation.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,27 @@\n+--TEST--\n+Test that conflict on a branch alias is respected\n+--COMPOSER--\n+{\n+ "repositories": [\n+ {\n+ "type"... | PHP |