Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
89947c5e37656336a71b87374f100f5c4eda268b | 281 | 2020-11-13 15:51:24+01:00 | -3,600 | ['3d5be62250b6156d72e1d1b4f63f20ebde969379'] | Bulk up platform config docs, refs https://github.com/composer/composer/issues/9377#issuecomment-719019204 | [{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -151,6 +151,21 @@ Lets you fake platform packages (PHP and extensions) so that you can emulate a\n production env or define your target platform in the config. Example: `{"php":\n "7.0.3", "ext-something"... | PHP |
3764b3007ded14db47e3341030b6ac6397aa86af | 388 | 2020-11-13 16:01:54+01:00 | -3,600 | ['045b5c6b6bb2eb7915527672eb9809ff6eebd956'] | Explicit conflict rule generation needs to use pool->whatProvides
If relying on packages added by name in the generator aliases will be
skipped. | [{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -199,6 +199,7 @@ protected function addConflictRules($ignorePlatformReqs = false)\n /** @var PackageInterface $package */\n ... | PHP |
780e6fc02767708769efc5d36e1db6b23a289d72 | 388 | 2020-11-13 16:26:36+01:00 | -3,600 | ['3764b3007ded14db47e3341030b6ac6397aa86af'] | Avoid creating unnecessary conflict rules for provide/replace of aliases | [{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -211,10 +211,15 @@ protected function addConflictRules($ignorePlatformReqs = false)\n $conflicts = $this->pool->what... | PHP |
c02d2842b0fc43da355d9176e02e309336a5836f | 388 | 2020-11-13 16:55:35+01:00 | -3,600 | ['780e6fc02767708769efc5d36e1db6b23a289d72'] | Test conflict with an unrequired alias does not prevent install.
The alias still ends up being marked as installed as the install step
reads it from the branch alias in the lock file and doesn't know a
conflict required it to be skipped. | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/conflict-with-alias-does-not-prevent-installation-if-not-required.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,32 @@\n+--TEST--\n+Test that conflict on a branch alias is ignored if the alias is not required for installation.\n+\n+T... | PHP |
1b337be2362a98c01df924c8b68ef61fc4c800f8 | 388 | 2020-11-16 13:27:54+01:00 | -3,600 | ['d19b858e204797a06e1021980cc09b85724df59b'] | Add expected lock files to conflict with branch alias tests, add install from lock test | [{'old_path': 'tests/Composer/Test/Fixtures/installer/conflict-with-alias-does-not-prevent-installation-if-not-required.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/conflict-on-root-with-alias-does-not-prevent-update-if-not-required.test', 'type': <ModificationType.RENAME: 3>, 'diff': '@@ -27,6 +27,22 @@ ... | PHP |
8ed2aa8d6dd70b1c32abd3e6f4c4d1a3edcdd434 | 281 | 2020-11-16 22:41:19+01:00 | -3,600 | ['9aefbee53a251cf5bd326fb1318ac53b89a42207'] | Make sure curl errors without message are shown as code, and add URL linked to the failure | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -299,7 +299,7 @@ public function tick()\n try {\n // TODO progress\n if (CURLE_OK !== $errno || $error) {\n- ... | PHP |
4ac6f57d18cb5d234ba7d7226dbff6bfb4165ceb | 281 | 2020-11-16 22:42:21+01:00 | -3,600 | ['8ed2aa8d6dd70b1c32abd3e6f4c4d1a3edcdd434'] | Add debug output when SIGINT is received | [{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -183,6 +183,7 @@ public function execute(RepositoryInterface $repo, array $operations, $devMode =\n $cleanupPromises = array();\n \n ... | PHP |
27339aeaf8aafe33b094689249715dcf4add6d2f | 286 | 2020-11-18 14:41:27+01:00 | -3,600 | ['4ac6f57d18cb5d234ba7d7226dbff6bfb4165ceb'] | Update authentication-for-private-packages.md
Added some information about encoding of username and password for "Inline http-basic" authentication. | [{'old_path': 'doc/articles/authentication-for-private-packages.md', 'new_path': 'doc/articles/authentication-for-private-packages.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -142,6 +142,9 @@ For the inline http-basic authentication method the credentials are not stored i\n `auth.json` in the project or glob... | PHP |
6937fedaa9eee896087275617754b0177ea54aa1 | 281 | 2020-11-18 21:26:32+01:00 | -3,600 | ['4ac6f57d18cb5d234ba7d7226dbff6bfb4165ceb'] | Update user-agent to use cURL instead of curl, fixes #9492 | [{'old_path': 'src/Composer/Util/StreamContextFactory.php', 'new_path': 'src/Composer/Util/StreamContextFactory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -106,7 +106,7 @@ public static function initOptions($url, array $options, $forCurl = false)\n \n if ($forCurl) {\n $curl = curl_vers... | PHP |
852990d06cba8e4470464b878e2d8134f0ddd91c | 281 | 2020-11-18 21:36:14+01:00 | -3,600 | ['6937fedaa9eee896087275617754b0177ea54aa1'] | Make sure git gc runs if needed when syncing git mirrors in cache dir to avoid them getting very stale | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -261,7 +261,7 @@ public function syncMirror($url, $dir)\n $commandCallable = function ($url) {\n $sanitizedUrl = preg_replace('{://([^@]+?):(.+?)@}', ... | PHP |
5248d6c9f18fd81335937a96ed48c69a7fca1f7a | 281 | 2020-11-18 21:36:33+01:00 | -3,600 | ['852990d06cba8e4470464b878e2d8134f0ddd91c'] | Improve curl error reporting some more | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -299,7 +299,10 @@ public function tick()\n try {\n // TODO progress\n if (CURLE_OK !== $errno || $error) {\n- ... | PHP |
456096d5fff9cb6b01591e80a481831e7a536c84 | 311 | 2020-11-18 21:53:09+01:00 | -3,600 | ['5248d6c9f18fd81335937a96ed48c69a7fca1f7a'] | Fix a type-juggling issue (#9498) | [{'old_path': 'bin/compile', 'new_path': 'bin/compile', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -20,7 +20,7 @@ require __DIR__.'/../src/bootstrap.php';\n use Composer\\Compiler;\n \n error_reporting(-1);\n-ini_set('display_errors', 1);\n+ini_set('display_errors', '1');\n \n try {\n $compiler = new Compile... | PHP |
f567fd69eb3fd5346b65f39d498bf1986e04a959 | 281 | 2020-11-18 22:33:33+01:00 | -3,600 | ['456096d5fff9cb6b01591e80a481831e7a536c84'] | List both unzip and zip ext presence in diagnose | [{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -29,6 +29,7 @@\n use Composer\\IO\\NullIO;\n use Symfony\\Component\\Console\\Input\\InputInterface;\n use Symfony\\Component\\Console\\Output\\OutputInterf... | PHP |
351b14e32bc19b0a8021fb6a2ada626360443f0e | 281 | 2020-11-18 22:33:34+01:00 | -3,600 | ['f567fd69eb3fd5346b65f39d498bf1986e04a959'] | Installed repo contains only the required versions but the aliases are not always present at the right time so avoid looking up plugin dependencies using a constraint as it may not find dev-* packages even though they are there, fixes #9499 | [{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -409,7 +409,7 @@ private function collectDependencies(InstalledRepository $installedRepo, array $\n );\n \n foreach ($requires as $requireLink) {\... | PHP |
35b403b26648d3a0a5a126ea8c9f2cfc0e8a816c | 281 | 2020-11-19 09:39:03+01:00 | -3,600 | ['351b14e32bc19b0a8021fb6a2ada626360443f0e'] | Make sure a version not found issue is reported as such for clarity, fixes #9500 | [{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,6 +21,7 @@\n use Composer\\SelfUpdate\\Versions;\n use Composer\\IO\\IOInterface;\n use Composer\\Downloader\\FilesystemException;\n+use Composer\\D... | PHP |
f129c231b1d8fd43d46ac690e6f0275f32055040 | 281 | 2020-11-20 09:18:21+01:00 | -3,600 | ['9e279740cd4dea381a77cc48af617a91d835408e'] | Update recommended php req in docs | [{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -382,7 +382,7 @@ Example:\n ```json\n {\n "require" : {\n- "php" : "^5.5 || ^7.0",\n+ "php" : ">=7.4",\n "ext-mbstring": "*"\n }\n }\n'}] | PHP |
480a6439fd388361cfa9bbafcfe0d5eaa69f8bce | 17 | 2020-11-20 09:28:09+01:00 | -3,600 | ['f129c231b1d8fd43d46ac690e6f0275f32055040'] | Fix phpstan phpdocs issues (#9478) | [{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,5 +1,6 @@\n parameters:\n level: 1\n+ checkClassCaseSensitivity: true # Level 2 rule\n excludes_analyse:\n - '../tests/Composer/Test/Fixtures/*'\n - '../tests/Composer/Te... | PHP |
c7da7e55c96398b85ea13685d637b46cb72bd44a | 281 | 2020-11-22 14:26:18+01:00 | -3,600 | ['480a6439fd388361cfa9bbafcfe0d5eaa69f8bce'] | Fix various issues with regard to schema conformity when modifying json, fixes #9515 | [{'old_path': 'src/Composer/Config/JsonConfigSource.php', 'new_path': 'src/Composer/Config/JsonConfigSource.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,7 @@\n \n use Composer\\Json\\JsonFile;\n use Composer\\Json\\JsonManipulator;\n+use Composer\\Json\\JsonValidationException;\n use Composer\\Util... | PHP |
4b2df65833879a02439bd42c63faa2c0f209c080 | 159 | 2020-11-23 10:41:52-10:00 | 36,000 | ['b7d770659b4e3ef21423bd67ade935572913a4c1'] | Clarify difference in create-project related scripts
I wasn't entirely clear the difference between post-root-package-install and post-create-project-cmd, so this is an effort to clarify (as to the best of my understanding.) | [{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,7 +38,8 @@ Composer fires the following named events during its execution process:\n - **post-autoload-dump**: occurs after the autoloader has been dumped, either\n during `install`/`u... | PHP |
8030fbc4aeed57cd54c89ece23c79641ca808775 | 281 | 2020-11-25 12:37:28+01:00 | -3,600 | ['47672a73c0662c899d0216d3e915243a55538707'] | Add debug info for http status code 0 | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -279,17 +279,18 @@ public function tick()\n \n while ($progress = curl_multi_info_read($this->multiHandle)) {\n $curlHandle = $progres... | PHP |
08f0af462353d612acf4395e28239c48a2afef90 | 281 | 2020-11-25 15:44:59+01:00 | -3,600 | ['e8a3a330232cf53e1b4bbbb3a8ba8947122e575d'] | Add docblocks to HttpDownloader, refs #9209 | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -73,6 +73,16 @@ public function __construct(IOInterface $io, Config $config, array $options = ar\n $this->rfs = new RemoteFilesystem($io, $config, $options,... | PHP |
2d025dce0541dac35a2241b0a000aa67844ccf91 | 281 | 2020-11-26 11:27:44+01:00 | -3,600 | ['08f0af462353d612acf4395e28239c48a2afef90'] | Make sure mirror updates do not fail if there are dev requirements and new requires are present, fixes #9514 | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,6 +24,7 @@\n use Composer\\DependencyResolver\\Request;\n use Composer\\DependencyResolver\\Solver;\n use Composer\\DependencyResolver\\SolverProblemsException;\n+use Composer\\Dep... | PHP |
e857a8216cc72600fe4ae4d067467272d149f428 | 281 | 2020-11-26 11:28:17+01:00 | -3,600 | ['2d025dce0541dac35a2241b0a000aa67844ccf91'] | Make sure mirror update fails if no lock file is present | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -367,13 +367,11 @@ protected function doUpdate(InstalledRepositoryInterface $localRepo, $doInstall)\n // doing a full update\n }\n \n- if ($this->updateAllow... | PHP |
7197278fe96fe65177062d9d964b2e1df5e008ec | 388 | 2020-11-26 12:10:07+01:00 | -3,600 | ['58f358d028f40cde8ad2a6a6e742194ffe1eea0a'] | Always install aliases together with their original package
Restores some Composer 1.x behavior like unbound constraints conflicting
with default branches unless they are branch aliased.
Simplifies conflicts with aliases because packages cannot be installed
without their aliases, so we do not need to know which alias... | [{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,7 @@ abstract class Rule\n const RULE_PACKAGE_SAME_NAME = 10;\n const RULE_LEARNED = 12;\n const RULE_PACKAGE_ALIAS = 13;\n- const ... | PHP |
62bd81bf7a5c8df031c7a323e512728320f994ee | 281 | 2020-11-26 14:24:22+01:00 | -3,600 | ['d00edab88448ffe87794261c65d6388463975a2d'] | Make sure the default branch alias is never used as a constraint by the VersionSelector | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -346,7 +346,11 @@ public function getBranchAlias(array $config)\n }\n \n // normalize without -dev and ensure it's a n... | PHP |
f86b3ad0fee99672f02edb458a7748e33a4d34bb | 281 | 2020-11-26 15:42:39+01:00 | -3,600 | ['00aaffb8f955a4ddca8d7ebb74882637b5e22887'] | Make sure all remotes are checked for unpushed changes, fixes #9486 | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -235,17 +235,22 @@ public function getUnpushedChanges(PackageInterface $package, $path)\n return;\n }\n \n+ $candidateBranches ... | PHP |
1fb6b03e036c2ee44133de81da5ea0a653e8d0e6 | 281 | 2020-11-26 16:03:38+01:00 | -3,600 | ['f86b3ad0fee99672f02edb458a7748e33a4d34bb'] | Fix a few edge cases in unpushed change handling | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -239,6 +239,7 @@ public function getUnpushedChanges(PackageInterface $package, $path)\n // use the first match as branch name for now\n $b... | PHP |
d98d63abcc25e6895e57c646c4b997e7ec6198b9 | 281 | 2020-11-27 13:05:32+01:00 | -3,600 | ['1fb6b03e036c2ee44133de81da5ea0a653e8d0e6'] | Add note to issue template.. | [{'old_path': '.github/ISSUE_TEMPLATE.md', 'new_path': '.github/ISSUE_TEMPLATE.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,3 +1,8 @@\n+<!--\n+The information we ask for below is IMPORTANT. It will help us help you faster.\n+Please FOLLOW THE ISSUE TEMPLATE unless you have a good reason not to, and help av... | PHP |
2754910dff29972c147ec2a1034f292fd874e4fc | 281 | 2020-11-27 21:20:38+01:00 | -3,600 | ['444b91a3ce599163aadc6902b0c402060d4d87a3'] | Allow php8 usage with Composer 1, fixes #9523 | [{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,7 +22,7 @@\n }\n ],\n "require": {\n- "php": "^5.3.2 || ^7.0",\n+ "php": "^5.3.2 || ^7.0 || ^8.0",\n "composer/ca-bundle": "^1.0",\n "composer/semver": "^1.0",\... | PHP |
e7121300621ac6846f2acd58aadaf6a4b9158e5f | 386 | 2020-11-30 00:59:42+01:00 | -3,600 | ['0da9e216fc1d52889c5b569fd60b719ef170abaa'] | Fix for php8 when symlink function is disabled | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -601,7 +601,12 @@ public function relativeSymlink($target, $link)\n \n $relativePath = $this->findShortestPath($link, $target);\n chdir(\\dirname($link));\n... | PHP |
db0656eab095d6632281a94106e7294a3ad88bc9 | 388 | 2020-12-01 14:55:05+01:00 | -3,600 | ['2d91fbc65a3aa12f718b19d6a686aced8918c94f'] | Duplicate partial update unlock but keep old version test with provide keyword | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/partial-update-keeps-older-dep-if-still-required-with-provide.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,65 @@\n+--TEST--\n+Ensure that a partial update of a dependency does not conflict if the only way to proceed is using an old... | PHP |
4e8ca92b6f118a23235a75cdd5077db3cb188cd1 | 219 | 2020-12-02 13:15:16+00:00 | -3,600 | ['b21ee81c998f01a28723668921d889c955f7d0b2'] | Fix error with binaries in PHP8 | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -65,10 +65,13 @@ public function load(array $config, $class = 'Composer\\Package\\CompletePackage')\n }\n \n if (isset($config['bin'])... | PHP |
3eb419d2d0f4e8465af221696e056d1d1a2028de | 281 | 2020-12-03 21:35:23+01:00 | -3,600 | ['40ea194ef5639e870eb585be9c75dcacdb1abb36'] | Fix is_dir check to not fail on open_basedir restrictions, fixes #9541 | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -85,7 +85,7 @@ protected static function getHomeDir()\n \n // select first dir which exists of: $XDG_CONFIG_HOME/composer or ~/.composer\n foreach ($dirs as $dir) {\n- ... | PHP |
f25271ee22e4fd54789f909de1e974f4f466eb70 | 281 | 2020-12-04 09:05:58+01:00 | -3,600 | ['3287379483b1fd7cc6bcd60ee3b8698fbd6a6683'] | Add missing file to v1 phar | [{'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 |
378a5b72b9f81e8e919e41ecd3add6893d14b90e | 281 | 2020-12-04 10:50:19+01:00 | -3,600 | ['65b7eeef5f04e20fb10dad3404e553afe1c8ecd5'] | More open_basedir fixes, refs #9541 | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -659,7 +659,7 @@ private static function useXdg()\n }\n }\n \n- if (is_dir('/etc/xdg')) {\n+ if (Silencer::call('is_dir', '/etc/xdg')) {\n ret... | PHP |
bc31351b5bbbc5d33e916c1e54df3a291c0909b5 | 281 | 2020-12-15 20:39:50+01:00 | -3,600 | ['eb9616a82b55426287815a3ddc0051eecc18f814'] | Only show getting started warning for non-global composer load | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -295,7 +295,7 @@ public function createComposer(IOInterface $io, $localConfig = null, $disablePlu\n } else {\n $message = \'Composer could not find the ... | PHP |
6f5c4fcf3eed8272a4d383523135d56e6a6fb56e | 358 | 2020-12-27 12:20:55+05:00 | -18,000 | ['bc31351b5bbbc5d33e916c1e54df3a291c0909b5'] | Improving Composer self-update (version upto date) info message | [{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -185,7 +185,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n if (Composer::VERSION === $updateVersion) {\n ... | PHP |
e829ff80bc7312d7fa70fbd7be441863eb6dcc61 | 447 | 2020-12-29 23:57:29+03:00 | -10,800 | ['2406a094d3b2e5d73ce105764b36898ebd19b69d'] | feat(Cache): make cache writes more atomic
Fixes #9568 | [{'old_path': 'src/Composer/Cache.php', 'new_path': 'src/Composer/Cache.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -115,7 +115,8 @@ public function write($file, $contents)\n $this->io->writeError('Writing '.$this->root . $file.' into cache', true, IOInterface::DEBUG);\n \n try {\n- ... | PHP |
ab6e0fa9611ddd6f25e311018b205e1c659a5717 | 447 | 2021-01-06 02:17:34+03:00 | -10,800 | ['e829ff80bc7312d7fa70fbd7be441863eb6dcc61'] | use `.tmp` extension for temporary files
also updated `catch` block to use temporary filename | [{'old_path': 'src/Composer/Cache.php', 'new_path': 'src/Composer/Cache.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -114,21 +114,21 @@ public function write($file, $contents)\n \n $this->io->writeError('Writing '.$this->root . $file.' into cache', true, IOInterface::DEBUG);\n \n+ $tem... | PHP |
cee8e3e3b7f9239d3f66b489ae10b8f73cb6b7e0 | 447 | 2021-01-06 15:21:45+03:00 | -10,800 | ['ab6e0fa9611ddd6f25e311018b205e1c659a5717'] | fix `dirname` usage | [{'old_path': 'src/Composer/Cache.php', 'new_path': 'src/Composer/Cache.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -128,7 +128,7 @@ public function write($file, $contents)\n $tempFileName,\n $m[1],\n $m[2],\n- @d... | PHP |
370e082b4a981c2f2a3ccbeed56476effc67c0be | 525 | 2021-01-06 16:05:00+01:00 | -3,600 | ['2406a094d3b2e5d73ce105764b36898ebd19b69d'] | Add saving time duration for curl HTTP requests | [{'old_path': 'src/Composer/Downloader/TransportException.php', 'new_path': 'src/Composer/Downloader/TransportException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,6 +20,7 @@ class TransportException extends \\RuntimeException\n protected $headers;\n protected $response;\n protected $statusC... | PHP |
a5d79db0a70cfd6109f3bdbc9caf6346bc326cf9 | 525 | 2021-01-06 18:01:06+01:00 | -3,600 | ['370e082b4a981c2f2a3ccbeed56476effc67c0be'] | Make sure total_time_us from curl progress is set | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -305,7 +305,7 @@ public function tick()\n }\n \n $exception = new TransportException('curl error '.$errno.' while ... | PHP |
bdecb4711d9afd317c38110fdd7228b0efcc55e7 | 525 | 2021-01-07 12:01:19+01:00 | -3,600 | ['a5d79db0a70cfd6109f3bdbc9caf6346bc326cf9'] | Add all curl_getinfo into the response and exception for curl requests | [{'old_path': 'src/Composer/Downloader/TransportException.php', 'new_path': 'src/Composer/Downloader/TransportException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,7 +20,7 @@ class TransportException extends \\RuntimeException\n protected $headers;\n protected $response;\n protected $statusC... | PHP |
7f8536711367480facfd00d236422ae2c46c963a | 281 | 2021-01-07 23:26:29+01:00 | -3,600 | ['bdecb4711d9afd317c38110fdd7228b0efcc55e7'] | Make sure an array is always returned | [{'old_path': 'src/Composer/Downloader/TransportException.php', 'new_path': 'src/Composer/Downloader/TransportException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,7 +20,7 @@ class TransportException extends \\RuntimeException\n protected $headers;\n protected $response;\n protected $statusC... | PHP |
19eef374d012df3d8bb36aa85eb687675b6d5369 | 281 | 2021-01-08 09:29:48+01:00 | -3,600 | ['296bab129243b9b54c1cc4d703dad81047b53913'] | Clarify package link docs a little, refs #9569 | [{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -401,19 +401,19 @@ Example:\n \n #### require\n \n-Lists packages required by this package. The package will not be installed\n+Map of packages required by this package. The package will not be installed\... | PHP |
f7bf63544045b9fc286bd222cd7ba2745922f558 | 525 | 2021-01-08 11:28:35+01:00 | -3,600 | ['19eef374d012df3d8bb36aa85eb687675b6d5369'] | Add response info for 3xx/4xx/5xx http responses | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -337,7 +337,7 @@ public function tick()\n HttpDownloader::outputWarnings($this->io, $job[\'origin\'], json_decode($response->getBody()... | PHP |
b021647e6f2aac37cb1ab7cccbc5d7e3fae2a001 | 281 | 2021-01-12 11:02:43+01:00 | -3,600 | ['f82a88870468d9b28f66e19d7675cc3687655d9f'] | Fix JSON manipulation issue with large files and jit enabled, fixes #9595 | [{'old_path': 'src/Composer/Json/JsonManipulator.php', 'new_path': 'src/Composer/Json/JsonManipulator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,13 +20,13 @@\n class JsonManipulator\n {\n private static $DEFINES = \'(?(DEFINE)\n- (?<number> -? (?= [1-9]|0(?!\\d) ) \\d+ (\\.\\d+)? ([eE] [+-]... | PHP |
92b3725765195490e0af99f0acb7d1b29933403c | 281 | 2021-01-12 11:53:41+01:00 | -3,600 | ['f82a88870468d9b28f66e19d7675cc3687655d9f'] | Workaround issues when the additional fixed repo is in used and is an installed repo, closes #9574 | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -49,6 +49,7 @@\n use Composer\\Repository\\InstalledArrayRepository;\n use Composer\\Repository\\InstalledRepositoryInterface;\n use Composer\\Repository\\InstalledRepository;\n+use Co... | PHP |
94076c0bb980af15e29a72328f7bc1a41e46776f | 281 | 2021-01-12 13:47:45+01:00 | -3,600 | ['92b3725765195490e0af99f0acb7d1b29933403c'] | Make sure if plugins depend on the root package that the root package is also autoloaded correctly, refs #9530 | [{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,6 +21,7 @@\n use Composer\\Package\\Version\\VersionParser;\n use Composer\\Repository\\RepositoryInterface;\n use Composer\\Repository\\InstalledRepository;\... | PHP |
d94e6384613bfbd4faf6c8e55e9943c51775374c | 281 | 2021-01-12 14:00:02+01:00 | -3,600 | ['94076c0bb980af15e29a72328f7bc1a41e46776f'] | Fix tests and edge case | [{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -175,7 +175,8 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n $localRepo = $this->composer->getRepositoryManager()->... | PHP |
4a740e3e61643900291fa5c34b76f76c662b06e9 | 281 | 2021-01-12 14:56:17+01:00 | -3,600 | ['57117384dfbd2f4716b2c8088c37704d1a96f4d9'] | Add warnings when running updates without curl enabled, fixes #9558 | [{'old_path': 'src/Composer/Command/InstallCommand.php', 'new_path': 'src/Composer/Command/InstallCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,7 @@\n use Composer\\Installer;\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n+use Composer\\Util\\HttpDownloader;\n ... | PHP |
738a89ffe18e18d418c3fc0a1bb556cf55520722 | 281 | 2021-01-12 16:19:29+01:00 | -3,600 | ['dc759a69b5925c23f16d074e308d6e78b8885303'] | Doc tweaks, fixes composer/getcomposer.org#178 | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -943,6 +943,8 @@ The `COMPOSER_HOME` var allows you to change the Composer home directory. This\n is a hidden, global (per-user on the machine) directory that is shared between\n all projects.\n \n+Use `compose... | PHP |
a20ee1a448337b8de157110a6cbe6da029a2c669 | 281 | 2021-01-12 16:31:48+01:00 | -3,600 | ['738a89ffe18e18d418c3fc0a1bb556cf55520722'] | Avoid matching .git suffix if present in private github URLs, fixes #9590 | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -101,7 +101,7 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n $errorMsg = $this->process->getErrorOutput();\n // private gith... | PHP |
c043fe841b038d890f2f18fe54e607ccdbc790fe | 388 | 2021-01-12 17:52:53+01:00 | -3,600 | ['a20ee1a448337b8de157110a6cbe6da029a2c669'] | Remove sleeps from curl handling, select it is responsible for waiting
The current sleeps mean that large files download slowly as select would
return quickly when data has arrived and needs to be processed, but the
sleep waits while the buffers are full.
On the flipside we need to ensure that some code that would ke... | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -49,6 +49,7 @@ class CurlDownloader\n CURLM_OUT_OF_MEMORY => array('CURLM_OUT_OF_MEMORY', 'You are doomed.'),\n CURLM_INTERNAL_ERROR => ar... | PHP |
d6653013684ca747d4cfdabba14f4e4032cbb3ef | 388 | 2021-01-12 21:04:52+01:00 | -3,600 | ['c043fe841b038d890f2f18fe54e607ccdbc790fe'] | Rewrite while if return as do while | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -336,11 +336,9 @@ public function markJobDone()\n */\n public function wait($index = null)\n {\n- while (true) {\n- if (!$this->count... | PHP |
147d8849966beccce82b45cac2638b7c1661b9c0 | 281 | 2021-01-13 11:38:45+01:00 | -3,600 | ['a20ee1a448337b8de157110a6cbe6da029a2c669'] | Also avoid matching .git suffix in bitbucket URLs, refs #9590 | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -122,7 +122,7 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n \n $errorMsg = $this->process->getErrorOutput();\n ... | PHP |
de58c5499ebc4d4c0193803e006f46a9eec02fda | 281 | 2021-01-13 11:45:00+01:00 | -3,600 | ['147d8849966beccce82b45cac2638b7c1661b9c0'] | Always make the root package autoloadable when executing plugins, fixes #9530 | [{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -186,13 +186,13 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n $autoloadPackages = $this->collectDependencies($inst... | PHP |
6552b85100d96259e33d3a53bed5440e63120ecd | 333 | 2021-01-16 22:03:52+01:00 | -3,600 | ['de58c5499ebc4d4c0193803e006f46a9eec02fda'] | Filesystem: use is_dir() instead of file_exists() which is faster
this reproducible saves 1-2 seconds while running `COMPOSER_DISABLE_NETWORK=1 php
composer/bin/composer install -vvv --profile` on the rector/rector project | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -131,7 +131,7 @@ public function removeDirectory($directory)\n // clear stat cache because external processes aren't tracked by the php stat cache\n clearst... | PHP |
8dfe45a026073d641693955efcf4c234063c32c4 | 333 | 2021-01-16 22:26:20+01:00 | -3,600 | ['de58c5499ebc4d4c0193803e006f46a9eec02fda'] | GitDownloader: combine checkout + reset commands into a single process
use a single process instead of 3 to improve performance | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -454,15 +454,12 @@ protected function updateToCommit($path, $reference, $branch, $date)\n \n $command = sprintf(\'git checkout %s --\', Proces... | PHP |
6774e7ee291f075f3d158d71f24780c53ae7e3f6 | 333 | 2021-01-16 22:45:41+01:00 | -3,600 | ['de58c5499ebc4d4c0193803e006f46a9eec02fda'] | Filesystem: use fast operation first in emptyDirectory() | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,7 +63,7 @@ public function isDirEmpty($dir)\n \n public function emptyDirectory($dir, $ensureDirectoryExists = true)\n {\n- if (file_exists($dir) && is_l... | PHP |
c33f2615b5609854f838bbddb1a274eaeeeac3a9 | 281 | 2021-01-17 14:13:58+01:00 | -3,600 | ['7ea17d7db920b690ecc7f3828ec9328c411b78c0'] | Include json response bodies in transport exceptions, fixes #9606 | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -515,8 +515,15 @@ private function failResponse(array $job, Response $response, $errorMessage, arr\n @unlink($job[\'filename\'].\'~\');\n ... | PHP |
b4cff190a89f8db9165ec5625a9b3f6281ab889c | 95 | 2021-01-21 14:33:49+01:00 | -3,600 | ['c800db04d31accad2ed219f5de3aff13f11c14dd'] | Remove dependency on wget from install docs
Some people have wget, others have cURL, but we all have PHP. ;) | [{'old_path': 'doc/faqs/how-to-install-composer-programmatically.md', 'new_path': 'doc/faqs/how-to-install-composer-programmatically.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,7 +9,7 @@ An alternative is to use this script which only works with UNIX utilities:\n ```bash\n #!/bin/sh\n \n-EXPECTED_CHECKSUM... | PHP |
bb393588ea4a6b2cd6efb9ee3acfdfddfecd0bcf | 479 | 2021-01-22 10:04:58+00:00 | 0 | ['c800db04d31accad2ed219f5de3aff13f11c14dd'] | Docs: explain how Composer gets the stability from a version | [{'old_path': 'doc/articles/versions.md', 'new_path': 'doc/articles/versions.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -80,6 +80,19 @@ In the above example, if you wanted to check out the `my-feature` branch, you wo\n \n When branch names look like versions, we have to clarify for composer that we\'re tryi... | PHP |
5c35f37f92694cdff563942f3ce3e5143893b853 | 281 | 2021-01-26 09:41:20+01:00 | -3,600 | ['f2cdec0f0f8969b5f0905ca49bce3a78f4690ce7'] | Properly handle installed repos as additionalFixedRepository, fixes #9574 | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,6 +43,7 @@\n use Composer\\Package\\Package;\n use Composer\\Repository\\ArrayRepository;\n use Composer\\Repository\\RepositorySet;\n+use Composer\\Repository\\CompositeRepository... | PHP |
2cb9630320370109a733b214049b6c2028712307 | 281 | 2021-01-26 15:54:21+01:00 | -3,600 | ['3245a7cca22b83e5c644bbad6b31739acac58d76'] | Fix $_SERVER var not being updated when using putenv, refs b80038804ff791a9d4608d737ad937b6033b0bae and fixes #9372 | [{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -234,6 +234,8 @@ protected function doDispatch(Event $event)\n \n if (substr($exec, 0, 8) === '@putenv ') {\n ... | PHP |
8eaae9f50a953a4a7f38c9571e3925ddfadff05d | 150 | 2021-01-26 20:48:19+00:00 | 0 | ['125f8a33198fe3156dbee8b049c96ebc236f9427'] | Suppress error when chdir($oldWorkingDir); unsuccessful
resolves #9649 | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -309,8 +309,11 @@ function_exists('php_uname') ? php_uname('s') . ' / ' . php_uname('r') : 'Unknow\n \n $result = parent::doRun($input, $output);\n \n+ ... | PHP |
ba94445bb9401528ca048213252a514d6aab800d | 398 | 2021-01-27 10:39:35+01:00 | -3,600 | ['c800db04d31accad2ed219f5de3aff13f11c14dd'] | Ensure InstalledVersions reports info about all currently registered class loaders | [{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -52,5 +52,5 @@ jobs:\n - name: Run PHPStan\n # Locked to phpunit 7.5 here as newer ones have void return types which break inheritance\n run: |\n- ... | PHP |
51371944e1c95b0fa3bc4ed921a366f553938ef3 | 281 | 2021-01-27 11:05:53+01:00 | -3,600 | ['51001dec609e822c7e1161114402934e67b3de28'] | Add comment about not removing the static $installed data, refs #9635 | [{'old_path': 'src/Composer/Repository/FilesystemRepository.php', 'new_path': 'src/Composer/Repository/FilesystemRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -204,6 +204,9 @@ public function write($devMode, InstallationManager $installationManager)\n \n $fs->filePutContentsIfModified($... | PHP |
725b33ee5a8e72559a53d4ee7e6d8482bec28c66 | 398 | 2021-01-27 14:28:26+01:00 | -3,600 | ['079e501ac8676db4b793bff18da84388daeff55e'] | Handle "versions" option in PathRepository, remove support for "branch-version" | [{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -658,6 +658,26 @@ 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 |
92313447d6234af021a43643bb4ad00d19fe5b42 | 281 | 2021-01-27 15:10:32+01:00 | -3,600 | ['bab210777ec26619e56037615c8d4a68c5b601f2'] | Filter out exclude-from-classmap rules to avoid generating very long regexes, fixes #9487 | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -231,7 +231,7 @@ public static function autoload(\\$class)\n \n $excluded = null;\n if (!empty($autoloads['exclude-from-classmap'])) {... | PHP |
1a0e578b14a25c9dde8df4b20e8a5050cdf186ae | 281 | 2021-01-29 09:43:47+01:00 | -3,600 | ['0adea1efbd97b00729643a27483e716970155139'] | Remove ungreedy modifier and make a few domain matches case insensitive, fixes #9656 | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -101,7 +101,7 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n $errorMsg = $this->process->getErrorOutput();\n // private gith... | PHP |
cee34b06b4ee072915564533ab778b8c32ccdecf | 281 | 2021-01-29 09:46:21+01:00 | -3,600 | ['1a0e578b14a25c9dde8df4b20e8a5050cdf186ae'] | No need to ignore phpstan error now that getRegisteredLoaders is in a release | [{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -244,7 +244,6 @@ private static function getInstalled()\n $installed = array();\n \n if (self::$canGetVendors) {\n- // @phpstan-ignore-next-l... | PHP |
980aac6eb2fe25cd303d734da9cd5e630124aa5f | 143 | 2021-01-29 20:10:18+07:00 | -25,200 | ['cee34b06b4ee072915564533ab778b8c32ccdecf'] | Minor improvement to ClassLoader::register no-op block
A recent change in the ClassAutoloader (#9635) added support for specifying a vendorDir, and `\Composer\Autoload\ClassLoader::register` now has a if-elseif-else chain.
The first block has a `// no-op` comment, followed by an `elseif` block. It's more readable to `... | [{'old_path': 'src/Composer/Autoload/ClassLoader.php', 'new_path': 'src/Composer/Autoload/ClassLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -311,8 +311,10 @@ public function register($prepend = false)\n spl_autoload_register(array($this, 'loadClass'), true, $prepend);\n \n if (null ===... | PHP |
4ade9bd96097992d3986c98199ef63e4348decc0 | 281 | 2021-02-01 12:55:55+01:00 | -3,600 | ['cee34b06b4ee072915564533ab778b8c32ccdecf'] | Avoid accessing undefined indices, fixes #9654 | [{'old_path': 'src/Composer/Util/Http/ProxyManager.php', 'new_path': 'src/Composer/Util/Http/ProxyManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -87,7 +87,7 @@ public function getProxyForRequest($requestUrl)\n $options = array();\n $formattedProxyUrl = '';\n \n- if ($this->hasPro... | PHP |
ea6b0836c4bd5313656ab632557f579a863a01e3 | 534 | 2021-02-01 15:17:02+01:00 | -3,600 | ['1e72b23fd3f88f2220a33530fecd29b170647164'] | Allow to override Installer::createPlatformRepo | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -708,7 +708,7 @@ protected function doInstall(InstalledRepositoryInterface $localRepo, $alreadySo\n return 0;\n }\n \n- private function createPlatformRepo($forUpdate)\n... | PHP |
7402ef33fccd4eef52f820c9065f8cfd3163c95d | 135 | 2021-02-03 23:43:35-05:00 | 18,000 | ['d9454938b0644fd9fa57ee6e63c4c285d8b40792'] | Dont recommend to use with all dependencies option when it is already used | [{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,7 +63,7 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n $hints[] ... | PHP |
2d914524e9b58b552198bf6fae6dfc0144c82d99 | 100 | 2021-02-05 17:32:25+01:00 | -3,600 | ['03dcb6df3dd643a6851d83afde0660584cf8cb0f'] | JsonFile: add missing ParsingException throws annotations | [{'old_path': 'src/Composer/Json/JsonFile.php', 'new_path': 'src/Composer/Json/JsonFile.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -80,6 +80,7 @@ public function exists()\n /**\n * Reads json file.\n *\n+ * @throws ParsingException\n * @throws \\RuntimeException\n * @return mixe... | PHP |
228428747a8797d16deb4d5e38a75fbada7903f1 | 143 | 2021-02-06 15:51:18+07:00 | -25,200 | ['03dcb6df3dd643a6851d83afde0660584cf8cb0f'] | Add support for autoloading Enums
PHP 8.1 supports Enums, and [Enums follow class-semantics](https://php.watch/versions/8.1/enums#class-semantics-autoload).
Composer's class-map generator currently looks for `class`, `interface`, and `trait` keywords. If Composer is run in PHP 8.1 or later, Composer now additionally ... | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -215,7 +215,7 @@ private static function filterByNamespace($classes, $filePath, $baseNamespace, $\n private static function findClasses($path)\n ... | PHP |
66ec8b3d92c0ecf15563159b0107fdd1743a65ff | 471 | 2021-02-08 16:56:57+08:00 | -28,800 | ['03dcb6df3dd643a6851d83afde0660584cf8cb0f'] | docs: fix bad URL | [{'old_path': 'doc/articles/authentication-for-private-packages.md', 'new_path': 'doc/articles/authentication-for-private-packages.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -106,7 +106,7 @@ section or directly in the repository definition.\n \n The final option to supply Composer with credentials is to use... | PHP |
78d7792eb810319f86421071bf795ce41eca24f2 | 281 | 2021-02-10 10:48:07+01:00 | -3,600 | ['28bc0cecf1228de2743bbff5c41bce7d2c5e5714'] | Fix handling of promises for uninstall step when updating to a different install source | [{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -492,9 +492,15 @@ public function update(RepositoryInterface $repo, UpdateOperation $operation)\n $promise = $installer->update($rep... | PHP |
6a869ede77d4d79b7743234b907124185c385763 | 281 | 2021-02-10 10:48:08+01:00 | -3,600 | ['78d7792eb810319f86421071bf795ce41eca24f2'] | Fail early if git/hg/svn can not be found on the system, so that download can be retried from dist, fixes #9681 | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -71,6 +71,10 @@ protected function doDownload(PackageInterface $package, $path, $url, PackageInt\n if ($this->gitUtil->fetchRefOrSyncMirror($u... | PHP |
902174d2a7b7fb6a0c15f3a743767876f276483c | 281 | 2021-02-10 11:24:59+01:00 | -3,600 | ['6a869ede77d4d79b7743234b907124185c385763'] | Improve error reporting when failing to load a package, fixes #9680 | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -532,6 +532,7 @@ private function hasProviders()\n */\n private function whatProvides($name, array $acceptableStabilities = null, array... | PHP |
40095b20dc58772b7b630e1ca41f024fda7eae44 | 281 | 2021-02-10 14:34:59+01:00 | -3,600 | ['a6d92e1eee38ad78181ef6548942126461818475'] | Allow tweaking the max parallel http requests via env var, fixes #9671 | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1014,6 +1014,13 @@ similar use case), and need to support proxies, please provide the `CGI_HTTP_PRO\n environment variable instead. See [httpoxy.org](https://httpoxy.org/) for further\n details.\n \n+### COMPO... | PHP |
f37f3dab04cbcfc8d5936d22cfc5de20b600f82e | 281 | 2021-02-10 17:34:15+01:00 | -3,600 | ['b724adde107f28357ab72da6ce3d875e151c257f'] | Fix abort of downloads and zip extraction to happen immediately, fixes #9390 | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n use Composer\\Cache;\n use Composer\\IO\\IOInterface;\n use Composer\\IO\\NullIO;\n+use Composer\\Exception\\IrrecoverableDownloadExcep... | PHP |
4130d388fe6d5dcf79971a18f4216a099855babe | 281 | 2021-02-11 10:41:17+01:00 | -3,600 | ['f37f3dab04cbcfc8d5936d22cfc5de20b600f82e'] | Auto-detect packagist.org default repo replacements and deactivate it if it is redefined | [{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -78,8 +78,7 @@ class Config\n public static $defaultRepositories = array(\n \'packagist.org\' => array(\n \'type\' => \'composer\',\n- \'url\' => \'https?:... | PHP |
52d7c6c383e8b9ed9c8d12f1c52f15e9e92c3c68 | 281 | 2021-02-11 11:13:58+01:00 | -3,600 | ['4130d388fe6d5dcf79971a18f4216a099855babe'] | Fix/add tests and also handle case where a json object is used | [{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -179,12 +179,13 @@ public function merge($config)\n continue;\n }\n \n- // store repo\n- if (is_int($name)) {\n ... | PHP |
abcf9e993bb2787a1ce59154a406341eb33d379f | 281 | 2021-02-11 12:57:01+01:00 | -3,600 | ['4d2ae787032afb7adcfbba60298f5718039ec1fa'] | Fix processes silently ignoring the CWD when it does not exist, refs #9694 | [{'old_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -38,6 +38,9 @@ public function initialize()\n {\n if (Filesystem::isLocalPath($this->url)) {\n $this->url = preg_replace('{[\\\\/]... | PHP |
4c8149a33d9da7dd2bc3dbf90ebed2a2a8f68a8b | 281 | 2021-02-11 14:55:03+01:00 | -3,600 | ['e7f6dd287ca7f529d7aedb8249a60444d945affc'] | Only load dev requirements for the root package when collecting autoload dependencies during plugin activation, fixes #9683 | [{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -23,6 +23,7 @@\n use Composer\\Repository\\InstalledRepository;\n use Composer\\Repository\\RootPackageRepository;\n use Composer\\Package\\PackageInterface;\n+us... | PHP |
1c715b5821dd3b58c022be381a09aaaf8905b0ae | 281 | 2021-02-11 16:05:37+01:00 | -3,600 | ['4c8149a33d9da7dd2bc3dbf90ebed2a2a8f68a8b'] | Never load dev requirements, refs #9683 | [{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -184,7 +184,7 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n }\n \n $autoloadPackages = array($package->get... | PHP |
27d0c5c3ef621ba79d815e049ff56f3871ef2e81 | 281 | 2021-02-12 11:12:42+01:00 | -3,600 | ['d3ba447b79e45d1130e5523224700b97541b16de'] | Add test deficiencies in installed versions as the runtime autoloaders are not prepended and do not grant access to the latest data | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/functional/installed-versions.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,39 @@\n+--RUN--\n+update\n+--EXPECT--\n+> Hooks::preUpdate\n+!!PreUpdate:["composer/ca-bundle","composer/composer","composer/semver","composer/spdx-licenses","compose... | PHP |
d4073a40f9c2ec779233bcb0f8f4878bc0ef8e1b | 281 | 2021-02-12 11:14:40+01:00 | -3,600 | ['27d0c5c3ef621ba79d815e049ff56f3871ef2e81'] | Prepend runtime-autoloaders so that dependencies get loaded over Composer bundled packages
As Composer is generally compatible with newer versions of Symfony than the bundled ones, this should
not be a problem if dependencies are shared, and it ensures that the most relevant code gets loaded. | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -517,9 +517,9 @@ public function parseAutoloads(array $packageMap, PackageInterface $rootPackage,\n * @param array $autoloads see parseAut... | PHP |
cf324ee664b0a4ac5c6c59da7a3eeb59af4303d8 | 281 | 2021-02-12 11:18:04+01:00 | -3,600 | ['d4073a40f9c2ec779233bcb0f8f4878bc0ef8e1b'] | Make sure the plugins can use InstalledVersions to introspect themselves when being activated right after initial install | [{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -467,7 +467,11 @@ public function install(RepositoryInterface $repo, InstallOperation $operation)\n {\n $package = $operation->getPa... | PHP |
72675336902631b5eb87e0d55696a02ea91248b8 | 281 | 2021-02-15 17:57:57+01:00 | -3,600 | ['cf324ee664b0a4ac5c6c59da7a3eeb59af4303d8'] | Add one more InstalledVersions test for upgrades showing a known issue with plugin upgrades | [{'old_path': 'tests/Composer/Test/AllFunctionalTest.php', 'new_path': 'tests/Composer/Test/AllFunctionalTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,6 +23,7 @@ class AllFunctionalTest extends TestCase\n {\n protected $oldcwd;\n protected $oldenv;\n+ protected $oldenvCache;\n protecte... | PHP |
62af444821d33603efb10c4195cc456e1ed76a90 | 160 | 2021-02-16 12:51:14-08:00 | 28,800 | ['d3ba447b79e45d1130e5523224700b97541b16de'] | Check if SODIUM_LIBRARY_VERSION is defined | [{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -402,7 +402,9 @@ protected function initialize()\n \n case 'libsodium':\n case 'sodium':\n+ i... | PHP |
360966dcdfef76af0728e3222df7731712f1e096 | 197 | 2021-02-16 22:01:14+01:00 | -3,600 | ['25b2748101a7a73f3cd6f67b7cbeaf31d5dfeb62'] | EventDispatcher uses only the return value of the last one listener, refs #9703 | [{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -156,8 +156,9 @@ protected function doDispatch(Event $event)\n \n $this->pushEvent($event);\n \n- $return = 0;\n+ $ret... | PHP |
6035e462d8ce2532b44ae9c80aa63922e64aef3d | 281 | 2021-02-17 23:43:35+01:00 | -3,600 | ['6f392ae198603d1ee464392c113bc7b330bc2ec2'] | Fix test when on feature branch | [{'old_path': 'tests/Composer/Test/Repository/PathRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/PathRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -80,7 +80,7 @@ public function testLoadPackageFromFileSystemWithWildcard()\n $packages = $repository->getPackages();\n ... | PHP |
d91fe67a80d763aff6f58bdd0d6abc3c77e088ee | 281 | 2021-02-17 23:48:03+01:00 | -3,600 | ['6035e462d8ce2532b44ae9c80aa63922e64aef3d'] | Remove default branch alias from versions which are numeric, fixes #9705 | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -375,7 +375,12 @@ public function getBranchAlias(array $config)\n }\n }\n \n- if (isset($config['default-branch']) && $conf... | PHP |
22e79684ee942e51bc5aaa319154577cd1c8f010 | 281 | 2021-02-17 23:51:08+01:00 | -3,600 | ['a54d16f8a6a4581ae37d8512b7b9afd657b1863b'] | Fix unzip missing support for testsuite | [{'old_path': 'tests/Composer/Test/Fixtures/functional/installed-versions.test', 'new_path': 'tests/Composer/Test/Fixtures/functional/installed-versions.test', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,7 +21,7 @@ Lock file operations: 6 installs, 0 updates, 0 removals\n - Locking symfony/process (12345.1.... | PHP |
7d4501816c8a0aa814565de0f3c5f5de83481d14 | 398 | 2021-02-18 13:15:26+01:00 | -3,600 | ['03e8cacd12aa66d6ee0d4bf31e65ab6a1f2cab96'] | Allow querying InstalledVersions::isInstalled() for no-dev packages | [{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -53,13 +53,14 @@ public static function getInstalledPackages()\n * This also returns true if the package name is provided or replaced by another package\n *\n... | PHP |
8f7597da22eb19afa562568b08fb4ac920fa7c64 | 281 | 2021-02-22 13:42:58+01:00 | -3,600 | ['03e8cacd12aa66d6ee0d4bf31e65ab6a1f2cab96'] | Use a different way to suppress output than changing output verbosity in exec command, fixes #9711 | [{'old_path': 'src/Composer/Command/ExecCommand.php', 'new_path': 'src/Composer/Command/ExecCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -88,9 +88,6 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n $dispatcher = $composer->getEventDispatcher();\n $dis... | PHP |