Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
8cec8bd5460b897cca772cb312d281bc64f0c7ad | 281 | 2020-07-17 17:22:41+02:00 | -7,200 | ['c3d40ae79a3c0bc00e2aceba1571019bb9ce3257'] | Allow verify_peer/verify_peer_name http options to be handled by curl downloader | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -56,6 +56,8 @@ class CurlDownloader\n 'ssl' => array(\n 'cafile' => CURLOPT_CAINFO,\n 'capath' => CURLOPT_CAPATH,\n+ ... | PHP |
c353ac835c8e09600b91b9c20778390ee0ff1099 | 525 | 2020-07-21 17:10:26+02:00 | -7,200 | ['942562c3822b87ca73bd07b022b501104f67ad0e'] | Add exception for multiple composer.json files (#3) | [{'old_path': 'src/Composer/Repository/ArtifactRepository.php', 'new_path': 'src/Composer/Repository/ArtifactRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -88,7 +88,12 @@ private function scanDirectory($path)\n \n private function getComposerInformation(\\SplFileInfo $file)\n {\n+ $j... | PHP |
e5c7835d575e35349fc25dc2e201cee10f05ad12 | 511 | 2020-07-26 15:28:47-04:00 | 14,400 | ['5fceb4799a034bf97b0134aebaaa95de091a7d97'] | Properly support PHP 8.0 Named Arguments
See https://wiki.php.net/rfc/named_params#internal_functions
(implemented but not yet merged)
An ArgumentCountError will be thrown when passing variadic arguments to
a function with call_user_func_array() if extra unknown named arguments
are encountered.
Fatal error: Uncaught... | [{'old_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'new_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -81,7 +81,7 @@ public function selectPreferredPackages(Pool $pool, array $installedMap, array $\n $literals = $this->pruneRemo... | PHP |
b25296ef744a4c9ea8db50bfcd762d18362fa51d | 242 | 2020-07-27 13:26:57+01:00 | -3,600 | ['5fceb4799a034bf97b0134aebaaa95de091a7d97'] | Driver: only cache composer.json file without API data to disk | [{'old_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -119,11 +119,15 @@ public function getComposerInformation($identifier)\n \n if (!isset($this->infoCache[$identifier])) {\n ... | PHP |
404dea61c2a40f27a91c203c00ed33fb286ebedc | 321 | 2020-07-29 19:32:53+02:00 | -7,200 | ['5fceb4799a034bf97b0134aebaaa95de091a7d97'] | Allow specifying a version requirement for the relevant CLDR | [{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -154,7 +154,12 @@ protected function initialize()\n break;\n \n case 'intl':\n- $name = '... | PHP |
79813b2f7772cb6bf6a7b066fd1743a337ddd3eb | 281 | 2020-07-30 14:38:48+02:00 | -7,200 | ['d8fa7464334404643237971bdf921120f784916e'] | Fix detection of git refs to be more strict | [{'old_path': 'src/Composer/Repository/Vcs/VcsDriver.php', 'new_path': 'src/Composer/Repository/Vcs/VcsDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -81,7 +81,7 @@ final public function __construct(array $repoConfig, IOInterface $io, Config $co\n */\n protected function shouldCache($identifier... | PHP |
7bcde1481d08bde910a2da9c7dcfa4fc572dd211 | 281 | 2020-07-30 14:38:48+02:00 | -7,200 | ['79813b2f7772cb6bf6a7b066fd1743a337ddd3eb'] | Fix git downloader syntax for windows cmd when updating packages, fixes #9089 | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -146,10 +146,10 @@ protected function doUpdate(PackageInterface $initial, PackageInterface $target,\n \n if (!empty($this->cachedPackages[$target-... | PHP |
12d6759888963a09e19944d54e9d1bbcc803f105 | 281 | 2020-07-30 14:38:49+02:00 | -7,200 | ['7bcde1481d08bde910a2da9c7dcfa4fc572dd211'] | Fail hard instead of skipping branches/tags quietly when parsing VCS repos if 401/403 are returned, fixes #9087 | [{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -265,6 +265,9 @@ protected function initialize()\n if ($e->getCode() === 404) {\n $this->emptyReferences[] = $... | PHP |
5bd61ac55c45e031e749f4b0234821636ba2a6c5 | 281 | 2020-07-30 16:32:29+02:00 | -7,200 | ['7028d0ce27f9cd4e4e9022d863fea97c1ad6c5e2'] | Cache versions data to avoid redownloading it twice during self-update | [{'old_path': 'src/Composer/SelfUpdate/Versions.php', 'new_path': 'src/Composer/SelfUpdate/Versions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,6 +26,7 @@ class Versions\n private $rfs;\n private $config;\n private $channel;\n+ private $versionsData;\n \n public function __construct(C... | PHP |
387e8289939284f1b3b67c392cd58b260e4e365c | 281 | 2020-07-30 16:32:29+02:00 | -7,200 | ['5bd61ac55c45e031e749f4b0234821636ba2a6c5'] | Promote next major version when running stable self-update, and prevent self-update from automatically upgrading to the next major release | [{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -135,8 +135,36 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n $latest = $versionsUtil->getLatest();\n ... | PHP |
019febb5fa40f13c41282a0c2a3981a7f318c331 | 76 | 2020-08-02 15:10:54+01:00 | -3,600 | ['2d3905157d6e0d699446391446ab50f2eef772f2'] | Use consistent phpdoc nullable syntax | [{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -46,7 +46,7 @@ public static function isInstalled($packageName)\n *\n * @param VersionParser $parser Install composer/semver to have access to this class... | PHP |
f1ba37bf8bc3815631b8169b7d29e70b430503d1 | 482 | 2020-08-03 12:35:04+02:00 | -7,200 | ['60a07867a3e169e1c72eb1018bc162290f4c5e84'] | Fix the example link for the list endpoint
The autolinking from GFM does not include the * char in the link. Using an explicit link in the markdown fixes it. | [{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -80,4 +80,4 @@ The providers-api is optional, but if you implement it it should return packages\n \n This is also optional, it should accept an optional `?filter=xx` query param, which can contain `*` as wild... | PHP |
2709d943afa301a693ad91014ef8de1bbacc73d3 | 14 | 2020-08-10 17:36:34+02:00 | -7,200 | ['54aac000ba78f8d6848fe4602710d41c3758c5e2'] | Move note about when it is not necessary to commit the lockfile from the "Updating dependencies to their latest version" section to the "Commit your composer.lock file to version control" section | [{'old_path': 'doc/01-basic-usage.md', 'new_path': 'doc/01-basic-usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -142,6 +142,9 @@ reinstalling the project you can feel confident the dependencies installed are\n still working even if your dependencies released many new versions since then.\n (See note below... | PHP |
c0309f22d7050df0e93c85483ec441613c005b5b | 449 | 2020-08-10 12:51:48-07:00 | 25,200 | ['54aac000ba78f8d6848fe4602710d41c3758c5e2'] | Update PathDownloader.php
If a path repository points at a directory that is managed by composer installers, the path that gets set ends up being relative, and this check fails to see that the source is already present, and therefore removes it.
Since ->install is already using realpath around the $path argument, r... | [{'old_path': 'src/Composer/Downloader/PathDownloader.php', 'new_path': 'src/Composer/Downloader/PathDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -180,7 +180,7 @@ public function remove(PackageInterface $package, $path, $output = true)\n {\n $realUrl = realpath($package->getDistUrl());... | PHP |
7649c8438da5db345fac9fa68b5029fc874f2325 | 281 | 2020-08-11 09:42:42+02:00 | -7,200 | ['54aac000ba78f8d6848fe4602710d41c3758c5e2'] | Fix exception when using create-project in current directory, fixes #9073 | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -46,10 +46,17 @@ public function install(PackageInterface $package, $path, $output = true)\n $this->io->writeError('Extracting archive... | PHP |
826db3db5e16b0836e9f015d17a3584cd5fd2d64 | 281 | 2020-08-12 11:11:37+02:00 | -7,200 | ['c0eb9834fef009316b0146763f9440ddd844169d'] | Used locked repo only if it is present | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -387,7 +387,7 @@ protected function doUpdate(RepositoryInterface $localRepo, $doInstall)\n $this->io->writeError('<info>Updating dependencies</info>');\n \n // if we're... | PHP |
ff757e649cc10bfc19eee0900353035cb42912e5 | 281 | 2020-08-12 12:41:19+02:00 | -7,200 | ['826db3db5e16b0836e9f015d17a3584cd5fd2d64'] | Use pool to match packages to avoid getting packages without ids, fixes #9094 | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -578,8 +578,8 @@ protected function getPackage(InstalledRepository $installedRepo, RepositoryInte\n \n $matchedPackage = null;\n $versions = array()... | PHP |
657ae5519ee7f23d56329a8c64f778c4162554f7 | 525 | 2020-08-12 20:30:58+02:00 | -7,200 | ['ff757e649cc10bfc19eee0900353035cb42912e5'] | Add support for TAR in Artifact packages (#9105) | [{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -516,7 +516,7 @@ There are some cases, when there is no ability to have one of the previously\n mentioned repository types online, even the VCS one. Typical example could be\n cross-organisati... | PHP |
7e1ef19a5a544af35a3b063652659637c711fb2a | 281 | 2020-08-13 15:48:41+02:00 | -7,200 | ['657ae5519ee7f23d56329a8c64f778c4162554f7'] | Expand library version checking capabilities (closes #9093) | [{'old_path': None, 'new_path': 'src/Composer/Platform/HhvmDetector.php', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,59 @@\n+<?php\n+/*\n+ * This file is part of Composer.\n+ *\n+ * (c) Nils Adermann <naderman@naderman.de>\n+ * Jordi Boggiano <j.boggiano@seld.be>\n+ *\n+ * For the full copyright and lic... | PHP |
4d20e6f5d651b815ff16adf2a5ceeb3b77dd1bcb | 281 | 2020-08-13 15:48:41+02:00 | -7,200 | ['7e1ef19a5a544af35a3b063652659637c711fb2a'] | Move Version util to Platform namespace, fix CS nitpicks, make regexes case insensitive for robustness, refs #9093 | [{'old_path': 'src/Composer/Platform/HhvmDetector.php', 'new_path': 'src/Composer/Platform/HhvmDetector.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,8 +21,8 @@ class HhvmDetector\n private $executableFinder;\n private $processExecutor;\n \n- public function __construct(ExecutableFinder $execu... | PHP |
c845d66818aa159a730aa4f0d21a75ad34e2e3b0 | 281 | 2020-08-13 15:48:41+02:00 | -7,200 | ['4d20e6f5d651b815ff16adf2a5ceeb3b77dd1bcb'] | Lowercase ext- package names, refs #9093 | [{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -560,7 +560,7 @@ private function addExtension($name, $prettyVersion)\n */\n private function buildPackageName($name)\n {\n- ... | PHP |
2279b6fdad4ed2f095b6d3db15c9e58eb65c8c6d | 345 | 2020-08-13 15:57:39+02:00 | -7,200 | ['c845d66818aa159a730aa4f0d21a75ad34e2e3b0'] | phpstan natively sends github action formatted errors
no need to use cs2pr for now | [{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -34,7 +34,6 @@ jobs:\n extensions: "intl, zip"\n ini-values: "memory_limit=-1"\n php-version: "${{ matrix.php-version }}"\n- tools: "cs2pr"... | PHP |
fdff3aeaba2183e236f99dea4b284559b85f7e23 | 36 | 2020-08-13 16:37:32+02:00 | -7,200 | ['c845d66818aa159a730aa4f0d21a75ad34e2e3b0'] | emit github action formatted error messages (#9120) | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,6 +11,7 @@ on:\n env:\n COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"\n COMPOSER_UPDATE_FLAGS: ""\n+ COMPOSER_TESTS... | PHP |
00e268cdbfd1dde8c311fca3f22d49e51daeaffe | 281 | 2020-08-13 16:45:43+02:00 | -7,200 | ['071350286fb196722728511aecd00e1defa826c7'] | Clear Intervals cache when we are done with it | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -238,6 +238,8 @@ public function buildPool(array $repositories, Request $request)\n $this->skippedLoad = array();\n $this->ind... | PHP |
3be62a9fdaa1cafbe8a990686317609a875bfa6f | 303 | 2020-08-14 17:45:41+01:00 | -3,600 | ['b112f90b73ac31fdb88ae16b9a6172ad74a00a5d'] | Fix openssl_free_key deprecation notice in PHP 8 | [{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -271,7 +271,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $signature = json_decode($signature, true);\n... | PHP |
4e06aa051a7d27966fe9b0bd548cc2fc0e6fa55f | 321 | 2020-08-18 16:00:44+02:00 | -7,200 | ['4aaff4c4b48e98a2b2bda07677f64b855c73c234'] | Check if inet_pton() exists | [{'old_path': 'src/Composer/Platform/Runtime.php', 'new_path': 'src/Composer/Platform/Runtime.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -34,6 +34,15 @@ public function getConstant($constant, $class = null)\n return constant(ltrim($class.'::'.$constant, ':'));\n }\n \n+ /**\n+ * @param s... | PHP |
f262feebec342733785e304333498715de524a59 | 404 | 2020-08-22 20:07:13+03:00 | -10,800 | ['38f49acfdd4baf8846f23fc79d4c710e39dfe17d'] | fixing error message for higher repository priority, when higher repo has only a dev-branch | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -279,11 +279,11 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n return array("- Root composer.json r... | PHP |
a16f32484bdd35fd344ce808cff90c6dc3b059a8 | 242 | 2020-08-22 19:37:42+01:00 | -3,600 | ['0eebdcf2e655f28107aa2c5c33f6d7a4c948457b'] | Downloader: add a max_file_size to prevent too big files to be downloaded | [{'old_path': None, 'new_path': 'src/Composer/Downloader/MaxFileSizeExceededException.php', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,7 @@\n+<?php\n+\n+namespace Composer\\Downloader;\n+\n+class MaxFileSizeExceededException extends TransportException\n+{\n+}\n'}, {'old_path': 'src/Composer/Util/Http/CurlDo... | PHP |
45246aca221cc9e6bbeb76c68cf7ca3263a2d08c | 281 | 2020-08-23 15:06:23+02:00 | -7,200 | ['c5f6413142236e30e8077b766a67e25be6c6ab95'] | Update deps, fixes #9125 | [{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,16 +8,16 @@\n "packages": [\n {\n "name": "composer/ca-bundle",\n- "version": "1.2.7",\n+ "version": "1.2.8",\n "source": {\n "type":... | PHP |
4d837836411ded944d63b03124af19048e133817 | 281 | 2020-08-23 16:03:00+02:00 | -7,200 | ['e745e5965619b01850c11d6dc73e3a34599d7021'] | Fix test to avoid network usage | [{'old_path': 'tests/Composer/Test/Fixtures/installer/repositories-priorities4.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/repositories-priorities4.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,8 +25,17 @@ Packages found in a higher priority repository take precedence even if they are\n ... | PHP |
448daea69687a557a9fc9a05b80646ba02295e91 | 281 | 2020-08-23 16:48:07+02:00 | -7,200 | ['4d837836411ded944d63b03124af19048e133817'] | Add support for detecting packages not matching only due to minimum stability | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -276,27 +276,19 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n \n // check if the package is found when... | PHP |
d140a842fa92067aaec5553cc8fbd98e5943f2d8 | 242 | 2020-08-24 13:53:07+01:00 | -3,600 | ['2bd1bd419432f19b882193df5e50edac6c58a731'] | RemoteFilesystem: avoid warning when setting max file size | [{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -248,6 +248,7 @@ protected function get($originUrl, $fileUrl, $additionalOptions = array(), $file\n $maxFileSize = null;\n if (isset($options['m... | PHP |
b847c4dc3a7bee6c47ed2d2f62de263077e0ab80 | 281 | 2020-08-25 08:58:43+02:00 | -7,200 | ['45246aca221cc9e6bbeb76c68cf7ca3263a2d08c'] | Validate licenses correctly even when proprietary is combined with some other license, fixes #9144 | [{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -111,28 +111,30 @@ public function load(array $config, $class = \'Composer\\Package\\CompletePackage\')\n if (is_array... | PHP |
6186c7f36f509c7476f4ffe947ad35704301b1ec | 281 | 2020-08-25 11:05:28+02:00 | -7,200 | ['05e9fe936f7f11ee94683b53a48ba1c9f9f60c5f'] | Fix handling of root aliases in partial updates, fixes #9110 | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -390,8 +390,12 @@ protected function doUpdate(RepositoryInterface $localRepo, $doInstall)\n // if we're updating mirrors we want to keep exactly the same versions installed whi... | PHP |
875a4784edccd9ff6ace21d64850776c031ee9c6 | 281 | 2020-08-25 13:54:29+02:00 | -7,200 | ['6186c7f36f509c7476f4ffe947ad35704301b1ec'] | Reorg config class a little | [{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -211,6 +211,7 @@ public function getRepositories()\n public function get($key, $flags = 0)\n {\n switch ($key) {\n+ // strings/paths with env var and {$refs} suppo... | PHP |
90332f1dbd2b0d22f6e0272cfe4bc0d759e5dc84 | 281 | 2020-08-25 13:55:32+02:00 | -7,200 | ['875a4784edccd9ff6ace21d64850776c031ee9c6'] | Add a readonly mode to the cache, fixes #9150 | [{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -204,6 +204,10 @@ downloads. When the garbage collection is periodically ran, this is the maximum\n size the cache will be able to use. Older (less used) files will be removed\n first until the cache fits... | PHP |
f516d36f6f9315725635fa5276774b3f70132a95 | 281 | 2020-08-25 15:37:28+02:00 | -7,200 | ['00e268cdbfd1dde8c311fca3f22d49e51daeaffe'] | Make sure Request::requireName can not be called twice for the same name | [{'old_path': 'src/Composer/DependencyResolver/Request.php', 'new_path': 'src/Composer/DependencyResolver/Request.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -56,7 +56,14 @@ public function __construct(LockArrayRepository $lockedRepository = null)\n public function requireName($packageName, ConstraintIn... | PHP |
dc1fd92b9b73a02cb0797ceeaac93e0d208e6b97 | 427 | 2020-08-26 17:23:10+03:00 | -10,800 | ['d645b3c45a5395b5631de2c9148563886454aa14'] | Util/Zip: fix strpos args order
`strpos()` first argument is a haystack, not a needle.
`strpos('x', $s)` is identical to `$s === 'x'` which is probably not what we want here. | [{'old_path': 'src/Composer/Util/Zip.php', 'new_path': 'src/Composer/Util/Zip.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -92,7 +92,7 @@ private static function locateFile(\\ZipArchive $zip, $filename)\n }\n \n // handle archives which do not have a TOC record for the directory itsel... | PHP |
87573aab27dc6d80601155b6c31781fd375ad317 | 144 | 2020-08-26 23:01:00+07:00 | -25,200 | ['d645b3c45a5395b5631de2c9148563886454aa14'] | Sanitize repo URLs to mask HTTP auth passwords from cache directory
When a Composer repository is cached, a directory name is generated created stored package meta information fetched from that repository.
The cache directory can contain HTTP basic auth tokens, or access_token query parameters that end up in the direc... | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -129,7 +129,7 @@ public function __construct(array $repoConfig, IOInterface $io, Config $config,\n \n $this->baseUrl = rtrim(preg_replac... | PHP |
931a1ff1f8d7e567bb27514c196d5ecdf47be726 | 144 | 2020-08-27 12:13:28+07:00 | -25,200 | ['90332f1dbd2b0d22f6e0272cfe4bc0d759e5dc84'] | AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth
Previously, `AuthHelper` consumed the authentication credentials for GitLab domains and added access tokens as GitLab-specific headers.
[Composer repositories now supported in GitLab](https://php.watch/articles/composer-gitlab-repositories) require s... | [{'old_path': 'src/Composer/Util/AuthHelper.php', 'new_path': 'src/Composer/Util/AuthHelper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -205,7 +205,10 @@ public function addAuthenticationHeader(array $headers, $origin, $url)\n $headers[] = 'Authorization: token '.$auth['username'];\n ... | PHP |
c3db4614c9d5ddd26a83cf8db05a6828ec168f9d | 281 | 2020-08-27 10:19:23+02:00 | -7,200 | ['98862f54087ed6e6ba72937ecf678e809d85d839'] | Also remove credentials from cache dirs in git/svn drivers, fixes #7439, refs #9155 | [{'old_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,7 @@\n \n use Composer\\Util\\ProcessExecutor;\n use Composer\\Util\\Filesystem;\n+use Composer\\Util\\Url;\n use Composer\\Util\\Git as GitUtil... | PHP |
f18d91bd58b41e914ff72441cdaefc6a24db96a3 | 281 | 2020-08-27 11:25:43+02:00 | -7,200 | ['c3db4614c9d5ddd26a83cf8db05a6828ec168f9d'] | Fix pre/post-package-install/update/uninstall events receiving a partial list of operations, fixes #9079 | [{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -292,14 +292,12 @@ public function execute(RepositoryInterface $repo, array $operations, $devMode =\n if ($batch) {\n ... | PHP |
706125fbbff1d7cde55687c8bb357b805068374b | 159 | 2020-08-27 20:05:04-10:00 | 36,000 | ['f18d91bd58b41e914ff72441cdaefc6a24db96a3'] | Update config section to note required scope for GitLab tokens | [{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -93,7 +93,8 @@ private repositories on gitlab. Using `{"gitlab.com": {"username": "gitlabuser",\n token functionality (https://docs.gitlab.com/ee/user/project/deploy_tokens/)\n Please note: If the package... | PHP |
fcb9ef48998294aaf6d255d223adce0b4f7fee7e | 388 | 2020-08-28 12:15:19+02:00 | -7,200 | ['9a04ecefbf84a776d9897fe6efdf9142dd56c80f'] | Allow defining multiple reppos in pool builder tests | [{'old_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/alias-priority-conflicting.test', 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/alias-priority-conflicting.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,7 +26,8 @@ Check root aliases are loaded\n [\n ]\n... | PHP |
c9201b8e408bc2b921af145e206c4cc87329edc7 | 388 | 2020-08-28 13:07:11+02:00 | -7,200 | ['fcb9ef48998294aaf6d255d223adce0b4f7fee7e'] | PoolBuilderTest: Allow setting filter options for repositories | [{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/must-expand-root-reqs.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,36 @@\n+--TEST--\n+Fixed packages do not get loaded from the repos\n+\n+--REQUEST--\n+{\n+ "require": {\n+ "some/pkg": "*",\n+ ... | PHP |
cf8ff2a75de7693395e60d164683efc44e83430e | 388 | 2020-08-28 13:40:44+02:00 | -7,200 | ['bfc695e67c7d4af6b9eca88861555c0db072ba8c'] | Fix test filename to end with .test extension so it gets run | [{'old_path': 'tests/Composer/Test/Fixtures/installer/provider-packages-can-be-installed-together-with-provided-if-both-installable.json', 'new_path': 'tests/Composer/Test/Fixtures/installer/provider-packages-can-be-installed-together-with-provided-if-both-installable.test', 'type': <ModificationType.RENAME: 3>, 'diff'... | PHP |
85950f8e9a7f9901c061456ceb43317d59b23661 | 388 | 2020-08-28 13:40:44+02:00 | -7,200 | ['cf8ff2a75de7693395e60d164683efc44e83430e'] | Fix provider coexistence test, needs another requirement to install both | [{'old_path': 'tests/Composer/Test/Fixtures/installer/provider-packages-can-be-installed-together-with-provided-if-both-installable.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/provider-packages-can-be-installed-together-with-provided-if-both-installable.test', 'type': <ModificationType.MODIFY: 5>, 'diff'... | PHP |
140665eadd1f7a65918702e17c8c18247b2cc5dc | 388 | 2020-08-28 13:40:44+02:00 | -7,200 | ['85950f8e9a7f9901c061456ceb43317d59b23661'] | Add another test verifying that a package may provide an incompatible version of sth that actually exists | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/provider-can-coexist-with-other-version-of-provided.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,34 @@\n+--TEST--\n+Test that providers can coexist with a different version of the package they provide\n+--COMPOSER--\n+{\n+ "repo... | PHP |
a1e1cd8fa4047a4f65abd853ccccc87c92733bba | 534 | 2020-08-28 14:34:50+02:00 | -7,200 | ['c9201b8e408bc2b921af145e206c4cc87329edc7'] | Do not trigger Intervals::isSubsetOf() over and over again for platform packages | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -245,6 +245,11 @@ public function buildPool(array $repositories, Request $request)\n \n private function markPackageNameForLoading(Request... | PHP |
43093d0eeb3cbae7d7edd430de50e76ef781f07b | 388 | 2020-08-28 14:50:28+02:00 | -7,200 | ['140665eadd1f7a65918702e17c8c18247b2cc5dc'] | Add tests for edge cases of packages providing names which exist as real packages | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/provider-gets-picked-together-with-other-version-of-provided-conflict.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,56 @@\n+--TEST--\n+A root requirement for a name exists as well as a dependency\'s requirement for the same name but... | PHP |
fc87caf63974e347dd208d00ffb0be942b4cc198 | 146 | 2020-08-29 21:21:15+02:00 | -7,200 | ['113adbcd8724d6cfc1d47a0a1486ccd4a37a8a95'] | Provide correct parameter data type | [{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -605,7 +605,7 @@ function ($vals) {\n $value = strtolower($values[0]);\n if (true === $booleanValidator($value)) {\n ... | PHP |
6c4ed247dd31be17847339bfff80871d95924ea7 | 388 | 2020-08-31 16:00:49+02:00 | -7,200 | ['13854127487bff9cb6864f3d33bdb7ef5577ceaf'] | Add a pool builder test for replaces across multiple repos | [{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/multi-repo-replace.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,95 @@\n+--TEST--\n+Check that replacers from additional repositories are loaded\n+\n+--REQUEST--\n+{\n+ "require": {\n+ "base/package": ... | PHP |
976fcd2eb438f21457555d92125b7ef958507d89 | 388 | 2020-09-01 12:07:12+02:00 | -7,200 | ['6c4ed247dd31be17847339bfff80871d95924ea7'] | PoolBuilderTest: Add case for multiple repositories and partial update with replace | [{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/multi-repo-replace-partial-update.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,107 @@\n+--TEST--\n+Check that replacers from additional repositories are loaded when doing a partial update\n+\n+--REQUEST--\n+{\n... | PHP |
b2670945bd853493951045820cc69940d859e192 | 388 | 2020-09-01 12:23:51+02:00 | -7,200 | ['976fcd2eb438f21457555d92125b7ef958507d89'] | PoolBuilder: clear up comment, matching and identity are different for constraints | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -266,7 +266,7 @@ private function markPackageNameForLoading(Request $request, $name, ConstraintIn\n }\n \n // Maybe it was alr... | PHP |
7b990f37673ead8af4c6dd320727631d7f68bac6 | 388 | 2020-09-01 12:28:22+02:00 | -7,200 | ['b2670945bd853493951045820cc69940d859e192'] | PoolBuilder: Move merging of constaints to be loaded into relevant section | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -265,6 +265,9 @@ private function markPackageNameForLoading(Request $request, $name, ConstraintIn\n $constraint = $rootRequires[$n... | PHP |
773635e355fc5cb59f2d6fa6b74b10b155eaabe5 | 242 | 2020-09-01 12:21:36+01:00 | -3,600 | ['b847c4dc3a7bee6c47ed2d2f62de263077e0ab80'] | ComposerRepository: avoid notice if includes do not provide a sha1 | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -637,7 +637,7 @@ protected function loadIncludes($data)\n \n if (isset($data['includes'])) {\n foreach ($data['includes'] as... | PHP |
4ac9f445719a2ed8b522d4246938129c265bcfe4 | 388 | 2020-09-01 16:57:24+02:00 | -7,200 | ['046c54fdb813d92502374a2272d908eac6b4bdfe'] | Clear up PoolBuilder comment after code move | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -265,8 +265,7 @@ private function markPackageNameForLoading(Request $request, $name, ConstraintIn\n $constraint = $rootRequires[$n... | PHP |
bd6f62c5355c6d541cf36e64e36bf505d2429a1a | 534 | 2020-09-01 17:19:19+02:00 | -7,200 | ['046c54fdb813d92502374a2272d908eac6b4bdfe'] | Consistently reuse the new PlatformRepository::isPlatformPackage() method | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -122,7 +122,7 @@ public function setIgnorePlatformRequirements($ignorePlatformReqs)\n {\n if (is_array($ignorePlatformReqs)) {\n ... | PHP |
2b4e9742c4c3704f581ffa8d1f6f16ac9d843406 | 280 | 2020-09-02 12:32:49+10:00 | -36,000 | ['4ac9f445719a2ed8b522d4246938129c265bcfe4'] | capitalised the word "But" in point 3.
Just capitalised the word `But`. | [{'old_path': 'doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md', 'new_path': 'doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,7 +25,7 @@ If you really feel like you must do this, you have a few options:\n 3. Remove the `.git... | PHP |
3b2d91975ea2db35cee67deebe48dcdcfbae0f57 | 242 | 2020-09-02 16:55:37+01:00 | -3,600 | ['86ff43d8b99212b785a56129575d46f7d1d45bc6'] | RemoteFileSystem: response decode for TransportException | [{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -299,7 +299,7 @@ protected function get($originUrl, $fileUrl, $additionalOptions = array(), $file\n $e = new TransportException(\'Content-Length... | PHP |
9516d0dc98388d2cb3e324814061b3d7d4ce5d3d | 470 | 2020-09-03 08:18:07+02:00 | -7,200 | ['86ff43d8b99212b785a56129575d46f7d1d45bc6'] | Re-Fetch cached packages only once in a run | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -43,7 +43,6 @@\n */\n class ComposerRepository extends ArrayRepository implements ConfigurableRepositoryInterface\n {\n- private $config;\n ... | PHP |
687f886d56094d18b10dd64a3b428d4dafc40338 | 470 | 2020-09-03 15:56:04+02:00 | -7,200 | ['86ff43d8b99212b785a56129575d46f7d1d45bc6'] | Moved duplicated table render code to a new method in BaseCommand | [{'old_path': 'src/Composer/Command/BaseCommand.php', 'new_path': 'src/Composer/Command/BaseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,6 +21,7 @@\n use Composer\\Plugin\\PreCommandRunEvent;\n use Composer\\Package\\Version\\VersionParser;\n use Composer\\Plugin\\PluginEvents;\n+use Symfony\\Com... | PHP |
a66db4867341323e3b035e309eb556a41fbd7159 | 451 | 2020-09-03 17:40:09+01:00 | -3,600 | ['86ff43d8b99212b785a56129575d46f7d1d45bc6'] | :sparkles: Ask for target directory when using `create-project` | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -748,6 +748,7 @@ By default the command checks for the packages on packagist.org.\n * **--ignore-platform-req:** ignore a specific platform requirement(`php`,\n `hhvm`, `lib-*` and `ext-*`) and force the inst... | PHP |
fc961dce707aeb52ba76d95253d7d70689cfbd84 | 360 | 2020-09-03 23:26:09+02:00 | -7,200 | ['3e56ec28810d50b61b8443f1100fc00259aa19bd'] | Call call_user_func_array() with a numeric arguments array. | [{'old_path': 'src/Composer/Autoload/ClassLoader.php', 'new_path': 'src/Composer/Autoload/ClassLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -60,7 +60,7 @@ class ClassLoader\n public function getPrefixes()\n {\n if (!empty($this->prefixesPsr0)) {\n- return call_user_func_arra... | PHP |
32a0563443d0e8ede8163dd9a466c1c9c238f779 | 242 | 2020-09-04 11:33:36+01:00 | -3,600 | ['3b2d91975ea2db35cee67deebe48dcdcfbae0f57'] | RemoteFileSystem: catch decode errors for content length mismatch | [{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -299,7 +299,12 @@ protected function get($originUrl, $fileUrl, $additionalOptions = array(), $file\n $e = new TransportException('Content-Length... | PHP |
e6b45e853aad1036118273c69c69e88138480f42 | 281 | 2020-09-07 13:54:14+02:00 | -7,200 | ['960413da3afa97244ff62cc9b94c50dab83413d5'] | Fix status command handling of symlinks, and especially broken ones, fixes #9169 | [{'old_path': 'src/Composer/Package/Comparer/Comparer.php', 'new_path': 'src/Composer/Package/Comparer/Comparer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -102,21 +102,21 @@ private function doTree($dir, &$array)\n if ($dh = opendir($dir)) {\n while ($file = readdir($dh)) {\n ... | PHP |
45653c55d8d3400289a7847fb6ee769899739c57 | 281 | 2020-09-07 15:29:41+02:00 | -7,200 | ['199696d12019787fd4d851db143eb2b2018b4101'] | Handle authentication for api domains of GitHub/Bitbucket, fixes #9173 | [{'old_path': 'src/Composer/Util/AuthHelper.php', 'new_path': 'src/Composer/Util/AuthHelper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -235,6 +235,8 @@ public function addAuthenticationHeader(array $headers, $origin, $url)\n $this->io->writeError($authenticationDisplayMessage, true, IOInter... | PHP |
b1cbc08ec0a2575da78e06db56e81a2e7ed90fcb | 281 | 2020-09-07 16:22:28+02:00 | -7,200 | ['cc1874e21bc20de3c44d6092c669470ccc031d59'] | Allow false as well as repository value, refs #9165 | [{'old_path': 'src/Composer/Config/ConfigSourceInterface.php', 'new_path': 'src/Composer/Config/ConfigSourceInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,7 +24,7 @@ interface ConfigSourceInterface\n * Add a repository\n *\n * @param string $name Name\n- * @param array ... | PHP |
cb3c71a18a7e52cc765d8be223a5f61187eb2f55 | 281 | 2020-09-07 17:00:02+02:00 | -7,200 | ['9516d0dc98388d2cb3e324814061b3d7d4ce5d3d'] | Always assume the cache file is fresh when loading a package again which was already loaded, even if it lacks a last-modified header. | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -568,17 +568,16 @@ private function whatProvides($name, array $acceptableStabilities = null, array\n } elseif ($useLastModifiedC... | PHP |
bae227ec2d2fe593bdae406687caab8901b7619f | 470 | 2020-09-07 21:08:34+02:00 | -7,200 | ['8694077564749d9ede4fc37a96e492051e75b535'] | Changed all substr calls used to compare fragments of text to strpos
Some additional code cleanups in those classes
Reverted change causing issues | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -251,7 +251,7 @@ private static function findClasses($path)\n // strip strings\n $contents = preg_replace(\'{"[^"\\\\\\\\]*+(\\\\\\\\.... | PHP |
9dc125f79c5ecb9ce92b56b5d977d999518e8725 | 281 | 2020-09-08 11:14:13+02:00 | -7,200 | ['bae227ec2d2fe593bdae406687caab8901b7619f'] | Fix cleanup of useless feature_versions | [{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -94,7 +94,7 @@ public function guessVersion(array $packageConfig, $path)\n \n private function postprocess(array $versionData)\n {\n- ... | PHP |
f3936b82cdaa965ed043be0bc30f056749df4233 | 470 | 2020-09-08 11:33:41+02:00 | -7,200 | ['8694077564749d9ede4fc37a96e492051e75b535'] | Added test to cancel ProcessExecutor::asyncExecute | [{'old_path': 'tests/Composer/Test/Util/ProcessExecutorTest.php', 'new_path': 'tests/Composer/Test/Util/ProcessExecutorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n use Composer\\Util\\ProcessExecutor;\n use Composer\\Test\\TestCase;\n use Composer\\IO\\BufferIO;\n+use React\\Promise\\Pr... | PHP |
57b4016f8a18f5062f673b32dfbc407936741814 | 281 | 2020-09-08 12:01:10+02:00 | -7,200 | ['5555b04cea2ec0e3389d4eb3a1019e9d1c93879f'] | Show default value instead of optional, refs #9181 | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -132,7 +132,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n \n if ($input->isInteractive() &... | PHP |
7ef87626ac0e422da9593c93fc5dd878ad917ff8 | 470 | 2020-09-08 12:01:51+02:00 | -7,200 | ['f3936b82cdaa965ed043be0bc30f056749df4233'] | Fixed self usage in closure fails on PHP 5.3 | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -188,13 +188,13 @@ private function addJob($request, $sync = false)\n $curl = $this->curl;\n \n $canceler = function () use (&$job, $curl) {\n- ... | PHP |
4a02768591d04e28c21bd675635e74246e8602ec | 281 | 2020-09-09 11:44:05+02:00 | -7,200 | ['d61c1ccb7cf13f2730b768eca1bebf84800e4875'] | Fail hard if an invalid root alias is detected | [{'old_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'new_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -190,6 +190,8 @@ private function extractAliases(array $requires, array $aliases)\n \'alias\' => $match[2],\n ... | PHP |
66a767c065abb12e179f16c4fc618127e83f29e6 | 374 | 2020-09-09 21:43:46-05:00 | 18,000 | ['0408207e350d3be0a7b2c8a9795841f6f235826e'] | specify covered names with regexes in 2.x repos
This supplements the available-packages list so that repositories may
rule themselves out of a given name (and thus not be probed with lazy
load requests) by regex, as well as by exact name match.
The use case is sizeable and varying supplemental Composer repositories
s... | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,6 +12,7 @@\n \n namespace Composer\\Repository;\n \n+use Composer\\Package\\BasePackage;\n use Composer\\Package\\Loader\\ArrayLoader;\n use... | PHP |
2a82371adf9fb7b1d02c80f1b1636bfea5815ed5 | 281 | 2020-09-10 14:58:05+02:00 | -7,200 | ['8d985634a8466ddd9953bfb83544bf29db7235cf'] | Rename available-package-regexes to available-package-patterns and switch negated function around, refs #9197 | [{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -68,7 +68,7 @@ This new metadata-url should serve all packages which are in the repository.\n - The `foo/bar.json` and `foo/bar~dev.json` files containing package versions MUST contain only versions for the f... | PHP |
1593b67230ddda3ca565716b47082f8ccc309825 | 281 | 2020-09-11 11:01:32+02:00 | -7,200 | ['bb96b04f4a2a21b7546a1b2374028911cd862606'] | Fix warnings on higher phpunit versions | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -154,7 +154,7 @@ jobs:\n \n - name: "Run tests"\n if: "matrix.php-version != \'7.3\'"\n- run: "vendor/bin/simple-phpunit"\n+ ... | PHP |
1a2fea350957094ca7056ccfc9c7dc992a6aab6f | 246 | 2020-09-11 11:23:24+02:00 | -3,600 | ['a1c731b5523ed0a1db78f9f8c5ee16f2c927480d'] | Fix actions on PHP 8.0 | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,31 +38,31 @@ jobs:\n os: [ubuntu-latest]\n experimental: [false]\n include:\n- - php-version: 5.3\n+ -... | PHP |
711d4792ce05c69dcd487c7d3b0a0638f70d23f5 | 281 | 2020-09-11 11:23:24+02:00 | -7,200 | ['144d8e5359fdcb82f6538b9767add7413c8cbdcf'] | Attempt rolling back a couple changes | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -118,10 +118,10 @@ jobs:\n \n - name: "Require latest PHPUnitBridge for PHP 8"\n if: "matrix.php-version == \'8.0\'"\n- run: co... | PHP |
6cf4ba051c858a31371462d6e16cc479a7ff9ac2 | 281 | 2020-09-11 13:43:32+02:00 | -7,200 | ['c1b0e6c293bda0315cea1bc04d0bb23662fb6a39'] | Update messaging about plugin errors | [{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -74,7 +74,7 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n // TODO remov... | PHP |
74e02193a84d84bc2617492d59e8f23448bffc23 | 470 | 2020-09-11 21:35:20+02:00 | -7,200 | ['6cf4ba051c858a31371462d6e16cc479a7ff9ac2'] | Do not hard fail on lazy repository when network is disabled and no package cache exists | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -584,8 +584,11 @@ private function whatProvides($name, array $acceptableStabilities = null, array\n $packages = $this->fetch... | PHP |
3aadbaa6c4fe49dba4c3adc9baf0687880a8032b | 470 | 2020-09-12 21:09:20+02:00 | -7,200 | ['6cf4ba051c858a31371462d6e16cc479a7ff9ac2'] | Cleaned up memory_limit set logic | [{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,6 +26,10 @@ if (defined('HHVM_VERSION') && version_compare(HHVM_VERSION, '4.0', '>=')) {\n if (function_exists('ini_set')) {\n @ini_set('display_errors', 1);\n \n+ // Set user defined memory limit\n+ ... | PHP |
dafd225a35977d2e6d82cef5582a128147614f98 | 321 | 2020-09-14 22:36:53+02:00 | -7,200 | ['bd2f321527c963475068e47856547e15fb5992e7'] | Allow to pass a string for apcu-autoloader to set the APCu prefix | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -53,7 +53,7 @@ class AutoloadGenerator\n private $classMapAuthoritative = false;\n \n /**\n- * @var bool\n+ * @var bool|string\n ... | PHP |
0b6abf3b9669047e4003ae5fd01fd2ee2cba139f | 321 | 2020-09-16 10:49:00+02:00 | -7,200 | ['de0085767c3e16a1cae217a3d4ac076fd257f1d6'] | APCu prefix as a separate option | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -53,10 +53,15 @@ class AutoloadGenerator\n private $classMapAuthoritative = false;\n \n /**\n- * @var bool|string\n+ * @var bool\n ... | PHP |
57e1ce6cdb4309603c4f8f891253f16efa54b40a | 229 | 2020-09-16 10:54:14+02:00 | -7,200 | ['bd2f321527c963475068e47856547e15fb5992e7'] | Change the file download cache key with the processed URL, implement custom cache key | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -113,6 +113,10 @@ public function download(PackageInterface $package, $path, PackageInterface $pre\n $urls[$index] = array(\n ... | PHP |
a1a3e29f520749718a617527e00a4270bb4af7a6 | 229 | 2020-09-16 11:39:34+02:00 | -7,200 | ['57e1ce6cdb4309603c4f8f891253f16efa54b40a'] | Fix using inside anonymous function | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -106,6 +106,11 @@ public function download(PackageInterface $package, $path, PackageInterface $pre\n throw new \\InvalidArgumentException('T... | PHP |
696f27ca833aa152e5f937fe2282175659b713d2 | 321 | 2020-09-16 13:44:51+02:00 | -7,200 | ['6899060f6ee1893d0e205c45120c8cc9264c35fe'] | Enable APCu if prefix is set | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -865,7 +865,7 @@ public static function getLoader()\n }\n \n if ($this->apcu) {\n- $apcuPrefix = var_export(($this->apcuPre... | PHP |
7a49cda9f6d22389b75969baff814bb1ad265998 | 229 | 2020-09-16 20:13:20+02:00 | -7,200 | ['a1a3e29f520749718a617527e00a4270bb4af7a6'] | Fix PHPDoc types on new PreFileDownloadEvent property | [{'old_path': 'src/Composer/Plugin/PreFileDownloadEvent.php', 'new_path': 'src/Composer/Plugin/PreFileDownloadEvent.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,7 +33,7 @@ class PreFileDownloadEvent extends Event\n private $processedUrl;\n \n /**\n- * @var string\n+ * @var string|null\n ... | PHP |
6b3b51e299497671d005216bfc3d99708f02f900 | 470 | 2020-09-20 02:16:28+02:00 | -7,200 | ['bd2f321527c963475068e47856547e15fb5992e7'] | Fixed $this usage on static functions | [{'old_path': 'src/Composer/Command/ArchiveCommand.php', 'new_path': 'src/Composer/Command/ArchiveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -114,7 +114,7 @@ protected function archive(IOInterface $io, Config $config, $packageName = null,\n } else {\n $factory = new Factory;\n ... | PHP |
cda6e8bea63bd0ab73c7cd6be6c2016d32c141ec | 470 | 2020-09-20 02:16:28+02:00 | -7,200 | ['6b3b51e299497671d005216bfc3d99708f02f900'] | Removed unnecessary property initialization or declaration | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -66,7 +66,7 @@ class Application extends BaseApplication\n /**\n * @var string Store the initial working directory at startup time\n */\n- private ... | PHP |
002fd39bc6fc28dc79d9e20bf705e53e1f75caab | 470 | 2020-09-20 02:16:28+02:00 | -7,200 | ['cda6e8bea63bd0ab73c7cd6be6c2016d32c141ec'] | Removed passing of parameters with default value | [{'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 |
a6475a7118d1acb90e60e72524e829c7ae7b601b | 470 | 2020-09-20 02:16:28+02:00 | -7,200 | ['002fd39bc6fc28dc79d9e20bf705e53e1f75caab'] | Removed unused variables, properties and parameters of private functions | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -609,7 +609,7 @@ protected function getPlatformCheck($packageMap, array $ignorePlatformReqs)\n $extensionProviders = array();\n \n for... | PHP |
7053b6f761ff0dab8f6cdb7586c4cfd67b47dcf2 | 470 | 2020-09-20 02:16:28+02:00 | -7,200 | ['33d7a64df961700c072c3de6239ae4f653d11ccb'] | Fixed function case declaration <> call | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -294,7 +294,7 @@ public function copy($source, $target)\n $result = true;\n /** @var RecursiveDirectoryIterator $ri */\n foreach ($ri as $file) {\n-... | PHP |
4e8a36556cbda50af859a533e4381e45fb8da1da | 470 | 2020-09-20 17:59:45+02:00 | -7,200 | ['bd2f321527c963475068e47856547e15fb5992e7'] | Removed deprecated code from 1.x | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -263,14 +263,6 @@ public static function createOutput()\n return new ConsoleOutput(ConsoleOutput::VERBOSITY_NORMAL, null, $formatter);\n }\n \n- /**\n- * @deprecated Use... | PHP |
e3c6b213e770ceb078f8958c177e1119f89a984d | 281 | 2020-09-21 13:51:49+02:00 | -7,200 | ['2a36c3a70aecde4fbb184d5f4a21b259ec1f6fcb'] | Add note about composer.json location, fixes 9225 | [{'old_path': 'doc/01-basic-usage.md', 'new_path': 'doc/01-basic-usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,7 +13,10 @@ a logging library. If you have not yet installed Composer, refer to the\n \n To start using Composer in your project, all you need is a `composer.json`\n file. This file describe... | PHP |
4f4c2990155f034fe4c4e1c2efcfd4c631fca303 | 383 | 2020-09-21 14:18:34+02:00 | -7,200 | ['e3c6b213e770ceb078f8958c177e1119f89a984d'] | Add pretty constraint to links in PlatformRepository
fixes #9210 | [{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -548,7 +548,9 @@ private function addExtension($name, $prettyVersion)\n $ext->setDescription('The '.$name.' PHP extension'.$extraDescrip... | PHP |
a4509d28e716d92fbbab8c499364a8d71d61946c | 383 | 2020-09-21 14:22:06+02:00 | -7,200 | ['4f4c2990155f034fe4c4e1c2efcfd4c631fca303'] | Introduce constants for Composer\Package\Link types | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,6 +17,7 @@\n use Composer\\Json\\JsonFile;\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\CompletePackageInterface;\n+use Composer\\Package\\Lin... | PHP |
bcd8a73e8c788232359c8d79ded7a7ca10ca3c4d | 482 | 2020-09-22 18:49:53+02:00 | -7,200 | ['44508319d1e8819fdf538f112703056fa691d035'] | Fix support for running diagnose without openssl
The diagnose command already warns when openssl is not available. But the command was failing later when displaying the Openssl version. | [{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -172,7 +172,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $io->write(sprintf('PHP binary path: <comment>%s</... | PHP |
d6b39b4c55e206b1e500238c8bddbdc703743094 | 281 | 2020-09-24 11:35:38+02:00 | -7,200 | ['bcd8a73e8c788232359c8d79ded7a7ca10ca3c4d'] | Fix syntax error & improve handling | [{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -172,9 +172,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $io->write(sprintf('PHP binary path: <comment>%s</... | PHP |