Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
45d104ab832e2c32ccbcf78ebe19ab5946ffd9d9
14
2020-09-29 21:13:54+02:00
-7,200
['5df1797d20c6ab1eb606dc0f0d76a16ba57ddb7f']
Document authentication for private packages
[{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -507,7 +507,7 @@ package repository definitions. It will fetch all the packages that are\n `require`d and dump a `packages.json` that is your `composer` repository.\n \n Check [the satis GitHu...
PHP
9d544d98b3981893f9a72d032fa0daf4a3afe2b9
224
2020-10-01 18:35:35-03:00
10,800
['5df1797d20c6ab1eb606dc0f0d76a16ba57ddb7f']
Added short flags for 'with-dependencies' and 'with-all-dependencies'
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -67,8 +67,8 @@ protected function configure()\n new InputOption('update-no-dev', null, InputOption::VALUE_NONE, 'Run the dependency update wit...
PHP
bfb4abfb56a1e71990d6860dfea34e77a6e14340
330
2020-10-02 10:11:47+02:00
-7,200
['23d42c6717a6ceb4669ba4c6567a2cb6b6fa3f5a']
Fixed description of StatusCommand: It do list all changes in vendor, not only for "source" ones I tested it, and even with "dist" packages, the status command is able to find modified vendor (And that's amazing, thanks)
[{'old_path': 'src/Composer/Command/StatusCommand.php', 'new_path': 'src/Composer/Command/StatusCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -43,7 +43,7 @@ protected function configure()\n {\n $this\n ->setName('status')\n- ->setDescription('Shows a list of locally ...
PHP
2afd7e591314d3e100d3791886a09f0285db0c2d
14
2020-10-05 14:09:58+02:00
-7,200
['e90e08dc26e21e1cdb255082475ebf94a0588234']
Readded http basic auth page with link to new page so old links don't break
[{'old_path': None, 'new_path': 'doc/articles/http-basic-authentication.md', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,7 @@\n+<!--\n+ tagline: Access privately hosted packages\n+-->\n+\n+# HTTP basic authentication\n+\n+This documentation has moved to the generic ["authentication in private packages doc...
PHP
369c2ff552685b6e65fea7fa2cb96cc54d9c879c
229
2020-10-05 20:52:27+02:00
-7,200
['7a49cda9f6d22389b75969baff814bb1ad265998']
Implement PR code style feedback
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -106,8 +106,9 @@ public function download(PackageInterface $package, $path, PackageInterface $pre\n throw new \\InvalidArgumentException('Th...
PHP
78f9dd73ced80410301733bb681d9947cdbdf023
14
2020-10-05 21:11:16+02:00
-7,200
['2afd7e591314d3e100d3791886a09f0285db0c2d']
Rename handling private packages page to better reflect content
[{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -507,7 +507,7 @@ package repository definitions. It will fetch all the packages that are\n `require`d and dump a `packages.json` that is your `composer` repository.\n \n Check [the satis GitHu...
PHP
ad643d9957cc573908bc30bb144e5f91245816c3
388
2020-10-07 14:21:22+02:00
-7,200
['23d42c6717a6ceb4669ba4c6567a2cb6b6fa3f5a']
VersionGuesser: Analyze remote origin and upstream branches too
[{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -118,7 +118,7 @@ private function guessGitVersion(array $packageConfig, $path)\n $isDetached = false;\n \n // try to fetch cur...
PHP
db2f09a36167622a5d868d6000ac1e88cba0afcb
388
2020-10-07 14:25:55+02:00
-7,200
['ad643d9957cc573908bc30bb144e5f91245816c3']
VersionGuesser: Update tests to match new git command generated
[{'old_path': 'tests/Composer/Test/Package/Version/VersionGuesserTest.php', 'new_path': 'tests/Composer/Test/Package/Version/VersionGuesserTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ public function testHgGuessVersionReturnsData()\n ->expects($this->at($step))\n -...
PHP
b3c465d55a78d645f1063b82f46fbf4aa2566a0f
388
2020-10-07 15:10:20+02:00
-7,200
['db2f09a36167622a5d868d6000ac1e88cba0afcb']
VersionGuesser: local branches still need to be considered
[{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -142,7 +142,7 @@ private function guessGitVersion(array $packageConfig, $path)\n }\n \n if ($branch && !preg_m...
PHP
92722a9a4cd4e71db8027437d7f0ee3dc97b5420
388
2020-10-07 15:11:08+02:00
-7,200
['b3c465d55a78d645f1063b82f46fbf4aa2566a0f']
VersionGuesser: Fix root package loader test which relies on git cmd in guesser
[{'old_path': 'tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php', 'new_path': 'tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -137,7 +137,7 @@ public function testFeatureBranchPrettyVersion()\n ->expects($this->at(0))\n ...
PHP
89afb823b636f31e1f9e78f7f49b9056d6a78c3a
388
2020-10-07 15:21:04+02:00
-7,200
['92722a9a4cd4e71db8027437d7f0ee3dc97b5420']
VersionGuesser: Add test for remote version guess
[{'old_path': 'tests/Composer/Test/Package/Version/VersionGuesserTest.php', 'new_path': 'tests/Composer/Test/Package/Version/VersionGuesserTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -500,4 +500,46 @@ public function testNumericBranchesShowNicely()\n $this->assertEquals("1.5.x-dev", $versionDat...
PHP
791bbc80a4e9192a59a37d1282ff5032c4e52692
281
2020-10-08 14:26:04+02:00
-7,200
['6698e0bafa98850a064c84127f747fa3207023cf']
Backport some fixes from 2.0, and fix sorting to sort remote branches after local ones, refs #9270
[{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -244,13 +244,28 @@ private function guessFeatureVersion(array $packageConfig, $version, array $bran\n $nonFeatureBranches = im...
PHP
85070c0afd585a62740a4a0386c4e4629fc1cd08
338
2020-10-10 12:01:58+02:00
-7,200
['03b8c3db3f836c52f79c2267ea773216a69b9abf']
Fixed a white-space typo A colon has been wrapped to a next line due to a redundant space.
[]
PHP
28fe3baf9ca59b74c07e16d0a68ead0f7dac8a70
281
2020-10-12 07:57:14+02:00
-7,200
['2c6a9aba32098059551ea303e401758d58eff8d9']
Disable secure-http automatically when disable-tls is enabled, fixes #9235
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -96,7 +96,8 @@ gitlab.com the domain names must be also specified with the\n Defaults to `false`. If set to true all HTTPS URLs will be tried with HTTP\n instead and no network level encryption is perform...
PHP
159bb84fa63c30cf9289d4698458e442c5d0ee1b
281
2020-10-12 08:16:36+02:00
-7,200
['28fe3baf9ca59b74c07e16d0a68ead0f7dac8a70']
Allow running the config command to disable tls even if openssl is not present, fixes #9198
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -586,7 +586,11 @@ public static function createRemoteFilesystem(IOInterface $io, Config $config =\n {\n static $warned = false;\n $disableTls = false;\n- if ($co...
PHP
9528ce705796a9b3b7fb541c30de8a0cba59f9b1
281
2020-10-12 09:22:23+02:00
-7,200
['f966de94a9331b87be155a761b89417885b91f47']
Fix invalid usage of Link class, fixes #9252
[{'old_path': 'src/Composer/Repository/InstalledRepository.php', 'new_path': 'src/Composer/Repository/InstalledRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,7 @@\n use Composer\\Package\\Version\\VersionParser;\n use Composer\\Semver\\Constraint\\ConstraintInterface;\n use Composer\\Semve...
PHP
6f77c5f5ead6c3a540e192a5309bfd732a4da258
281
2020-10-12 10:17:06+02:00
-7,200
['9528ce705796a9b3b7fb541c30de8a0cba59f9b1']
Avoid adding aliased locked packages twice in the LockArrayRepository, fixes #9240
[{'old_path': 'src/Composer/Package/Locker.php', 'new_path': 'src/Composer/Package/Locker.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -179,7 +179,6 @@ public function getLockedRepository($withDevReqs = false)\n $packageByName[$package->getName()] = $package;\n \n if ($package...
PHP
9c4b00be674d8fa41703f63549cb6d8020a0bf54
281
2020-10-12 10:36:12+02:00
-7,200
['de3de0697eb94450816e5b68dec8be723e5af197']
Add -w/-W to docs, refs #9257
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -181,8 +181,8 @@ php composer.phar update vendor/package:2.0.1 vendor/package2:3.0.*\n * **--no-scripts:** Skips execution of scripts defined in `composer.json`.\n * **--no-progress:** Removes the progress disp...
PHP
6bf136489fc4b6f79099b020c9b339528e46139c
281
2020-10-12 10:53:35+02:00
-7,200
['159bb84fa63c30cf9289d4698458e442c5d0ee1b']
Ignore the COMPOSER env var when executing global scope commands, fixes #9259
[{'old_path': 'src/Composer/Command/GlobalCommand.php', 'new_path': 'src/Composer/Command/GlobalCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -75,6 +75,12 @@ public function run(InputInterface $input, OutputInterface $output)\n return parent::run($input, $output);\n }\n \n+ ...
PHP
09ef026d43fc5ac032d083241e2cab0320ddd325
281
2020-10-12 12:31:54+02:00
-7,200
['d204eb481446cad04bab9b06d06949ada1dfd31a']
Remove OperationInterface::getReason, closes #9230, closes #9263
[{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,6 +28,7 @@\n - packages are now wrapped into a `"packages"` top level key instead of the whole file being the package array\n - packages now contain an `"installed-path"` key which lists where they we...
PHP
df22988003ed00fe39988bd3335f0c56e2b407ae
281
2020-10-12 13:06:00+02:00
-7,200
['09ef026d43fc5ac032d083241e2cab0320ddd325']
Add note about dev-master/trunk/default aliases in v2, fixes composer/semver#115
[{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,6 +11,7 @@\n - PEAR support (repository, downloader, etc.) has been removed\n - `update` now lists changes to the lock file first (update step), and then the changes applied when installing the lock file ...
PHP
bc1cb1636dc5d9e8dea8ede0d00f1eae725bbf3c
281
2020-10-12 15:22:21+02:00
-7,200
['6bf136489fc4b6f79099b020c9b339528e46139c']
Remove dead code, fixes #9277
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -449,10 +449,7 @@ final protected function determineRequirements(InputInterface $input, OutputInte\n $existingPackages[] = $package->getName();\n ...
PHP
06ab043f7b589dd3c81ee6b08c3384b183144fea
281
2020-10-12 16:12:48+02:00
-7,200
['53de10072196b2e38d738f9830c6e57cb621b093']
Minor fix, refs #9250
[{'old_path': 'doc/articles/handling-private-packages.md', 'new_path': 'doc/articles/handling-private-packages.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -213,8 +213,7 @@ Example using a custom HTTP Header field for token authentication:\n \n ### Authentication\n \n-Authentication can by handled in several ...
PHP
e537ae953ee6b91abca55050271b37340d5e7fa5
281
2020-10-13 10:22:46+02:00
-7,200
['0775e261c5ec3c313380256b174d43d93ba6f2fe']
Add apcu prefix flag to docs, refs #9212
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -112,6 +112,8 @@ resolution.\n * **--classmap-authoritative (-a):** Autoload classes from the classmap only.\n Implicitly enables `--optimize-autoloader`.\n * **--apcu-autoloader:** Use APCu to cache found/no...
PHP
7917a7e7579c9c96916398da7d9736c65420fb64
281
2020-10-13 10:28:36+02:00
-7,200
['e537ae953ee6b91abca55050271b37340d5e7fa5']
Allow fetching the http downloader and process executor from the loop
[{'old_path': 'src/Composer/Util/Loop.php', 'new_path': 'src/Composer/Util/Loop.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,22 +21,40 @@\n */\n class Loop\n {\n+ /** @var HttpDownloader */\n private $httpDownloader;\n+ /** @var ProcessExecutor|null */\n private $processExecutor;\n+ /**...
PHP
431dc0d52634a11af3df6c3b49ab84d42442ad48
281
2020-10-13 11:04:16+02:00
-7,200
['7917a7e7579c9c96916398da7d9736c65420fb64']
Add sync helper to give plugins utilities to work with async stuff more easily when one does not care about async
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -591,6 +591,8 @@ public static function create(IOInterface $io, $config = null, $disablePlugins =\n }\n \n /**\n+ * If you are calling this in a plugin, you probably should ins...
PHP
4a8dbcd1451b7fd1e3537dee2302549587db8e2c
281
2020-10-13 11:17:42+02:00
-7,200
['bc1cb1636dc5d9e8dea8ede0d00f1eae725bbf3c']
Fix set-env to use the new gh actions files
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -93,7 +93,7 @@ jobs:\n \n - name: "Set SYMFONY_PHPUNIT_VERSION environment variable"\n if: "matrix.php-version == \'7.4\'"\n- r...
PHP
3c25d180e63f9e0dd2f41c3e1a46a6027c0ba80e
281
2020-10-13 12:08:42+02:00
-7,200
['cb1c35ab5276ffde3be63c1af0425dffbdca6d9a']
Add detailed notes about events in upgrade guide, add COMPOSER_DEBUG_EVENTS env var for debugging events
[{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,7 +30,7 @@\n - packages now contain an `"installed-path"` key which lists where they were installed\n - there is a top level `"dev"` key which stores whether dev requirements were installed or not\n -...
PHP
badd1f214658b0de70398d7c346f045d457cd5f9
281
2020-10-13 12:33:43+02:00
-7,200
['24abd233eca36afb71f024b323f3b68e3c188193']
Remove silly default values of false on Installer class, refs #9204
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -234,7 +234,7 @@ public function installProject(IOInterface $io, Config $config, InputInterface $\n ->setApcuAutoloader($config->g...
PHP
8ad33298ffab611000975f360aca68a93e100a14
281
2020-10-13 12:50:58+02:00
-7,200
['badd1f214658b0de70398d7c346f045d457cd5f9']
Fix regression, refs #9204
[{'old_path': 'src/Composer/Repository/Vcs/FossilDriver.php', 'new_path': 'src/Composer/Repository/Vcs/FossilDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -165,7 +165,7 @@ public function getFileContent($file, $identifier)\n public function getChangeDate($identifier)\n {\n $this->proces...
PHP
893fbfcb898f27a8ff70c2fd0939f1b58b83e4f8
398
2020-10-13 13:56:18+02:00
-7,200
['2c6a9aba32098059551ea303e401758d58eff8d9']
Add support for "extra.branch-version"
[{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -658,6 +658,17 @@ the branch or tag that is currently checked out. Otherwise, the version should\n be explicitly defined in the package\'s `composer.json` file. If the version\n cannot be reso...
PHP
d702fa0e1a57ec7ef0e1feaec5b7a261bb1d85bd
281
2020-10-13 15:14:20+02:00
-7,200
['528030716e53dc09f102cd21827d7864675c7a81']
Add test to ensure root requirements do not get expanded by the pool builder
[{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/root-requirements-avoid-loading-further-versions.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,30 @@\n+--TEST--\n+Root requirements avoid loading of further versions\n+\n+--REQUEST--\n+{\n+ "require": {\n+ ...
PHP
4feed8b85cf560ce52dfae6cff207c28dee30a99
398
2020-10-13 15:43:12+02:00
-7,200
['fec3c6a4e9ce36b0f519aec9e85c8baf8afc8e2d']
Fix parsing "branch-version"
[{'old_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'new_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -82,7 +82,7 @@ public function load(array $config, $class = 'Composer\\Package\\RootPackage', $cw\n $commit = null;\n \n ...
PHP
9ca74576985b8f8a77d5d676255281fe872ed1ac
281
2020-10-13 16:18:28+02:00
-7,200
['7ea6d5d2e7b9805974afc239788fea223107e3f5']
Check whether remove command successfully removed the target packages, fixes #6998
[{'old_path': 'src/Composer/Command/RemoveCommand.php', 'new_path': 'src/Composer/Command/RemoveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -209,9 +209,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n 'require' => $rootPackage->getRequires(),\n ...
PHP
2c8cbebd8565bb188300655b7145dd854e5a4041
14
2020-10-13 23:30:47+02:00
-7,200
['9ca74576985b8f8a77d5d676255281fe872ed1ac']
Update authentication methods in documentation
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -900,9 +900,10 @@ If set to 1, this env allows running Composer when the Xdebug extension is enabl\n ### COMPOSER_AUTH\n \n The `COMPOSER_AUTH` var allows you to set up authentication as an environment variable...
PHP
53b09302876d9655b13a13e3cc2634f9100554b9
14
2020-10-13 23:55:17+02:00
-7,200
['2c8cbebd8565bb188300655b7145dd854e5a4041']
Move some duplicate documentation, link across multiple pages and clarify some texts
[{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -316,23 +316,10 @@ Please note:\n \n #### BitBucket Driver Configuration\n \n-The BitBucket driver uses OAuth to access your private repositories via the BitBucket REST APIs, and you will need...
PHP
85eb007f4fca87598491be3eb625ff609cdb6a29
388
2020-10-14 11:13:51+02:00
-7,200
['9ca74576985b8f8a77d5d676255281fe872ed1ac']
Transaction: Define a total order on packages to keep behavior on PHP8 So far the ordering of alias packages with the same name was undefined so the actual order was determined by implementation of the sorting algorithm in PHP. As of PHP8 sort is stable by default which changes the outcome in some of our test cases. ...
[{'old_path': 'src/Composer/DependencyResolver/Transaction.php', 'new_path': 'src/Composer/DependencyResolver/Transaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -61,9 +61,13 @@ private function setResultPackageMaps($resultPackages)\n {\n $packageSort = function (PackageInterface $a, Package...
PHP
73e24ea9fbcf07c0626513e63bbc8c0607b21e4f
388
2020-10-14 11:46:13+02:00
-7,200
['d8490ee38f6392975490ff518ee85170f0b451fe']
Partial updates should remove all unused dependencies Instead of marking locked packages as fixed, we change the pool builder to load only the locked version and treat it like a fixed package, but removing the actual request fix, makes the solver treat it as a regular optional dependency. As a consequence locked packa...
[{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -62,6 +62,7 @@ public function setResultPackages(Pool $pool, Decisions $decisions)\n \n if ($literal > 0) {\n ...
PHP
74fb313c3916a6e84738edc3f159c915c827c46f
388
2020-10-14 11:46:13+02:00
-7,200
['73e24ea9fbcf07c0626513e63bbc8c0607b21e4f']
Separate locked packages from fixed packages in request Locked packages are basically like removable fixed packages, so we still only load one version, but we do not require their installation unless something the user needs requires their use. So they automatically get removed if they are no longer needed on any upda...
[{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,13 +31,13 @@ class Pool implements \\Countable\n protected $packageByName = array();\n protected $versionParser;\n protected $providerCache ...
PHP
fdde9e593343111d8f78e66901851ac427b3bae1
388
2020-10-14 11:46:13+02:00
-7,200
['74fb313c3916a6e84738edc3f159c915c827c46f']
On composer install we fix locked packages, but consider them locked for error reporting
[{'old_path': 'src/Composer/DependencyResolver/Request.php', 'new_path': 'src/Composer/DependencyResolver/Request.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,6 +45,7 @@ class Request\n protected $requires = array();\n protected $fixedPackages = array();\n protected $lockedPackages = array();...
PHP
8a2bae82ab2689286c704427db043ec4edda7aa8
388
2020-10-14 11:46:13+02:00
-7,200
['fdde9e593343111d8f78e66901851ac427b3bae1']
Improve docblocks on fixed/locked/fixedLocked packages in request Also fixes two small code review issues
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -130,7 +130,6 @@ public function buildPool(array $repositories, Request $request)\n foreach ($request->getLockedRepository()->getP...
PHP
34dd9e19e18635cd335db345be6d4a917d0ba217
281
2020-10-14 13:29:41+02:00
-7,200
['3fe0ae0442e5189aedd280d8a8abf8025884a013']
Add curl/zip ext info to diagnose command
[{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -173,6 +173,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n \n $io->write('OpenSSL version: ' . (defin...
PHP
c5d8a13bc4ba12bf5b59375aa3448ef92a50b748
281
2020-10-14 13:30:12+02:00
-7,200
['34dd9e19e18635cd335db345be6d4a917d0ba217']
Bump curl timeout to 300
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -150,7 +150,7 @@ private function initDownload($resolve, $reject, $origin, $url, $options, $copyT\n curl_setopt($curlHandle, CURLOPT_FOLLOWLOCATIO...
PHP
9492dc7f7cd324d2cd5a619cbf727371e1b9d6b9
281
2020-10-14 13:48:55+02:00
-7,200
['c5d8a13bc4ba12bf5b59375aa3448ef92a50b748']
Make sure symfony/flex does not get loaded in a buggy version to avoid bogus issue reports
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -149,6 +149,12 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n \n return;\n }\n+\n+ i...
PHP
da1357c6632edfbbc257953f119b79129299a2a5
281
2020-10-14 15:41:36+02:00
-7,200
['7e223104c72ffd75c8b269a20309a9cde21fa67a']
Avoid showing alias versions in show command, show the original version
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -18,6 +18,7 @@\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\CompletePackageInterface;\n use Composer\\Package\\Link;\n+use Composer\\Package\\Alia...
PHP
e7d99c37b3e02f07308d60cf13f933c3d57c0c29
281
2020-10-14 15:41:53+02:00
-7,200
['da1357c6632edfbbc257953f119b79129299a2a5']
Fix show --locked to avoid listing all the things
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -196,8 +196,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n $locker = $composer->getLocker();\n ...
PHP
9a5121ed2737eff1902e805365340201c55fc12b
108
2020-10-14 17:56:42+03:00
-10,800
['e7d99c37b3e02f07308d60cf13f933c3d57c0c29']
Refactor Operation classes to use constants instead of strings for comparison
[{'old_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'new_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -19,39 +19,9 @@\n *\n * @author Konstantin Kudryashov <ever.zet@gmail.com>\n */\n-class InstallOperation impl...
PHP
8d0596163cabca4f9729a6e92adc14f044777dae
281
2020-10-14 17:53:57+02:00
-7,200
['140de5480d7a5c2e0415ae409dc44b1f3b7307a3']
Rename abstract class back to the previously present SolverOperation, mark it internal, reintroduce some duplication
[{'old_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'new_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -19,10 +19,30 @@\n *\n * @author Konstantin Kudryashov <ever.zet@gmail.com>\n */\n-class InstallOperation ext...
PHP
743d551399a675230fdb5c2a9cdaaa596e8a6af2
281
2020-10-14 17:58:35+02:00
-7,200
['8e888bec7895c679e9d1781f1e0b4b2462c95d2a']
Fix using show command to show platform packages, and allow using it to show replacers too by using the replaced name, fixes #7628
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -584,7 +584,7 @@ protected function getPackage(InstalledRepository $installedRepo, RepositoryInte\n \n $matchedPackage = null;\n $versions = array()...
PHP
2ca2ec3d0ae77bbadc8a4c60180c7770bddc4b32
281
2020-10-15 09:53:12+02:00
-7,200
['df863f8860583e31b2524edff3d7dc148c643061']
Allow loading flex main branch
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -150,7 +150,7 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n return;\n }\n \n- if ($...
PHP
750172dc4c34f172ae1ed912977e5e8333b5eccb
274
2020-10-15 14:17:53+02:00
-7,200
['b847c4dc3a7bee6c47ed2d2f62de263077e0ab80']
Fix symlink check Given you have a symlink in one of your path repositories and mirroring-strategy enabled. ```bash lrwxrwxrwx 1 inf inf 8 27. Aug 17:41 Create.html -> New.html -rw-r--r-- 1 inf inf 750 27. Aug 17:24 Edit.html -rw-r--r-- 1 inf inf 0 27. Aug 17:24 List.html -rw-r--r-- 1 inf inf 5064 27. Aug 17:2...
[{'old_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'new_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,7 +43,7 @@ public function __construct($sources, array $excludes, $ignoreFilters = false)\n {\n $fs = new File...
PHP
59acf9d4aafd1fd4e1d869b66c9cafc0fbf1ce8d
281
2020-10-15 14:40:27+02:00
-7,200
['2ca2ec3d0ae77bbadc8a4c60180c7770bddc4b32']
Remove dev hint for 2.0, fixes #8738
[{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -71,12 +71,9 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n $hints[]...
PHP
c46b75de81b4035229bba44e035086b75092d367
281
2020-10-15 16:16:00+02:00
-7,200
['59acf9d4aafd1fd4e1d869b66c9cafc0fbf1ce8d']
Allow any non-numeric version to be used for flex as we can not establish if they are compatible
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -150,7 +150,7 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n return;\n }\n \n- if ($...
PHP
1bb87babe62a485e4d57d025e4b29e84f69e47d6
174
2020-10-15 16:11:16-04:00
14,400
['c46b75de81b4035229bba44e035086b75092d367']
Fix availability of $urls in FileDownloader Fixed: - Ensure manipulations to the first element of $urls in the $download callback are available in $accept and $reject
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -142,6 +142,7 @@ public function download(PackageInterface $package, $path, PackageInterface $pre\n $reject = null;\n $download = functi...
PHP
fcc072fdb6fa5d0332ab20c0750a9deb0f436bc0
174
2020-10-15 23:46:12-04:00
14,400
['1bb87babe62a485e4d57d025e4b29e84f69e47d6']
Add test to check processed URL and cache key
[{'old_path': 'tests/Composer/Test/Downloader/FileDownloaderTest.php', 'new_path': 'tests/Composer/Test/Downloader/FileDownloaderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,7 +12,11 @@\n \n namespace Composer\\Test\\Downloader;\n \n+use Composer\\Config;\n use Composer\\Downloader\\FileDownloader;\...
PHP
c01e3bd2f0e5e99a9f6ac80ed99bb2bd38e966c1
281
2020-10-16 11:23:03+02:00
-7,200
['c46b75de81b4035229bba44e035086b75092d367']
Make async test more robust
[{'old_path': 'tests/Composer/Test/Util/ProcessExecutorTest.php', 'new_path': 'tests/Composer/Test/Util/ProcessExecutorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -119,10 +119,13 @@ public function testExecuteAsyncCancel()\n {\n $process = new ProcessExecutor($buffer = new BufferIO('', Stre...
PHP
7fda8433b1d483372c31a131eea3b546b1a869f8
281
2020-10-16 11:27:59+02:00
-7,200
['1d553a6795dd4189d377edac54a202295f9d165c']
Update schema to use anyOf instead of oneOf, fixes #9295
[{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -364,13 +364,13 @@\n "type": ["object", "array"],\n "description": "A set of additional repositories where packages can be found.",\n "additionalPropert...
PHP
14ec957e96a24aefab22ba9eb1e0c6589d9a221c
281
2020-10-20 17:34:07+02:00
-7,200
['99a5469b5e3d956d3b7e014147186bbd3678276e']
Fix composer show -a usage, fixes #9304
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -584,7 +584,11 @@ protected function getPackage(InstalledRepository $installedRepo, RepositoryInte\n \n $matchedPackage = null;\n $versions = array(...
PHP
853305063d754d7883399b0e2a426baedc57629f
388
2020-10-21 13:33:39+02:00
-7,200
['14ec957e96a24aefab22ba9eb1e0c6589d9a221c']
Add test case for github issue 9290
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/github-issues-9290.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,96 @@\n+--TEST--\n+\n+See Github issue #9290 ( https://github.com/composer/composer/issues/9290 ).\n+MultiConflictRule with a level 1 decision needs to exit correctly....
PHP
7f41698157c77b627bdcf5837ba19468ceea7a7c
388
2020-10-21 13:36:31+02:00
-7,200
['853305063d754d7883399b0e2a426baedc57629f']
Solver: on analyze, when reaching last decision > l1 skip other multi rule literals
[{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -465,8 +465,7 @@ protected function analyze($level, Rule $rule)\n // only level 1 marks left\n $l1num++;\n ...
PHP
9641ad60250f337eacab1e2812224376081e1223
388
2020-10-21 14:08:12+02:00
-7,200
['14ec957e96a24aefab22ba9eb1e0c6589d9a221c']
SolverProblemException: Hide learnt rules on output Results in too much error output which is not helpful. Very repetitive and hard to understand. In issue 8903 even leads to endless recursion bug.
[{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -278,11 +278,15 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n \n return \'You can only install one ve...
PHP
7b4cb9c370f16759c8f548d99d37215c0ddd06cc
388
2020-10-21 17:11:13+02:00
-7,200
['6e8e5f6ba6cd4109f2984b730e73376ea8cb2e0c']
Solver: Prevent infinite recursion in analyzeUnsolvableRule In complex scenarios reasons for learned rules can themselves be learned rules caused by other learned rules which had the some of the same reasons. In this situation iterating over all problem rules requires keeping track of which rules have previously been ...
[{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -518,15 +518,19 @@ protected function analyze($level, Rule $rule)\n * @param Problem $problem\n * @param Rule $conflictRule\n */\n- ...
PHP
9338401be7a09c4c740b74aad6f10bdcf93a096d
388
2020-10-21 18:11:24+02:00
-7,200
['7b4cb9c370f16759c8f548d99d37215c0ddd06cc']
CS: Typehint array, remove unnecessary docblock, call spl_object_hash once
[{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -514,16 +514,12 @@ protected function analyze($level, Rule $rule)\n return array($learnedLiterals[0], $ruleLevel, $newRule, $why);\n }\n \n-...
PHP
e11f52c04102f50922e5da831e23132a45af47d4
388
2020-10-22 09:44:16+02:00
-7,200
['b74afd772bfba5a9a604b1d0aedc46d61a48a501']
Add a test to reproduce github issue #7665
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/github-issues-7665.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,2861 @@\n+--TEST--\n+Solver Bug Exception GitHub issue 7665 https://github.com/composer/composer/issues/7665\n+--COMPOSER--\n+{\n+ "name": "smichaelsen/composer-tes...
PHP
2468cd20dd3d5a420ca951d5db9c8e0532c9a124
388
2020-10-22 09:44:16+02:00
-7,200
['e11f52c04102f50922e5da831e23132a45af47d4']
Update test case for github issue 7665 to have correct output
[{'old_path': 'tests/Composer/Test/Fixtures/installer/github-issues-7665.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/github-issues-7665.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2838,8 +2838,7 @@ Solver Bug Exception GitHub issue 7665 https://github.com/composer/composer/issu\n ...
PHP
c37dce0bb3173c456acf6dd3629b083ddb578024
388
2020-10-22 10:02:09+02:00
-7,200
['2468cd20dd3d5a420ca951d5db9c8e0532c9a124']
Remove unnecessary hhvm conflict rules from test
[{'old_path': 'tests/Composer/Test/Fixtures/installer/github-issues-7665.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/github-issues-7665.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,9 +30,6 @@ Solver Bug Exception GitHub issue 7665 https://github.com/composer/composer/issu\n ...
PHP
c0236c5ed2e91ce4665d2411315379c49edefba8
388
2020-10-22 10:14:17+02:00
-7,200
['c37dce0bb3173c456acf6dd3629b083ddb578024']
Move slow integration test to separate fixtures directory and add to slow group
[{'old_path': 'tests/Composer/Test/Fixtures/installer/github-issues-7665.test', 'new_path': 'tests/Composer/Test/Fixtures/installer-slow/github-issues-7665.test', 'type': <ModificationType.RENAME: 3>, 'diff': ''}, {'old_path': 'tests/Composer/Test/InstallerTest.php', 'new_path': 'tests/Composer/Test/InstallerTest.php',...
PHP
290450214e203c509304d39d2ffc6d776c7f1154
388
2020-10-22 10:26:28+02:00
-7,200
['b74afd772bfba5a9a604b1d0aedc46d61a48a501']
Test: Verify require for package provided by pkg itself is used
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/provider-satisfies-its-own-requirement.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,25 @@\n+--TEST--\n+Test that a package requiring something it provides itself, satisfies itself even though a package exists.\n+--COMPOSER--\n+{\n+...
PHP
1d6c0865cac1436f1a95a785218923ce87a5b97b
388
2020-10-22 10:32:04+02:00
-7,200
['290450214e203c509304d39d2ffc6d776c7f1154']
Test: Verify replacing a package required by the same package satisfies the dep
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/replacer-satisfies-its-own-requirement.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,25 @@\n+--TEST--\n+Test that a package requiring something it replaces itself, satisfies itself even though a package exists.\n+--COMPOSER--\n+{\n+...
PHP
6409ed0fc2be71274adc0dcd3d76f1dd7ab4c065
388
2020-10-22 11:28:19+02:00
-7,200
['290450214e203c509304d39d2ffc6d776c7f1154']
Validate: Warn about providing or replacing packages you require
[{'old_path': 'src/Composer/Util/ConfigValidator.php', 'new_path': 'src/Composer/Util/ConfigValidator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -141,6 +141,22 @@ public function validate($file, $arrayLoaderValidationFlags = ValidatingArrayLoa\n }\n }\n \n+\n+ // check for meanin...
PHP
e68b52697b73630df03a4e7706fc6e01f00d2120
47
2020-10-22 11:54:59+02:00
-7,200
['7fda8433b1d483372c31a131eea3b546b1a869f8']
Improve readability of version info message Instead of: > You are already using composer version 1.10.15 (1 channel). it shows: > You are already using composer version 1.10.15 (1.x channel).
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -177,7 +177,17 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n \n if (Composer::VERSION === $updateV...
PHP
0466add822feb1204e6526578614e72e130a8656
489
2020-10-22 14:41:16+02:00
-7,200
['e68b52697b73630df03a4e7706fc6e01f00d2120']
Also use channel string for update message https://github.com/composer/composer/pull/9305#issuecomment-714381153
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -176,11 +176,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n return 1;\n }\n \n- if (Compo...
PHP
0234b1381721e960f79f1523fb5e99c3235131ad
448
2020-10-22 14:43:26+02:00
-7,200
['492bece6e28310901ea678cfe6f119d67d60b425']
Specify unit for `process-timeout` config in docs
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,7 +5,8 @@ This chapter will describe the `config` section of the `composer.json`\n \n ## process-timeout\n \n-Defaults to `300`. The duration processes like git clones can run before\n+The timeout in s...
PHP
8e9262f12986d434aa7572334656cfd58de81abf
482
2020-10-22 15:13:01+02:00
-7,200
['7fda8433b1d483372c31a131eea3b546b1a869f8']
Enhance the doc about provide to reduce mistakes
[{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -442,9 +442,15 @@ that exact version, and not any other version, which would be incorrect.\n #### provide\n \n List of other packages that are provided by this package. This is mostly\n-useful for common ...
PHP
d4e818c22f882cf7679292b80552861f855240fa
369
2020-10-22 17:50:35+00:00
0
['447416a357ee6245d90e8784c82a1054676e17d0']
Setting permissions prevents a warning from swapon Warning text: ``` /sbin/swapon /var/swap.1 swapon: /var/swap.1: insecure permissions 0644, 0600 suggested. ```
[{'old_path': 'doc/articles/troubleshooting.md', 'new_path': 'doc/articles/troubleshooting.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -202,6 +202,7 @@ To enable the swap you can use for example:\n ```sh\n /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024\n /sbin/mkswap /var/swap.1\n+/bin/chmod 0600 /var/...
PHP
3dd7e829b9212b9108a0e9620878f23c0a552834
482
2020-10-22 19:54:03+02:00
-7,200
['dacc21e54f1fbbada4de2fcb7c40a55b5938612e']
Fix support of provided packages in the why-not command The version provided by such a rule is defined by the constraint of the rule, not by the package version.
[{'old_path': 'src/Composer/Repository/BaseRepository.php', 'new_path': 'src/Composer/Repository/BaseRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -146,6 +146,16 @@ public function getDependents($needle, $constraint = null, $invert = false, $rec\n }\n \n ...
PHP
8feb83b22bde7658e901524502d4a64603322baa
303
2020-10-23 13:25:17+02:00
-3,600
['49a28f606c289f59dd54187a87acb4f8837f90eb']
Remove duplicate StreamContextFactory ssl options Added in Dec 2014 (commit 8dad846), superseded in Jan 2016 (pr #4759)
[{'old_path': 'src/Composer/Util/StreamContextFactory.php', 'new_path': 'src/Composer/Util/StreamContextFactory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -130,14 +130,6 @@ public static function initOptions($url, array $options)\n break;\n }\n \n- // add SNI opts...
PHP
8564dd8daca9c4da9ff4393eb154a6fac464478f
281
2020-10-23 13:27:46+02:00
-7,200
['8feb83b22bde7658e901524502d4a64603322baa']
Allow Url::sanitize to escape URLs without scheme
[{'old_path': 'src/Composer/Util/Url.php', 'new_path': 'src/Composer/Util/Url.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -109,12 +109,12 @@ public static function sanitize($url)\n // e.g. https://api.github.com/repositories/9999999999?access_token=github_token\n $url = preg_replace('{([&?]a...
PHP
b12b50c679d6f18398fea165b4bbc5581104c2fa
388
2020-10-23 21:52:05+02:00
-7,200
['dacc21e54f1fbbada4de2fcb7c40a55b5938612e']
Docs: Remove unnecessary uses of simple/easy They only serve to make anyone reading the docs who doesn't find something as simple or easy as stated feel bad about themselves, they don't add anything valuable to the docs in these cases.
[{'old_path': 'doc/00-intro.md', 'new_path': 'doc/00-intro.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -37,7 +37,7 @@ Composer requires PHP 5.3.2+ to run. A few sensitive php settings and compile\n flags are also required, but when using the installer you will be warned about\n any incompatibilities.\n \n-To...
PHP
e868996bdd34a45c769498658a155aa7b3257482
388
2020-10-23 22:02:13+02:00
-7,200
['dacc21e54f1fbbada4de2fcb7c40a55b5938612e']
Validate: Warn about providing or replacing packages you require
[{'old_path': 'src/Composer/Util/ConfigValidator.php', 'new_path': 'src/Composer/Util/ConfigValidator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -138,6 +138,22 @@ public function validate($file, $arrayLoaderValidationFlags = ValidatingArrayLoa\n }\n }\n \n+\n+ // check for meanin...
PHP
d47261eb93482b34d0386bdf932113fb561113f1
303
2020-10-23 21:38:29+01:00
-3,600
['8564dd8daca9c4da9ff4393eb154a6fac464478f']
Refactor proxy handling for Composer2
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,6 +41,9 @@ class CurlDownloader\n private $authHelper;\n private $selectTimeout = 5.0;\n private $maxRedirects = 20;\n+ /** @var ProxyM...
PHP
25496c199da9c0ccac9e68fea571dfbf1d3ae7a6
281
2020-10-24 09:43:02+02:00
-7,200
['28c7e38411f88a5ec53dfa1ac173cee6ac9a8ac5']
Update link to composer 2 release notes
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -159,7 +159,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $latestVersion = $latest[\'version\'];\n ...
PHP
62eff8e979a5adeffc2b5490f581d5ea5bbf008e
281
2020-10-24 10:36:39+02:00
-7,200
['62fd612e63eac20c8232a05c0ce69699d43471b0']
Tweaks to new proxying code, refs #9324
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -234,7 +234,7 @@ private function initDownload($resolve, $reject, $origin, $url, $options, $copyT\n 'reject' => $reject,\n );\n \n- ...
PHP
191196de481e8fb652824b84fa504238dfabacb3
281
2020-10-24 11:10:08+02:00
-7,200
['8d018176b1fde3558be57fa54fd679382eb2ef26']
Detect broken packagist.org mirrors and fix them on the fly, refs #9297
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -866,6 +866,12 @@ protected function loadRootServerFile()\n $this->hasPartialPackages = !empty($data['packages']) && is_array($data[...
PHP
a3f9d300f3ec0be2150d53be0e4f814460800346
379
2020-10-24 11:53:20+01:00
-3,600
['191196de481e8fb652824b84fa504238dfabacb3']
Escape special characters in Markdown files
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -23,7 +23,7 @@\n ### [2.0.0-RC1] 2020-09-10\n \n * Added more advanced filtering to avoid loading all versions of all referenced packages when resolving dependencies, which should reduce memory usage further in...
PHP
b4f0f4ddd2888a8bbb915f538ee5eb09d2f412b8
281
2020-10-24 14:58:05+02:00
-7,200
['191196de481e8fb652824b84fa504238dfabacb3']
Fix php8 file being missing from phar, refs #9331
[{'old_path': 'src/Composer/Compiler.php', 'new_path': 'src/Composer/Compiler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -107,6 +107,7 @@ public function compile($pharFile = 'composer.phar')\n $this->addFile($phar, $file, false);\n }\n $this->addFile($phar, new \\SplFileInfo(__D...
PHP
4c424ac32d4586f7b28e097ccb88b9c217435f7b
379
2020-10-24 14:37:35+01:00
-3,600
['a3f9d300f3ec0be2150d53be0e4f814460800346']
Use quotes instead of escaping special characters
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -23,7 +23,7 @@\n ### [2.0.0-RC1] 2020-09-10\n \n * Added more advanced filtering to avoid loading all versions of all referenced packages when resolving dependencies, which should reduce memory usage further in...
PHP
b1d2842fa774c38a78951cc71858da7371e98005
281
2020-10-24 18:10:57+02:00
-7,200
['556faf14678ab68e45f631d13d7d9d486b2c0208']
Add more backticks for consistency
[{'old_path': 'doc/articles/versions.md', 'new_path': 'doc/articles/versions.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -117,7 +117,7 @@ Examples:\n * `>=1.0 <2.0`\n * `>=1.0 <1.1 || >=1.2`\n \n-### Hyphenated Version Range ( - )\n+### Hyphenated Version Range (` - `)\n \n Inclusive set of versions. Partial...
PHP
2a913c7a6894bdbd9097700f50a5d071bd5c2ce5
303
2020-10-24 18:20:31+01:00
-3,600
['fa3f1d5050f589fee1b2e7833e9894c3a146098e']
Improve proxy error messages for streams
[{'old_path': 'src/Composer/Util/StreamContextFactory.php', 'new_path': 'src/Composer/Util/StreamContextFactory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -58,7 +58,7 @@ public static function getContext($url, array $defaultOptions = array(), array $\n /**\n * @param string $url\n * @param ar...
PHP
9bfddadf3d1f4b5a3879783a7d36fc0e17d3d0d2
281
2020-10-24 20:49:07+02:00
-7,200
['b1d2842fa774c38a78951cc71858da7371e98005']
Make sure no unknown files get excluded from the phar, fixes #9331
[{'old_path': 'src/Composer/Compiler.php', 'new_path': 'src/Composer/Compiler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -80,6 +80,7 @@ public function compile($pharFile = 'composer.phar')\n return strcmp(strtr($a->getRealPath(), '\\\\', '/'), strtr($b->getRealPath(), '\\\\', '/'));\n }...
PHP
c2a2e48ce9a7af68381a255edbd22556d82a7a20
14
2020-10-24 21:20:11+02:00
-7,200
['37cb6eb40dd3ed1f5981208c81171b15ac0b164d']
Add information about dev-dependency of composer/composer to plugin article
[{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,7 +9,7 @@\n You may wish to alter or expand Composer\'s functionality with your own. For\n example if your environment poses special requirements on the behaviour of\n Composer which do n...
PHP
d1dfd394c19db6bdd979bcac7fea0c31077e34af
275
2020-10-24 21:34:34+02:00
-7,200
['37cb6eb40dd3ed1f5981208c81171b15ac0b164d']
Correctly avoid partial updates in require commands The installer does not support partial updates, when no lock file is present. The check in require command to prevent a partial update however does not check whether a lock file is present, but whether a lock file should be written, which most likely always is true. ...
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -314,7 +314,7 @@ private function doUpdate(InputInterface $input, OutputInterface $output, IOInte\n \n // if no lock is present, or the file is brand ...
PHP
8925b4f5969412997b1621ab9e477383ea6399db
281
2020-10-25 12:45:33+01:00
-3,600
['6f79163a2a7ca3fc6ff4ffab6bd3714e44b69906']
Attempt fixing handling of root aliases when composer 1 reads composer 2 lock files, fixes #9337
[{'old_path': 'src/Composer/Package/Locker.php', 'new_path': 'src/Composer/Package/Locker.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -254,7 +254,17 @@ public function getAliases()\n {\n $lockData = $this->getLockData();\n \n- return isset($lockData['aliases']) ? $lockData['aliases'] : ar...
PHP
3d1e8b6e757c358bda28e128ebcc24cf98f4053d
281
2020-10-25 12:50:13+01:00
-3,600
['c2a2e48ce9a7af68381a255edbd22556d82a7a20']
Apply suggestions from code review Co-authored-by: Nils Adermann <naderman@naderman.de>
[{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -34,7 +34,7 @@ requirements:\n it only specifies which version of the plugin API to use.\n \n > **Note:** When developing a plugin, although not required, it's useful to add\n-> a dev-dep...
PHP
dc88236c0795dd05368332970876bebea0581039
281
2020-10-25 13:49:31+01:00
-3,600
['e090274db09c82cbce5de46232462bc08c4724cd']
Make sure operations are executed in batches, including downloads, when a plugin is present which modifies downloads, fixes #9333
[{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -180,7 +180,6 @@ public function ensureBinariesPresence(PackageInterface $package)\n */\n public function execute(RepositoryInterface $...
PHP
c99e19db64bf279d7d3357f8289044875b3e0a65
303
2020-10-25 12:59:01+00:00
0
['2a913c7a6894bdbd9097700f50a5d071bd5c2ce5']
Fix logic (again)
[{'old_path': 'src/Composer/Exception/NoSslException.php', 'new_path': 'src/Composer/Exception/NoSslException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,6 +13,8 @@\n namespace Composer\\Exception;\n \n /**\n+ * Specific exception for Composer\\Util\\HttpDownloader creation.\n+ *\n * @author Jordi Bogg...
PHP
2d4e1e0dce257bde27fe6342ad7cadda2c8b549d
281
2020-10-25 14:06:45+01:00
-3,600
['dc88236c0795dd05368332970876bebea0581039']
Make sure Transaction sorts operations correctly to begin with
[{'old_path': 'src/Composer/DependencyResolver/Transaction.php', 'new_path': 'src/Composer/DependencyResolver/Transaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -248,6 +248,9 @@ protected function getProvidersInResult(Link $link)\n */\n private function movePluginsToFront(array $operations)\n ...
PHP
996eb563c048a78ddb4ba02c72693302edfe5fbd
456
2020-10-25 19:05:51+01:00
-3,600
['0543b59e062cf53c02bad6fdd362db75d27072c1']
Update authentication-for-private-packages.md Typo on line 278 changed cosumer... to consumer-key
[{'old_path': 'doc/articles/authentication-for-private-packages.md', 'new_path': 'doc/articles/authentication-for-private-packages.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -275,7 +275,7 @@ The BitBucket driver uses OAuth to access your private repositories via the BitB\n ### Command line bitbucket-oauth\n...
PHP
3dfbd9e9e962851fe3253b9ae76203fad7b7d044
281
2020-10-25 22:07:05+01:00
-3,600
['0cca80f8af8048f7dce34268218a5ee836835598']
Add plugin-modifies-downloads to docs, refs #9339
[{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -302,6 +302,27 @@ As of Composer 2, due to the fact that DownloaderInterface can sometimes return\n and have been split up in more steps than they used to, we provide a [SyncHelper][11]\n to...
PHP
4b8c2aa121392e982fae1c27398ceb2e0f25a1a8
281
2020-10-25 22:22:19+01:00
-3,600
['3dfbd9e9e962851fe3253b9ae76203fad7b7d044']
Fix default version to be semver parseable, fixes #9342
[{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,7 @@\n \n use Composer\\Package\\Link;\n use Composer\\Package\\PackageInterface;\n+use Composer\\Package\\RootPackage;\n use Composer...
PHP