Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
ff8bf0ab822bce0cdcab1c3e1f965bfefbacec15 | 281 | 2020-02-14 10:45:35+01:00 | -3,600 | ['a222ec5b36dc496b46dc441e3b5210b2a282e17a'] | Clarify code
Co-Authored-By: Guilliam Xavier <guilliamxavier@users.noreply.github.com> | [{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -148,25 +148,25 @@ private function outputResult($io, $name, &$errors, &$warnings, $checkPublish =\n }\n \n // Avoid setting the exit code t... | PHP |
b033a2ae81a647005c34698c14a6d0520b4f4da1 | 281 | 2020-02-14 10:55:22+01:00 | -3,600 | ['538f070a299ba0695ac854ac95f22e71354b2adc'] | Retrieve funding info from github into composer.json if not declared there | [{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,6 +35,7 @@ class GitHubDriver extends VcsDriver\n protected $infoCache = array();\n protected $isPrivate = false;\n private $isArchi... | PHP |
a17e7e9bd3647768de21606787ea081dc5d53c48 | 254 | 2020-02-14 10:57:19+01:00 | -3,600 | ['ff8bf0ab822bce0cdcab1c3e1f965bfefbacec15'] | ValidateCommand: fix array syntax for PHP 5.3 | [{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -148,7 +148,7 @@ private function outputResult($io, $name, &$errors, &$warnings, $checkPublish =\n }\n \n // Avoid setting the exit code to ... | PHP |
f171d1fd89bf06247dc64c44e28f9d60ded4783e | 281 | 2020-02-14 11:50:56+01:00 | -3,600 | ['b033a2ae81a647005c34698c14a6d0520b4f4da1'] | Avoid requiring auth for the funding API access | [{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -194,13 +194,18 @@ private function getFundingInfo()\n }\n \n $graphql = \'query{repository(owner:"\'.$this->owner.\'",name:"\'.$thi... | PHP |
fce60aadd17230ba42fb3e76a8588f3d170da527 | 281 | 2020-02-14 15:06:17+01:00 | -3,600 | ['055a179cc57e721fde0a3fa754c6ba9b3d23229e'] | Update changelog for 1.10 RC | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,19 +1,26 @@\n-### [1.10.0] 2020-01-XX\n+### [1.10.0-RC] 2020-02-14\n \n * Breaking: `composer global exec ...` now executes the process in the current working directory instead of executing it in the global ... | PHP |
ee2252c6acf5e30a3af80c270f8e86c575f46415 | 281 | 2020-02-14 16:36:14+01:00 | -3,600 | ['c49a81cf17afd954cbe9ee79836f609720a3e198'] | Add lint check after phar is built
The initial 1.10.0-RC build (https://github.com/composer/getcomposer.org/commit/593b8dfb294fc0b0c75b85e0502922ff442ff63c)
had what looks like a bit flip of one > into a :, causing a parse error as $foo->bar became $foo-:bar in some class.
This is quite unpleasant and easy to miss as... | [{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -407,16 +407,16 @@\n },\n {\n "name": "seld/phar-utils",\n- "version": "1.0.2",\n+ "version": "1.1.0",\n "source": {\n "type": "git"... | PHP |
4f59162827f7bb928d9e91b67da3f625d2e9c493 | 281 | 2020-02-14 17:03:22+01:00 | -3,600 | ['ee2252c6acf5e30a3af80c270f8e86c575f46415'] | Fix class name of caught exception | [{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -203,7 +203,7 @@ private function getFundingInfo()\n ),\n 'retry-auth-failure' => false,\n ));\n- ... | PHP |
20e4cc3b6f4f36745c3eb18de1664f8e04083e14 | 281 | 2020-02-17 11:23:15+01:00 | -3,600 | ['2e82e34fe0f0293c14b479a440589673a7b742df'] | Fix finding replacers/providers to check constraints correctly | [{'old_path': 'src/Composer/Repository/InstalledRepository.php', 'new_path': 'src/Composer/Repository/InstalledRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -44,8 +44,19 @@ public function findPackagesWithReplacersAndProviders($name, $constraint = null)\n foreach ($this->getRepositories() a... | PHP |
5b41b78809008d696720b2085fa32317ae2256cb | 281 | 2020-02-18 08:10:54+01:00 | -3,600 | ['20e4cc3b6f4f36745c3eb18de1664f8e04083e14'] | Optimize findPackagesWithReplacersAndProviders to avoid multiple loops over replace/provide links | [{'old_path': 'src/Composer/Repository/InstalledRepository.php', 'new_path': 'src/Composer/Repository/InstalledRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -43,24 +43,24 @@ public function findPackagesWithReplacersAndProviders($name, $constraint = null)\n $matches = array();\n fore... | PHP |
a2eb0bab12af8c963553da288b641dfa6673780c | 281 | 2020-02-18 08:28:35+01:00 | -3,600 | ['5b41b78809008d696720b2085fa32317ae2256cb'] | Abort loop correctly when package is a match | [{'old_path': 'src/Composer/Repository/InstalledRepository.php', 'new_path': 'src/Composer/Repository/InstalledRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -56,7 +56,7 @@ public function findPackagesWithReplacersAndProviders($name, $constraint = null)\n && ($constraint === ... | PHP |
766c8d448c04e189febc9ea0b701841495a5c890 | 473 | 2020-02-23 21:31:28+09:00 | -32,400 | ['f154d5c09d69a6338d6a955bf51cc264d0448b3d'] | add 'array' to document in ConfigSourceInterface.php | [{'old_path': 'src/Composer/Config/ConfigSourceInterface.php', 'new_path': 'src/Composer/Config/ConfigSourceInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -39,7 +39,7 @@ public function removeRepository($name);\n * Add a config setting\n *\n * @param string $name Name\n- * @param ... | PHP |
e61b559eb2305dd3627954640d73540a58f90f93 | 473 | 2020-02-23 21:38:14+09:00 | -32,400 | ['f154d5c09d69a6338d6a955bf51cc264d0448b3d'] | delete 'return' in Filesystem.php | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -340,7 +340,7 @@ public function rename($source, $target)\n }\n }\n \n- return $this->copyThenRemove($source, $target);\n+ $this->copyThen... | PHP |
30b1dfb8a99cb5c3cda57f6b749c748e7b7246d7 | 333 | 2020-02-25 16:09:36+01:00 | -3,600 | ['f154d5c09d69a6338d6a955bf51cc264d0448b3d'] | report ambiguous classes across all classmaps | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -236,6 +236,7 @@ public static function autoload(\\$class)\n \n // flatten array\n $classMap = array();\n+ $ambigiousClasses = ... | PHP |
339ee953e5c9a4e763a43b6c457d8ad4eb9877d3 | 539 | 2020-02-26 17:39:26+02:00 | -7,200 | ['5aff184fbc79191ee5a47665d4f8c201b6936305'] | Fix incorrect --no-dev handling of replaced packages | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -939,16 +939,23 @@ protected function filterPackageMap(array $packageMap, PackageInterface $mainPac\n {\n $packages = array();\n $... | PHP |
8df263a75645238e7f7d9c277fe485c7cf6daf93 | 539 | 2020-02-26 17:39:54+02:00 | -7,200 | ['339ee953e5c9a4e763a43b6c457d8ad4eb9877d3'] | Test added for issue #8622 fix | [{'old_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'new_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -486,6 +486,58 @@ public function testNonDevAutoloadExclusionWithRecursionReplace()\n $this->assertFileExists($this->ven... | PHP |
c4f19e51d843533c88d3e3ded92bc00f4f966560 | 281 | 2020-02-28 09:09:23+01:00 | -3,600 | ['f154d5c09d69a6338d6a955bf51cc264d0448b3d'] | Rework the funding info parsing to avoid requiring graphql permissions | [{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -167,7 +167,6 @@ public function getComposerInformation($identifier)\n if (!isset($composer[\'abandoned\']) && $this->isArchived) {\... | PHP |
0b9c658bef426a56dc3971e614028ff5078bcd95 | 281 | 2020-02-28 10:21:24+01:00 | -3,600 | ['c4f19e51d843533c88d3e3ded92bc00f4f966560'] | Add plugin-api-version used to generate a lock file in itself | [{'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\\Repository\\ArrayRepository;\n use Composer\\Package\\Dumper\\ArrayDumper;\n use Composer\\Package\\Loader\\ArrayLoader;\n+use Composer\\Plugin... | PHP |
8850e571de1704b521eae638df4ee1c8fd76bc8b | 281 | 2020-02-28 10:36:29+01:00 | -3,600 | ['0b9c658bef426a56dc3971e614028ff5078bcd95'] | Remove file in favor of https://github.com/composer/.github/blob/master/FUNDING.yml | [{'old_path': '.github/FUNDING.yml', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': '@@ -1,3 +0,0 @@\n-# These are supported funding model platforms\n-\n-custom: https://packagist.com\n'}] | PHP |
7a270955f5f90c7a8d5ec7de07e285b56db7de16 | 281 | 2020-02-28 16:00:45+01:00 | -3,600 | ['05737a46fb612634f7ce1a1b89c8c6facd686dd6'] | Fix issues handling branch names with pipes in them | [{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -20,6 +20,7 @@\n use Composer\\Package\\Loader\\InvalidPackageException;\n use Composer\\Package\\Loader\\LoaderInterface;\n use Composer\\EventDispatcher... | PHP |
c6969756e8a0a54461e5513a3c60a27e7e5f0d27 | 281 | 2020-02-28 16:27:06+01:00 | -3,600 | ['7a270955f5f90c7a8d5ec7de07e285b56db7de16'] | Make sure $_SERVER is updated when putenv updates environment variables, fixes #8298 | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -131,7 +131,8 @@ public function doRun(InputInterface $input, OutputInterface $output)\n \n if ($input->hasParameterOption('--no-cache')) {\n $i... | PHP |
5d970022e85ec6fb858b51d09bbcecf3a89d230c | 281 | 2020-02-28 17:02:15+01:00 | -3,600 | ['919fa60579d0d5ce8b2af3ceb2629d2ba64e58ab'] | Normalize output of create-project target path, refs #8609, refs #8412 | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -305,9 +305,13 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n $directory = getcwd() . DIRECTORY... | PHP |
6cf54170ccae08c0dc67f8cc6ff04036be4a17dc | 281 | 2020-02-28 22:42:52+01:00 | -3,600 | ['2285a79c6302576dec07c9bb8b52d24e6b4e8015'] | Avoid mixing write/writeError which causes issues on some terminals, fixes #8656 | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -497,7 +497,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n $io->write('');\n ... | PHP |
41edce01fca0de4685acbbc355cccfa260e1e682 | 91 | 2020-03-06 12:17:09+01:00 | -3,600 | ['98af0fdf85aca36f84690ecbb66f79ff51b8772f'] | Update link to wikipedia VC -> Common terminology
The wikipedia section `Version_control#Common_vocabulary` has moved to `Version_control#Common_terminology`.
You know, scrolling along is harassing :-) | [{'old_path': 'doc/articles/versions.md', 'new_path': 'doc/articles/versions.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -54,7 +54,7 @@ v2.0.2\n \n Normally, Composer deals with tags (as opposed to branches -- if you don't\n know what this means, read up on\n-[version control systems](https://en.wikipedia.or... | PHP |
beb64914a37205f6748552d764d9531d99c7f41e | 281 | 2020-03-06 17:01:59+01:00 | -3,600 | ['98af0fdf85aca36f84690ecbb66f79ff51b8772f'] | Retrieve latest funding info for all packages in fund command | [{'old_path': 'src/Composer/Command/FundCommand.php', 'new_path': 'src/Composer/Command/FundCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,7 @@\n \n use Composer\\Package\\CompletePackageInterface;\n use Composer\\Package\\AliasPackage;\n+use Composer\\Repository\\CompositeRepository;\n use S... | PHP |
9d72c92f07c79bd02a28a75fa00f3bd20ed4901b | 281 | 2020-03-10 11:25:45+01:00 | -3,600 | ['34fb609aad53129a9de2700ea2010a9163f97c36'] | Avoid looping endlessly for invalid GitLab tokens in git config, fixes #8667 | [{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -690,7 +690,7 @@ protected function promptAuthAndRetry($httpStatus, $reason = null, $warning = nu\n $message = "\\n".\'Could not fetch \'.$this->fil... | PHP |
479414d8bd95d6ae0826c69e4a103366ef44200f | 281 | 2020-03-10 13:26:53+01:00 | -3,600 | ['cbec8ceb538e706467b9edbb4e43c7966b2f6ad6'] | Move bearer auth to be first to make sure it does not get shadowed by github/gitlab/.. configs | [{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -817,7 +817,9 @@ protected function getOptionsForUrl($originUrl, $additionalOptions)\n if ($this->io->hasAuthentication($originUrl)) {\n $au... | PHP |
f964b8301837a49ee1a4cf77dbfb38d0c2c2a340 | 281 | 2020-03-10 13:39:26+01:00 | -3,600 | ['0b993ba4b9bc94e6b2e63560e80d083713807f7b'] | Add bearer support in config command and add to docs/schema, refs #8671 | [{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -129,11 +129,17 @@ A list of domain names and username/passwords to authenticate against them. For\n example using `{"example.org": {"username": "alice", "password": "foo"}}` as the\n value of this option... | PHP |
781cf751914c5402ca8639371155c3284a085dd2 | 281 | 2020-03-10 13:56:35+01:00 | -3,600 | ['414bc180889c048acb266be850c8d0d95bc5c996'] | Fix schema rules to be more strict | [{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -140,12 +140,16 @@\n "gitlab-token": {\n "type": "object",\n "description": "A hash of domain name => gitlab private tokens, typical... | PHP |
2445ef5e1f00d9b1c23c0a6982690fca72260ca2 | 281 | 2020-03-10 14:53:42+01:00 | -3,600 | ['d63eb8179e28cfecd6b3dcf98e0dd37017ebeb4e'] | Refactor check-platform-reqs to use InstalledRepository and look for providers as well as platform packages, fixes #8645, closes #8676
Co-authored-by: Ellis <eantaya@nuglif.com>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be> | [{'old_path': 'src/Composer/Command/CheckPlatformReqsCommand.php', 'new_path': 'src/Composer/Command/CheckPlatformReqsCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -20,6 +20,7 @@\n use Symfony\\Component\\Console\\Input\\InputOption;\n use Symfony\\Component\\Console\\Output\\OutputInterface;\n use Co... | PHP |
94e6cfc521eeae0548f1356c29b41da65c488441 | 281 | 2020-03-10 15:09:28+01:00 | -3,600 | ['2445ef5e1f00d9b1c23c0a6982690fca72260ca2'] | Only show direct dependencies suggestions by default, add --all flag to see all in suggest command, fixes #8660 | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -416,6 +416,8 @@ If you only want a list of suggested package names, use `--list`.\n \n * **--by-package:** Groups output by suggesting package (default).\n * **--by-suggestion:** Groups output by suggested pac... | PHP |
24a5a0dacb7ccec131bce5c4c0289da4e90a5479 | 281 | 2020-03-10 15:40:45+01:00 | -3,600 | ['94e6cfc521eeae0548f1356c29b41da65c488441'] | Skip invalid PSR-0/4 classes from optimized autoloader, fixes #8403 | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -110,8 +110,7 @@ public static function createMap($path, $blacklist = null, IOInterface $io = nul\n \n foreach ($classes as $class) {\n ... | PHP |
c033644f8be083df6d72bf9a3d79dab2db22a704 | 281 | 2020-03-10 16:08:40+01:00 | -3,600 | ['24a5a0dacb7ccec131bce5c4c0289da4e90a5479'] | Present lock changes alphabetically, with uninstalls first, then all install/updates mixed | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -435,39 +435,60 @@ protected function doUpdate(RepositoryInterface $localRepo, $doInstall)\n $platformReqs = $this->extractPlatformRequirements($this->package->getRequires());\... | PHP |
5c4ef1eb96d4b3aaed601a40870752460b94fa1a | 281 | 2020-03-10 16:57:34+01:00 | -3,600 | ['c033644f8be083df6d72bf9a3d79dab2db22a704'] | Make package name validation a hard failure, fixes #7875 | [{'old_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'new_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -72,10 +72,8 @@ public function load(array $config, $class = 'Composer\\Package\\RootPackage', $cw\n {\n if (!isset($config['n... | PHP |
d271004b308c9c584e1dd4eb7b49647e4ba220e4 | 281 | 2020-03-10 17:00:28+01:00 | -3,600 | ['cd949745c3252838452fe04b89e29103c632688a'] | Also check for package requiring itself in require, not only require-dev | [{'old_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'new_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -139,6 +139,11 @@ public function load(array $config, $class = 'Composer\\Package\\RootPackage', $cw\n $aliases = $this->e... | PHP |
55d252b9c3d26bb9557dcb64097bb6f77b35d932 | 479 | 2020-03-11 13:35:28+01:00 | -3,600 | ['3e82542812333928de365dbeb0bcf3974fe2f6f9'] | GitLab: properly handle token which has Guest only access | [{'old_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -427,6 +427,30 @@ protected function getContents($url, $fetchingRepoData = false)\n if ($fetchingRepoData) {\n $json = J... | PHP |
a7a975ec1c0e3f30a04ea9ad75b696382559bc19 | 281 | 2020-03-11 15:04:18+01:00 | -3,600 | ['97e2a249e851263a01da06353e3d7bd4483e1787'] | Alias dev-master/trunk/default to 9999999-dev instead of normalizing the version to that, fixes #8323 | [{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,7 +24,7 @@\n "require": {\n "php": "^5.3.2 || ^7.0",\n "composer/ca-bundle": "^1.0",\n- "composer/semver": "^1.0",\n+ "composer/semver": "^2.0@dev",\n "composer/spd... | PHP |
402c64c2711b83ed92f5dba47fa63370fee934de | 242 | 2020-03-11 15:17:12+01:00 | -3,600 | ['55d252b9c3d26bb9557dcb64097bb6f77b35d932'] | Update src/Composer/Repository/Vcs/GitLabDriver.php
Co-Authored-By: Jordi Boggiano <j.boggiano@seld.be> | [{'old_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -445,9 +445,8 @@ protected function getContents($url, $fetchingRepoData = false)\n \n if (!$moreThanGuestAccess) {\n ... | PHP |
d559bf5387e49b108150bf4683485885cae0f89d | 281 | 2020-03-11 15:33:14+01:00 | -3,600 | ['3e82542812333928de365dbeb0bcf3974fe2f6f9'] | Allow configuring a path repo to an empty path as long as using wildcards and the wildcard root exists, fixes #8679 | [{'old_path': 'src/Composer/Repository/PathRepository.php', 'new_path': 'src/Composer/Repository/PathRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -128,6 +128,17 @@ protected function initialize()\n $urlMatches = $this->getUrlMatches();\n \n if (empty($urlMatches)) {\n+ i... | PHP |
d13ce20b6ec88453ff87cde7daf48c845827c41b | 281 | 2020-03-11 16:11:12+01:00 | -3,600 | ['a7a975ec1c0e3f30a04ea9ad75b696382559bc19'] | Fix handling of composer repos with v1 version_normalized format | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -560,6 +560,9 @@ private function whatProvides($name, array $acceptableStabilities = null, array\n if (!isset($versionsToLoad[$v... | PHP |
589aa351a829b7ff03bff84f5c1678f4436e0907 | 281 | 2020-03-11 16:44:08+01:00 | -3,600 | ['ba04a46caed9459bd87e6079ec30af3060852303'] | Change Uninstalling to Removing in lock operations | [{'old_path': 'src/Composer/DependencyResolver/Operation/UninstallOperation.php', 'new_path': 'src/Composer/DependencyResolver/Operation/UninstallOperation.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -61,7 +61,7 @@ public function getOperationType()\n */\n public function show($lock)\n {\n- ... | PHP |
9c84f4d79fe778ec8f5874a2468ff72fb3d3dda1 | 281 | 2020-03-11 17:02:25+01:00 | -3,600 | ['589aa351a829b7ff03bff84f5c1678f4436e0907'] | Make sure InstalledRepository itself can be added too but requires allowing installed repos in reposet | [{'old_path': 'src/Composer/Repository/RepositorySet.php', 'new_path': 'src/Composer/Repository/RepositorySet.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -22,6 +22,7 @@\n use Composer\\Repository\\PlatformRepository;\n use Composer\\Repository\\LockArrayRepository;\n use Composer\\Repository\\InstalledRepos... | PHP |
ddb1e79bef66a8145d91344c73deaa9498dcb4b2 | 388 | 2020-03-11 17:31:49+01:00 | -3,600 | ['9c84f4d79fe778ec8f5874a2468ff72fb3d3dda1'] | Handle dev extraction exit codes instead of completing broken lock with errors | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -429,7 +429,10 @@ protected function doUpdate(RepositoryInterface $localRepo, $doInstall)\n $this->io->writeError('Nothing to modify in lock file');\n }\n \n- ... | PHP |
1f467046d78c2647c96a96073c4d9c60b107134d | 388 | 2020-03-11 17:38:16+01:00 | -3,600 | ['ddb1e79bef66a8145d91344c73deaa9498dcb4b2'] | Implement getProviders on reposet for all repo types and add replacers
This way errors during require dev extraction make more sense | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -248,7 +248,7 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n return array("- Root composer.json req... | PHP |
06f460c557172ce59699570c38eb6d53cc2d41cc | 388 | 2020-03-11 21:32:55+01:00 | -3,600 | ['1f467046d78c2647c96a96073c4d9c60b107134d'] | Remove trailing spaces from output | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -251,7 +251,8 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n if ($providers = $repositorySet->getProvid... | PHP |
1ebeb143ae9c08f11dae3f1602646ee1f7ae5ccb | 354 | 2020-03-11 23:00:04-05:00 | 18,000 | ['a453792d6bb5e7312bf81dd09df3b6a2f64dee85'] | Fix PHP 8 warnings
The PR fixes this PHP 8 warning:
PHP Deprecated: Required parameter $ambiguousClasses follows optional parameter $blacklist in phar://.../composer.phar/src/Composer/Autoload/AutoloadGenerator.php on line 339 | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -336,7 +336,7 @@ private function filePutContentsIfModified($path, $content)\n return 0;\n }\n \n- private function addClassMapCode($fi... | PHP |
73a5cc63cc631fe66fa1f532cf5965c2879aff3a | 281 | 2020-03-12 08:12:12+01:00 | -3,600 | ['9c84f4d79fe778ec8f5874a2468ff72fb3d3dda1'] | Always use Removing for consistency between dry-run and actual install | [{'old_path': 'src/Composer/DependencyResolver/Operation/UninstallOperation.php', 'new_path': 'src/Composer/DependencyResolver/Operation/UninstallOperation.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -61,7 +61,7 @@ public function getOperationType()\n */\n public function show($lock)\n {\n- ... | PHP |
281d8930ff1c15bd2a5b0dccea3ac8e87f6bd533 | 388 | 2020-03-12 12:19:46+01:00 | -3,600 | ['06f460c557172ce59699570c38eb6d53cc2d41cc'] | For dev extraction skip pool building, we already have a working package set
Also reduce getProviders back to just providers, and add some todos | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -248,7 +248,7 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n return array("- Root composer.json req... | PHP |
3ec59204fc021ff0d07bccb4f91ba3d9bd4d03f9 | 388 | 2020-03-12 12:28:46+01:00 | -3,600 | ['281d8930ff1c15bd2a5b0dccea3ac8e87f6bd533'] | Update test: require-dev is now allowed to satisfy providers from require | [{'old_path': 'tests/Composer/Test/Fixtures/installer/provider-dev-require-cannot-satisfy-require.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/provider-dev-require-can-satisfy-require.test', 'type': <ModificationType.RENAME: 3>, 'diff': '@@ -20,21 +20,33 @@ Test that an appropriate error is thrown if a re... | PHP |
ee8df484c42ab6df0f4434864c98d141d9792757 | 388 | 2020-03-12 13:17:04+01:00 | -3,600 | ['3ec59204fc021ff0d07bccb4f91ba3d9bd4d03f9'] | Separate createPool and createPoolWithAllPackages, fix test description | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -565,7 +565,7 @@ protected function extractDevPackages(LockTransaction $lockTransaction, $platfor\n $request->requireName($link->getTarget(), $link->getConstraint());\n ... | PHP |
08cee4c3e986717a42f00d8ab91e17a7eb90fd55 | 281 | 2020-03-12 15:39:26+01:00 | -3,600 | ['8a83d5cc353ea3f561226a01accb92bbe2539cc0'] | Implement getProviders equally on all repos | [{'old_path': 'src/Composer/Repository/ArrayRepository.php', 'new_path': 'src/Composer/Repository/ArrayRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -204,6 +204,33 @@ public function addPackage(PackageInterface $package)\n $this->packageMap = null;\n }\n \n+ /**\n+ * {@inheritDoc... | PHP |
d58653627a70984f9d38787253bc23dcb6704f1d | 281 | 2020-03-12 16:40:30+01:00 | -3,600 | ['82e2a679bfedcab2b4932420dc52367724998467'] | Optimize loading of deps from fixed packages | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -76,15 +76,29 @@ public function buildPool(array $repositories, Request $request)\n // perhaps loadPackage needs to mark them as load... | PHP |
59bc957e760b21e0987dfb87ecb6d995f6596c62 | 388 | 2020-03-12 16:43:08+01:00 | -3,600 | ['d58653627a70984f9d38787253bc23dcb6704f1d'] | Simplify loading of fixed and root require packages in pool builder
additionally mark all packages replaced by fixed packages as loaded as
there is no need to load those names at all, since the fixed package
will provide them | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -53,14 +53,21 @@ public function __construct(array $acceptableStabilities, array $stabilityFlags,\n \n public function buildPool(array $re... | PHP |
bbdbb3517b59802390f74e47a499c6faf5149117 | 388 | 2020-03-12 16:45:09+01:00 | -3,600 | ['59bc957e760b21e0987dfb87ecb6d995f6596c62'] | PoolBuilder: Drop name constraints loop, already set earlier in same code | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -86,18 +86,10 @@ public function buildPool(array $repositories, Request $request)\n }\n \n $loadNames[$packageName] = ... | PHP |
8a6382d78ddeb5c2497400526b3501551ecb6b35 | 388 | 2020-03-12 18:12:05+01:00 | -3,600 | ['bbdbb3517b59802390f74e47a499c6faf5149117'] | Remove unnecessary TODOs and skip EmptyConstraint like null | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,6 +20,7 @@\n use Composer\\Repository\\PlatformRepository;\n use Composer\\Repository\\RootPackageRepository;\n use Composer\\Semver\\Cons... | PHP |
b41e768e1f60d8d5fead46a7f14a92306b12647b | 103 | 2020-03-12 23:17:14-04:00 | 14,400 | ['d0d786c0bfffa478eca96dbd8df80735b6e10baf'] | Put backticks around command for readability.
Helps to promote the command to discern it from the sentence. :) | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -328,7 +328,7 @@ public function run()\n 1 === $fundingCount ? '' : 's',\n 1 === $fundingCount ? 'is' : 'are'\n ),\n- ... | PHP |
33479f00aba6782cb77431520173066d257248d7 | 103 | 2020-03-12 23:20:10-04:00 | 14,400 | ['d0d786c0bfffa478eca96dbd8df80735b6e10baf'] | Add backticks to test. | [{'old_path': 'tests/Composer/Test/Fixtures/installer/install-funding-notice.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/install-funding-notice.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,7 +47,7 @@ Package operations: 3 installs, 0 updates, 0 removals\n Writing lock file\n Generating au... | PHP |
3a9b786400756bee7a036a87159174b45c8c83ad | 281 | 2020-03-13 11:18:41+01:00 | -3,600 | ['e15f7d6bb752b74e15f34bf81d681740b8ae0b91'] | Bring suggest output in line with the rest of update/install output | [{'old_path': 'src/Composer/Installer/SuggestedPackagesReporter.php', 'new_path': 'src/Composer/Installer/SuggestedPackagesReporter.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -165,7 +165,7 @@ public function outputMinimalistic(RepositoryInterface $installedRepo = null)\n {\n $suggestedPackages ... | PHP |
0d2c2c044a6e18455962ff78159470c7c688b5c3 | 281 | 2020-03-13 11:39:19+01:00 | -3,600 | ['70f23e42f3bceec973a56ca3a3732508c07b20a2'] | Avoid skipping feature branch detection if no branch-alias is defined at all | [{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -231,7 +231,7 @@ private function guessFeatureVersion(array $packageConfig, $version, array $bran\n \n // ignore feature branches if t... | PHP |
bbb781b1edbf50f273af96d00d4648cb3d85fa34 | 214 | 2020-03-13 14:40:25+01:00 | -3,600 | ['12b32707fa4c1fe862d809e175b8cfef7e3c0b4c'] | Add --dry-run to composer require | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -49,6 +49,7 @@ protected function configure()\n new InputOption('dev', null, InputOption::VALUE_NONE, 'Add requirement to require-dev.'),\n ... | PHP |
86677ad1726fa5eb6e84a2b974e70c76abf8afca | 281 | 2020-03-13 18:28:27+01:00 | -3,600 | ['12b32707fa4c1fe862d809e175b8cfef7e3c0b4c'] | Avoid scanning files twice when generating optimized autoloaders, fixes #8683 | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -101,15 +101,15 @@ public function setRunScripts($runScripts = true)\n $this->runScripts = (bool) $runScripts;\n }\n \n- public functio... | PHP |
dc774a9409d03c3d1ddbfa35677aba4fedb028dc | 166 | 2020-03-20 21:30:03+01:00 | -3,600 | ['3405781f1576512dbd2c9607e3f2ac57826e9711'] | [DOCUMENTATION] Improve folder structure figure in "Path" type | [{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -626,12 +626,14 @@ especially useful when dealing with monolithic repositories.\n \n For instance, if you have the following directory structure in your repository:\n ```\n-- apps\n-\\_ my-app... | PHP |
7e679656a4a847f49b06a5ca3117e67223591063 | 281 | 2020-03-24 12:35:18+01:00 | -3,600 | ['b11f1c308281fefef98fd612974a1ed8a9077f87'] | Keep absolute path repos symlinks absolute, fixes #8700 | [{'old_path': 'src/Composer/Downloader/PathDownloader.php', 'new_path': 'src/Composer/Downloader/PathDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -75,7 +75,7 @@ public function download(PackageInterface $package, $path, $output = true)\n }\n \n // Get the transport options with def... | PHP |
b644f63a939f788d651f39dc1b794275d8f7b2b4 | 178 | 2020-03-24 22:47:11+01:00 | -3,600 | ['7e679656a4a847f49b06a5ca3117e67223591063'] | fixed help URL for ClearCacheCommand | [{'old_path': 'src/Composer/Command/ClearCacheCommand.php', 'new_path': 'src/Composer/Command/ClearCacheCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -33,7 +33,7 @@ protected function configure()\n The <info>clear-cache</info> deletes all cached packages from composer's\n cache directory.\n \n-Read mo... | PHP |
da84763f034181d834daa881c64d73b29f86f9ee | 388 | 2020-03-26 12:03:52+01:00 | -3,600 | ['6679dde7136941230c647e029105d2ca2f67efb3'] | Move partial update handling to pool builder | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,6 +43,8 @@ class PoolBuilder\n private $packages = array();\n private $unacceptableFixedPackages = array();\n \n+ private $unfi... | PHP |
01fe92905aeb2928318dffe1188dc73cb4213c0f | 388 | 2020-03-27 21:41:49+01:00 | -3,600 | ['da84763f034181d834daa881c64d73b29f86f9ee'] | The update allow list is now generated while building the pool
This reduces code complexity while making partial updates more
predictable. This also allows composer require to successfully run a
partial update for a new package with transitive dependency updates. | [{'old_path': 'src/Composer/Command/UpdateCommand.php', 'new_path': 'src/Composer/Command/UpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -13,6 +13,7 @@\n namespace Composer\\Command;\n \n use Composer\\Composer;\n+use Composer\\DependencyResolver\\Request;\n use Composer\\Installer;\n use Compose... | PHP |
392d0abd21a716fb7b2a0b19c45c5e71646db20e | 388 | 2020-03-27 22:15:04+01:00 | -3,600 | ['01fe92905aeb2928318dffe1188dc73cb4213c0f'] | Rename test files and standardize on allow list rather than whitelist | [{'old_path': 'doc/01-basic-usage.md', 'new_path': 'doc/01-basic-usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -159,7 +159,7 @@ php composer.phar update\n > if the `composer.lock` has not been updated since changes were made to the\n > `composer.json` that might affect dependency resolution.\n \n-If you ... | PHP |
17b50157e49b4a18b19c408c1bb085e9053ec520 | 388 | 2020-03-27 22:46:54+01:00 | -3,600 | ['392d0abd21a716fb7b2a0b19c45c5e71646db20e'] | Test: composer update new/plg --with-dependencies updates locked transitive deps | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/update-allow-list-with-dependencies-require-new.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,48 @@\n+--TEST--\n+Require a new package in the composer.json and updating with its name as an argument and with-dependencies should updat... | PHP |
443553423bbfa8e966df1c9299419885d4cc8a55 | 388 | 2020-03-27 22:59:00+01:00 | -3,600 | ['17b50157e49b4a18b19c408c1bb085e9053ec520'] | Mark replaced packages for update when using --with-dependencies
This is necessary to allow the requiring of new packages which replace
packages currently locked without requiring explicitly listing them as
an argument, so simplifies the composer require command | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -215,7 +215,6 @@ private function loadPackage(Request $request, PackageInterface $package, $propa\n // apply to\n if (isset($t... | PHP |
ef42d323b1e98816670cbe201a1922a610d13203 | 388 | 2020-03-27 23:07:02+01:00 | -3,600 | ['443553423bbfa8e966df1c9299419885d4cc8a55'] | Test: partial update adding a new dep on a locked package should mark it for update | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/update-allow-list-with-dependencies-new-requirement.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,49 @@\n+--TEST--\n+When partially updating a package to a newer version and the new version has a new requirement for a package we alr... | PHP |
fc40fefa6f1cb351f13d696446ef6ffdb64f3235 | 388 | 2020-03-27 23:13:21+01:00 | -3,600 | ['ef42d323b1e98816670cbe201a1922a610d13203'] | Make sure nameConstraints is always set when loading a name | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -274,6 +274,8 @@ private function loadPackage(Request $request, PackageInterface $package, $propa\n if ($request->getUpdat... | PHP |
73251691a0be65440c722461cb38f8574cea0c25 | 281 | 2020-03-28 20:36:55+01:00 | -3,600 | ['6679dde7136941230c647e029105d2ca2f67efb3'] | Avoid emptying the directory before extracting an archive into it, check that it is empty instead | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -38,7 +38,10 @@ public function install(PackageInterface $package, $path, $output = true)\n $this->io->writeError('Extracting archive'... | PHP |
918768fc544198f4550e21e4f6181cb47ae63d5b | 281 | 2020-03-28 20:37:09+01:00 | -3,600 | ['73251691a0be65440c722461cb38f8574cea0c25'] | Make sure we get a temporary dir which is unique | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -43,7 +43,10 @@ public function install(PackageInterface $package, $path, $output = true)\n throw new \\RuntimeException('Expected emp... | PHP |
1b1d59ee6cbb70ef124b09ec1ff3b909e139b1b7 | 281 | 2020-03-28 20:38:50+01:00 | -3,600 | ['918768fc544198f4550e21e4f6181cb47ae63d5b'] | Make FileDownloader always download file first in vendor-dir/composer/$tmp instead of next to install path to avoid issues with custom installers not being loaded when downloading on first install, and use cleanup method properly | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -91,32 +91,15 @@ public function install(PackageInterface $package, $path, $output = true)\n }\n \n $this->filesystem->rem... | PHP |
6e45a53e76fe7d3fc85cdcb8c7bf873e7c9d83cf | 281 | 2020-03-28 20:39:11+01:00 | -3,600 | ['1b1d59ee6cbb70ef124b09ec1ff3b909e139b1b7'] | Add support for relative paths in handling of install-path for the installed.json | [{'old_path': 'src/Composer/Repository/FilesystemRepository.php', 'new_path': 'src/Composer/Repository/FilesystemRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -96,7 +96,7 @@ public function write($devMode, InstallationManager $installationManager)\n foreach ($this->getCanonicalPackages() as... | PHP |
800491175b7c3db0eec19c81997d0e51fdd47771 | 281 | 2020-03-28 20:50:49+01:00 | -3,600 | ['6e45a53e76fe7d3fc85cdcb8c7bf873e7c9d83cf'] | Avoid failing cleanup when a package gets uninstalled | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -239,13 +239,13 @@ public function cleanup($type, PackageInterface $package, $path, PackageInterfac\n if (file_exists($fileName)) {\n ... | PHP |
9fb09049ff3b17bc6298d18bba92a79b51892408 | 388 | 2020-03-30 16:21:27+02:00 | -7,200 | ['fc40fefa6f1cb351f13d696446ef6ffdb64f3235'] | Rename and document constants for partial update behavior | [{'old_path': 'src/Composer/Command/RemoveCommand.php', 'new_path': 'src/Composer/Command/RemoveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -181,7 +181,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n ->setApcuAutoloader($apcu)\n ->setUpdate(t... | PHP |
c270d3cfa6c677bd92db046bf6ff58018e2e42be | 388 | 2020-04-01 15:27:51+02:00 | -7,200 | ['71c3c63b545b1fd812d5883146b651f40ba960cb'] | PoolBuilder: make io non-nullable, NullIO can be used instead | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ class PoolBuilder\n private $skippedLoad = array();\n private $updateAllowWarned = array();\n \n- public function __... | PHP |
14000e75758e73f03fb7750ca4f2c81699013822 | 388 | 2020-04-01 16:40:45+02:00 | -7,200 | ['c270d3cfa6c677bd92db046bf6ff58018e2e42be'] | PoolBuilder: Ensure alias references get removed when unfixing a locked package
Use the last key + 1 for an index instead of count, since we unset elements somtimes | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -200,7 +200,8 @@ public function buildPool(array $repositories, Request $request)\n \n private function loadPackage(Request $request, Pack... | PHP |
2dfbf3692a2f5535ef48384aa83710d73113257a | 388 | 2020-04-01 16:42:12+02:00 | -7,200 | ['14000e75758e73f03fb7750ca4f2c81699013822'] | PoolBuilder: Remove null default for io | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ class PoolBuilder\n private $skippedLoad = array();\n private $updateAllowWarned = array();\n \n- public function __... | PHP |
613450e58a90538e92de4cf7be62a1fa11afd917 | 388 | 2020-04-02 00:08:53+02:00 | -7,200 | ['2dfbf3692a2f5535ef48384aa83710d73113257a'] | PoolBuilder: properly clean up alias packages when unfixing packages
Prevent aliases to be duplicated: no need to apply root aliases from
composer.json on packages currently locked, they should have their
aliases in the lock file, otherwise request an update. | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -220,7 +220,9 @@ private function loadPackage(Request $request, PackageInterface $package, $propa\n }\n }\n \n- if ... | PHP |
5ad93959cf674e85296e64714ff0d2006199c64f | 388 | 2020-04-02 00:54:49+02:00 | -7,200 | ['613450e58a90538e92de4cf7be62a1fa11afd917'] | PoolBuilder: On partial update of a new dep with mutual replace, unfix replacer
Test also verifies provider does not get uninstalled in partial update
for another package name | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -67,10 +67,11 @@ public function buildPool(array $repositories, Request $request)\n foreach ($request->getLockedRepository()->getP... | PHP |
f7b5cbd1fc8fdaf18237e6d9f799fdc6e9e9c327 | 388 | 2020-04-02 01:12:34+02:00 | -7,200 | ['5ad93959cf674e85296e64714ff0d2006199c64f'] | Lock file should not contain new aliases for packages which were not updated | [{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -112,4 +112,22 @@ public function getNewLockPackages($devMode, $updateMirrors = false)\n \n return $packages;\n }\n+\n+ ... | PHP |
1b55b466fb79ce5dd01852d71a942abcf487e5f9 | 388 | 2020-04-02 14:19:36+02:00 | -7,200 | ['379baa1560730364f049855547550b90b933e288'] | require: Add with-dependencies and with-all-dependencies as alternative option names | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -62,6 +62,8 @@ protected function configure()\n new InputOption('update-no-dev', null, InputOption::VALUE_NONE, 'Run the dependency update wit... | PHP |
9858718ef6dfcaa3d6a7a73654b62b82ac548ecd | 388 | 2020-04-02 15:32:02+02:00 | -7,200 | ['1b55b466fb79ce5dd01852d71a942abcf487e5f9'] | Give a clearer error message explaining how to update a conflicting locked dependency | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -268,8 +268,8 @@ private function loadPackage(Request $request, PackageInterface $package, $propa\n }\n }\n \n- // ... | PHP |
88e3f24b916525831ef1995cc4e11e7d56c501b0 | 388 | 2020-04-02 15:42:42+02:00 | -7,200 | ['9858718ef6dfcaa3d6a7a73654b62b82ac548ecd'] | Fix description of test case | [{'old_path': 'tests/Composer/Test/Fixtures/installer/update-allow-list-require-new-replace.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/update-allow-list-require-new-replace.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n --TEST--\n-Require a new package in the composer.json and u... | PHP |
4fab2c7759ac07b6a18849b1fd86e93501ad5484 | 388 | 2020-04-02 16:02:17+02:00 | -7,200 | ['51c48b1519677b45474deb6b5ea68eb0c95f8577'] | Error wording use "thus cannot" instead of "can thus not" | [{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -201,11 +201,11 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n \n $reason = null;\n ... | PHP |
ce0c2d44cd46aef82e1115c83e5d0f483d76425e | 388 | 2020-04-02 16:20:54+02:00 | -7,200 | ['4fab2c7759ac07b6a18849b1fd86e93501ad5484'] | Adjust forgotten error message in test to new language | [{'old_path': 'tests/Composer/Test/Fixtures/installer/update-allow-list-require-new-replace.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/update-allow-list-require-new-replace.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ Your requirements could not be resolved to an installable s... | PHP |
8072ec9b7cf8e42732aca3bfe22cf2ecaf0570ed | 388 | 2020-04-02 16:31:30+02:00 | -7,200 | ['ce0c2d44cd46aef82e1115c83e5d0f483d76425e'] | Number 2: Adjust forgotten error message in test to new language | [] | PHP |
1c73f078f7ec2e8048e98970ba1e617cc2d30b2c | 281 | 2020-04-06 21:17:03+02:00 | -7,200 | ['8072ec9b7cf8e42732aca3bfe22cf2ecaf0570ed'] | Remove repository field from getProviders result | [{'old_path': 'src/Composer/Repository/ArrayRepository.php', 'new_path': 'src/Composer/Repository/ArrayRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -221,7 +221,6 @@ public function getProviders($packageName)\n 'name' => $candidate->getName(),\n 'desc... | PHP |
2b86df40039e82f148bd50b47be4aa848a6ad107 | 281 | 2020-04-07 10:05:53+02:00 | -7,200 | ['87757de6bcf42b1833faba963d4f24bb2fb3ef22'] | Add a hint about being on v2 when things go wrong | [{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -59,6 +59,15 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n $text .=... | PHP |
4e3d9899789cd2f80c9b608ff3f1429a0f7dbbf1 | 388 | 2020-04-07 11:08:47+02:00 | -3,600 | ['2b86df40039e82f148bd50b47be4aa848a6ad107'] | A package providing a name should not conflict with a package replacing it
Simplified whatProvides, mustMatchName is unused, removed unused
function from policy | [{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -34,7 +34,6 @@ class Pool implements \\Countable\n \n protected $packages = array();\n protected $packageByName = array();\n- protected $packageB... | PHP |
80a5fdf398cc417d2a4251de8591c56cf6484861 | 388 | 2020-04-07 11:11:18+02:00 | -3,600 | ['4e3d9899789cd2f80c9b608ff3f1429a0f7dbbf1'] | Remove obsolete rules and their generation
The only automatic conflict we have results from packages using the same name
either by literally having the same name and being different versions or they
replace the same name, so
- removed all types of obsolete rules
- simplified rule generation significantly
- got rid of... | [{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -87,20 +87,20 @@ public function count()\n * packages must match or null to return all\n * @return Pack... | PHP |
415b36a1a1cf9bae5709018876a43d772498e995 | 388 | 2020-04-07 11:11:18+02:00 | -3,600 | ['80a5fdf398cc417d2a4251de8591c56cf6484861'] | Remove match types from Pool as these are no longer used | [{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -27,11 +27,6 @@\n */\n class Pool implements \\Countable\n {\n- const MATCH_NONE = 0;\n- const MATCH = 1;\n- const MATCH_PROVIDE = 2;\n- const ... | PHP |
f38e969b026144b0e9fb17b570b9b50bc9d89b74 | 388 | 2020-04-07 11:16:13+02:00 | -7,200 | ['415b36a1a1cf9bae5709018876a43d772498e995'] | Update test expected output to different formatting | [{'old_path': 'tests/Composer/Test/Fixtures/installer/update-allow-list-require-new-replace.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/update-allow-list-require-new-replace.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ Your requirements could not be resolved to an installable s... | PHP |
c4a3e912a11222941f403f4a6f8ff8f104b73f81 | 436 | 2020-04-07 12:28:17+02:00 | -7,200 | ['ce8e9d24bd14d2286f19bc3c3b27a271c06df039'] | Remove duplicated `dry-run` option | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -58,7 +58,6 @@ protected function configure()\n new InputOption('dry-run', null, InputOption::VALUE_NONE, 'Outputs the operations but will not... | PHP |
8945936dbda22a676dbf1168ea8869a2812c9fb7 | 281 | 2020-04-07 13:06:03+02:00 | -3,600 | ['ce8e9d24bd14d2286f19bc3c3b27a271c06df039'] | Deduplicate solver problems which list problems for dev-master AND 9999999-dev | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -96,7 +96,7 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n $messages[] = $rule->getPrettyString($rep... | PHP |
e09dd9c10db594f82f431b826147a493e0d2c88e | 281 | 2020-04-07 13:06:04+02:00 | -3,600 | ['8945936dbda22a676dbf1168ea8869a2812c9fb7'] | Detect packages which are only available in lock file and warn appropriately | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,6 +14,7 @@\n \n use Composer\\Package\\CompletePackageInterface;\n use Composer\\Repository\\RepositorySet;\n+use Composer\\Repository\\LockArrayR... | PHP |
7cca45131293a3825ac378d60e38283e4794ea89 | 281 | 2020-04-07 13:06:04+02:00 | -3,600 | ['e09dd9c10db594f82f431b826147a493e0d2c88e'] | Fix more issues with dev-master normalization in aliases | [{'old_path': 'src/Composer/Package/AliasPackage.php', 'new_path': 'src/Composer/Package/AliasPackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -173,19 +173,27 @@ public function isRootPackageAlias()\n */\n protected function replaceSelfVersionDependencies(array $links, $linkType)\n {\n+ ... | PHP |
3e19e3b0f1373e77838a87b972bebc8bccda301e | 281 | 2020-04-07 13:06:05+02:00 | -3,600 | ['7cca45131293a3825ac378d60e38283e4794ea89'] | Show alias of version in package lists in problems | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -13,6 +13,7 @@\n namespace Composer\\DependencyResolver;\n \n use Composer\\Package\\CompletePackageInterface;\n+use Composer\\Package\\AliasPackage;\... | PHP |
25cd2382cbb1951b5597c1e4df294a5ec05b8382 | 492 | 2020-04-07 14:13:50+02:00 | -7,200 | ['cb68fc3134ef04a1652a86e88e73bbbdab5cb733'] | Raise phpstan level to 1 (#8027) | [{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,14 +1,32 @@\n parameters:\n+ level: 1\n autoload_files:\n - autoload.php\n- level: 0\n excludes_analyse:\n - '../tests/Composer/Test/Fixtures/*'\n - '../tests/... | PHP |