Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
73b269fade421ed799d3ef321b70f228896dc779 | 479 | 2019-10-21 11:11:10+02:00 | -3,600 | ['8d9b822413c87eed8b7f7bb67285ba9c9c482d19'] | HgDriver: don't run command in non-existing directory | [{'old_path': 'src/Composer/Repository/Vcs/HgDriver.php', 'new_path': 'src/Composer/Repository/Vcs/HgDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -71,7 +71,7 @@ public function initialize()\n return sprintf('hg clone --noupdate %s %s', ProcessExecutor::escape($url), ProcessExecutor... | PHP |
45d616c447ab3626bd93d304a8a78e7e2938f6b7 | 303 | 2019-10-21 11:12:08+02:00 | -3,600 | ['5687ac7de708aa47f253f4718dba0760689b6597'] | Add Windows proc-open errors to troubleshooting.md
As per these issues:
https://github.com/composer/composer/issues/7186
https://github.com/composer/composer/issues/8152 | [{'old_path': 'doc/articles/troubleshooting.md', 'new_path': 'doc/articles/troubleshooting.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -211,6 +211,19 @@ To enable the swap you can use for example:\n ```\n You can make a permanent swap file following this [tutorial](https://www.digitalocean.com/community/tuto... | PHP |
9c9ca875378b16c67c09d9b08d0c2111378d1d0e | 171 | 2019-10-21 13:04:31+02:00 | -7,200 | ['73b269fade421ed799d3ef321b70f228896dc779'] | Fix composer outdated command on PHP 7.4; fixes #8346 | [{'old_path': 'src/Composer/Command/OutdatedCommand.php', 'new_path': 'src/Composer/Command/OutdatedCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -59,7 +59,7 @@ protected function configure()\n protected function execute(InputInterface $input, OutputInterface $output)\n {\n $args = arr... | PHP |
d73cef3fb4d03da5fc846604caa629bf684da79c | 281 | 2019-10-24 11:16:42+02:00 | -7,200 | ['4c8e41d9a922005360bad3889ac3fdcc350c2195'] | Avoid calling findPackage for non-platform packages | [{'old_path': 'src/Composer/Command/SuggestsCommand.php', 'new_path': 'src/Composer/Command/SuggestsCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -90,7 +90,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n continue;\n }\n foreach ... | PHP |
1a0d5dfacd3c0fdafcd4a120ee0b4ae0df5dbed7 | 531 | 2019-10-24 15:13:17+02:00 | -7,200 | ['a8abdd96392bfc8aa293be98f3c936e58b8e2881'] | Now using findPackage() instead of HasPackageName() | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -795,7 +795,7 @@ private function findSimilar($package)\n $installedRepo = $this->getComposer()->getRepositoryManager()->getLocalRepository();\n \n ... | PHP |
8d92048c8c6a1fe19484fd91631e716aa002f194 | 281 | 2019-10-24 15:20:14+02:00 | -7,200 | ['78b8c365cd879ce29016884360d4e61350f0d176'] | Update safeguard code, fixes #8383 | [{'old_path': 'src/Composer/DependencyResolver/Decisions.php', 'new_path': 'src/Composer/DependencyResolver/Decisions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -183,7 +183,7 @@ protected function addDecision($literal, $level)\n \n $previousDecision = isset($this->decisionMap[$packageId]) ? $this->... | PHP |
4fc647983762c0b7b372b06b83a988b3b4ab90ea | 281 | 2019-10-25 14:08:30+02:00 | -7,200 | ['e85ade310720bb72a57966a0071edff0025df531'] | Fix require command to allow working on network mounts, fixes #8231 | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -99,7 +99,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n return 1;\n }\n- if (!is_readable($t... | PHP |
8cbc595790c1f8713efbdfb3825a34b3db1a12f9 | 123 | 2019-10-25 14:10:53+02:00 | -7,200 | ['4fc647983762c0b7b372b06b83a988b3b4ab90ea'] | Validate schema name, type and version | [{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,7 +11,8 @@\n },\n "type": {\n "description": "Package type, either \'library\' for common packages, \'composer-plugin\' for plugins, \'metapackage\' for emp... | PHP |
e47aa38ad40b31964d2951cb5be9f19fe9959ba0 | 334 | 2019-10-29 14:08:33+01:00 | -3,600 | ['eea4098f9800ddb536a907d637b7e084bfe15b7c'] | Added phpdoc for ComposerAutoloaderInit$SHA1::getLoader() (#8393) | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -592,6 +592,9 @@ public static function loadClassLoader(\\$class)\n }\n }\n \n+ /**\n+ * @return \\Composer\\Autoload\\ClassLoader\... | PHP |
99e23d52631aada48bc645fe169246e7b06d68c2 | 515 | 2019-10-29 14:24:33+01:00 | -3,600 | ['8cbc595790c1f8713efbdfb3825a34b3db1a12f9'] | Don't show root warning for docker containers
Signed-off-by: Viacheslav Sychov <viacheslav.sychov@gmail.com> | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -212,7 +212,7 @@ function_exists(\'php_uname\') ? php_uname(\'s\') . \' / \' . php_uname(\'r\') : \'Unknow\n $io->writeError(sprintf(\'<warning>Warn... | PHP |
82d939d7f78c7920511b4336276fb5501557e678 | 134 | 2019-10-29 15:06:07+01:00 | -3,600 | ['8bcacc8a3a1678c3a95e69110ecdd0c85fb41b9e'] | Validate composer show with --tree and --path options set (#8390) | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -129,6 +129,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n return 1;\n }\n \n+ if ($input->getOption(... | PHP |
ec293adabc8e58f614e1092486a4b28fe61b7d09 | 125 | 2019-10-29 20:36:29+02:00 | -7,200 | ['eea4098f9800ddb536a907d637b7e084bfe15b7c'] | make optimized autoloader respect PSR standards | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -256,15 +256,14 @@ public static function autoload(\\$class)\n continue;\n }\n \n- ... | PHP |
4481cc4a8859504b908f2b9a8ece648e5423ffa8 | 388 | 2019-10-29 22:28:36+01:00 | -3,600 | ['995b4f923e2cf6077abdef1999976e92bb30ac0b'] | Allow an install request for a package name which is already fixed
Ensures packages get loaded from locked repo correctly. We may not want
to support this particular use-case at all, but for now it fixes the
existing test, so we may want to revisit this later. | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -62,8 +62,12 @@ public function buildPool(array $repositories, array $rootAliases, array $rootRe\n foreach ($request->getJobs() as $jo... | PHP |
6a335a459cd0c244813ff98251c4da6e6eb8c089 | 388 | 2019-10-29 23:08:03+01:00 | -3,600 | ['99e23d52631aada48bc645fe169246e7b06d68c2'] | Move test file parsing into try/catch block to avoid phpunit swallowing errors | [{'old_path': 'tests/Composer/Test/InstallerTest.php', 'new_path': 'tests/Composer/Test/InstallerTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -280,6 +280,7 @@ public function getIntegrationTests()\n continue;\n }\n \n+ try {\n $testData = $this->rea... | PHP |
5c129be5e730e29522bc942b83fc200600c9be90 | 388 | 2019-10-29 23:12:54+01:00 | -3,600 | ['4481cc4a8859504b908f2b9a8ece648e5423ffa8'] | Partial updates without a lock file are no longer possible, update test | [{'old_path': 'tests/Composer/Test/Fixtures/installer/partial-update-without-lock.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/partial-update-without-lock.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n --TEST--\n-Partial update without lock file should update everything whiteliste... | PHP |
48ae45e5fe8da00aaf4aef5ab9bf9eacccfe5561 | 388 | 2019-10-29 23:16:38+01:00 | -3,600 | ['5c129be5e730e29522bc942b83fc200600c9be90'] | Correct github issue test to include a lock file, still fails because of real bug now | [{'old_path': 'tests/Composer/Test/Fixtures/installer/github-issues-4795.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/github-issues-4795.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,13 +30,28 @@ dependency of one the requirements that is whitelisted for update.\n { "name": "b/b", "vers... | PHP |
0ff07015a1c0951be489ab46a66c093c714fd14c | 388 | 2019-10-30 00:24:25+01:00 | -3,600 | ['48ae45e5fe8da00aaf4aef5ab9bf9eacccfe5561'] | Only load package info from lock file for fixed packages
As a result some lock file packages are no longer in the pool, so the
former installed map, now present map cannot use package ids anymore
Need to revisit some more code later to simplify this, todo notes left | [{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -76,9 +76,14 @@ protected function calculateOperations()\n $package = $this->pool->literalToPackage($literal);\n \n ... | PHP |
94d45a980ccd30039fe405a5c3d179d86c5c08fb | 388 | 2019-10-30 00:32:23+01:00 | -3,600 | ['0ff07015a1c0951be489ab46a66c093c714fd14c'] | Update lock syntax in tests and verify installed version does not impact lock generation
Particularly the test
tests/Composer/Test/Fixtures/installer/partial-update-downgrades-non-whitelisted-unstable.test
is interesting because it verifies that an older version will be
installed on update if the new one is only pre... | [{'old_path': 'tests/Composer/Test/Fixtures/installer/install-missing-alias-from-lock.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/install-missing-alias-from-lock.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -29,7 +29,7 @@ Installing an old alias that doesn\'t exist anymore from a lock is poss... | PHP |
e6e317bc27c06c5a74f48e04ffb343796f5a1a8d | 388 | 2019-10-30 00:40:36+01:00 | -3,600 | ['94d45a980ccd30039fe405a5c3d179d86c5c08fb'] | Fix test configurations, missing lock files, invalid ones
aliased alias test is failing because double alias is improperly
resolved now | [{'old_path': 'tests/Composer/Test/Fixtures/installer/install-aliased-alias.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/install-aliased-alias.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,6 +31,6 @@ Installing double aliased package\n install\n --EXPECT--\n Installing b/b (dev-foo)\n+Marki... | PHP |
eaae360ce61857821cfd027c6fc3e5642a4c9c98 | 388 | 2019-10-30 00:55:11+01:00 | -3,600 | ['e6e317bc27c06c5a74f48e04ffb343796f5a1a8d'] | Correcting lock files in test cases and updating output | [{'old_path': 'src/Composer/Package/Locker.php', 'new_path': 'src/Composer/Package/Locker.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -162,7 +162,7 @@ public function getLockedRepository($withDevReqs = false)\n if (isset($lockData['packages-dev'])) {\n $lockedPackages = array_mer... | PHP |
ae9cc3db58f80ed2703ad6fd06ffa84405c745ef | 281 | 2019-10-30 10:45:40+01:00 | -3,600 | ['6a335a459cd0c244813ff98251c4da6e6eb8c089'] | Avoid clearing the error output during removeDirectory execution, losing git error output, fixes #8351 | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -215,10 +215,12 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n }\n }\n \n+ $errorMsg = $this->process->getErr... | PHP |
b925d06861a045188f7fe1b2730d1e564e4ca6ac | 281 | 2019-10-30 11:25:00+01:00 | -3,600 | ['ae9cc3db58f80ed2703ad6fd06ffa84405c745ef'] | Fix gitlab support for basic-auth fallback from ssh URLs | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -153,7 +153,14 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n return;\n }\n }\n- ... | PHP |
12184aa9c51d5339c0b8c8a53c553794549f78d7 | 281 | 2019-10-30 12:01:23+01:00 | -3,600 | ['b925d06861a045188f7fe1b2730d1e564e4ca6ac'] | Fix github auth to try https with pwd also, fixes #8356 | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -95,8 +95,10 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n \n $auth = null;\n if ($bypassSshForGitHub || 0 !== $this->process->exec... | PHP |
4e43f849c7a89dd9c83136a78da19673aba12ee4 | 281 | 2019-10-30 12:56:08+01:00 | -3,600 | ['12184aa9c51d5339c0b8c8a53c553794549f78d7'] | Avoid overwriting credentials with existing ones from git repos, refs #8293 | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -54,9 +54,9 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n }\n \n if (!$initialClone) {\n- // capture username/password f... | PHP |
149250ab92feadd9fe045b54d6e42f33d185a595 | 281 | 2019-10-30 15:24:53+01:00 | -3,600 | ['4e43f849c7a89dd9c83136a78da19673aba12ee4'] | Remove credentials from git remotes in cache and vendor dirs
This only removes the credentials if they are managed by composer auth.json or equivalent, if the credentials were present in the package URL to begin with they might remain
Refs #8293
Fixes #3644
Closes #3608 | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -51,31 +51,37 @@ public function doDownload(PackageInterface $package, $path, $url)\n $gitVersion = $this->gitUtil->getVersion();\n $msg =... | PHP |
050707ed0cdb2d3f9a2c446a9689101a7ad6146f | 281 | 2019-10-30 16:35:13+01:00 | -3,600 | ['3a0d05c148b81ecef7780f28917c65e80a035702'] | Fix output of dump-autoload command to avoid interfering with warnings, refs #8397 | [{'old_path': 'src/Composer/Command/DumpAutoloadCommand.php', 'new_path': 'src/Composer/Command/DumpAutoloadCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -63,11 +63,11 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $apcu = $input->getOption('apcu') || $config->... | PHP |
f6b8643dcdbad43d0373ec03089634daed32b324 | 281 | 2019-11-01 14:50:15+01:00 | -3,600 | ['050707ed0cdb2d3f9a2c446a9689101a7ad6146f'] | Change PSR-fix for optimized autoloader to only warn for now, refs #8397 | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -143,6 +143,10 @@ private static function filterByNamespace($classes, $filePath, $baseNamespace, $\n {\n $validClasses = array();\n ... | PHP |
c3f034e33bea599186db955554d384b9ff4699bd | 281 | 2019-11-01 15:13:28+01:00 | -3,600 | ['f6b8643dcdbad43d0373ec03089634daed32b324'] | Fix tests for PSR-fix in optimized autoloader, refs #8397 | [{'old_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'new_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -568,8 +568,22 @@ public function testPSRToClassMapIgnoresNonPSRClasses()\n file_put_contents($this->workingDir.\'/psr4/... | PHP |
502b68967ac7998f2479a7d0b51fc25548cb6a8e | 281 | 2019-11-01 15:31:55+01:00 | -3,600 | ['c3f034e33bea599186db955554d384b9ff4699bd'] | Fix tests for PSR-fix in optimized autoloader, refs #8397 | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -189,7 +189,7 @@ private static function filterByNamespace($classes, $filePath, $baseNamespace, $\n //return array();\n }\n \n- ... | PHP |
d059d90ecf326132b8da2dc0ad79e3d6e00ebb47 | 281 | 2019-11-01 16:18:42+01:00 | -3,600 | ['502b68967ac7998f2479a7d0b51fc25548cb6a8e'] | Fix PSR warnings for optimized autoloader, refs #8397, refs #8403 | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -110,7 +110,8 @@ public static function createMap($path, $blacklist = null, IOInterface $io = nul\n \n foreach ($classes as $class) {\n ... | PHP |
af86ca1fb3bde63ec351d78f431da5502318bc3f | 281 | 2019-11-01 16:32:34+01:00 | -3,600 | ['149250ab92feadd9fe045b54d6e42f33d185a595'] | Output a hint that maybe you are not in the right directory, fixes #8404 | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -139,7 +139,15 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n \n $phpVersion = $this->repos->findPackage(... | PHP |
3496431a6c9399a5626acb5aaa88c9f693c3ae47 | 281 | 2019-11-01 17:13:02+01:00 | -3,600 | ['6a7f8ac335e4895d8dceec29c588819c5d178963'] | Fix PSR warnings for optimized autoloader, refs #8397, refs #8403 | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -111,7 +111,7 @@ public static function createMap($path, $blacklist = null, IOInterface $io = nul\n foreach ($classes as $class) {\n ... | PHP |
f7f7883a5ed62b3e0a26533e3afb3730fdfa54d8 | 118 | 2019-11-03 14:08:14+01:00 | -3,600 | ['4e4c38795a0814db2b9222871a63714f674fd1d9'] | Fix: Xdebug vs xdebug | [{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,7 @@ matrix:\n - php: 7.4snapshot\n \n before_install:\n- # disable xdebug if available\n+ # disable Xdebug if available\n - phpenv config-rm xdebug.ini || echo "xdebug not available"\n # disabl... | PHP |
f4ff91da6c06379e2c6d46f0a0fd3aa1f1911adc | 118 | 2019-11-03 14:27:22+01:00 | -3,600 | ['4e4c38795a0814db2b9222871a63714f674fd1d9'] | Fix: Add environment variables related to Xdebug to documentation | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -808,6 +808,10 @@ If set to 1, this env disables the warning about running commands as root/super\n It also disables automatic clearing of sudo sessions, so you should really only set this\n if you use Composer... | PHP |
e5e8736383b0d85b0f646fc3931d8d8379ebe6a0 | 162 | 2019-11-05 20:26:21+13:00 | -46,800 | ['4e4c38795a0814db2b9222871a63714f674fd1d9'] | Fix: Fail fast when the project directory is not empty
Avoid waiting until after `getBestCandidate()` has finished, as it can add notably delay on slow connections due to downloading megabytes of data. Only to fail if the install location is invalid. | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -279,6 +279,11 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n $packageVersion = $requirements[0... | PHP |
11207a9a2ee21821fd19528bf92bf5c649cb2e94 | 162 | 2019-11-05 20:26:30+13:00 | -46,800 | ['e5e8736383b0d85b0f646fc3931d8d8379ebe6a0'] | Fix: Check for null install directory earlier
Allows for failing fast when no install directory was provided to the command(uses package name instead). | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -279,6 +279,12 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n $packageVersion = $requirements[0... | PHP |
5987114f6ce0c26e4adb825c7156bf7367464f4e | 162 | 2019-11-05 20:29:57+13:00 | -46,800 | ['11207a9a2ee21821fd19528bf92bf5c649cb2e94'] | Fix: Fail when install location is a file
In the event a file has the same name as the intended install directory, fail fast too. | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -286,8 +286,12 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n }\n \n $fs = new Filesystem()... | PHP |
1b2582ff5b46b3eae8f7677268ae85b4d4069be3 | 162 | 2019-11-05 20:33:20+13:00 | -46,800 | ['5987114f6ce0c26e4adb825c7156bf7367464f4e'] | Chore: Improve create-project install UX
Provides feedback output before a potentially long wait on getBestCandidate() call on slow network connections where unresponsiveness/hang may be assumed. | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -285,6 +285,8 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n $directory = getcwd() . DIRECTORY_... | PHP |
43e0321ee74aa5efb9b720f8576145c351d7f3e3 | 162 | 2019-11-05 21:14:22+13:00 | -46,800 | ['1b2582ff5b46b3eae8f7677268ae85b4d4069be3'] | Chore: Use consistent directory path
Only when a install directory was not specified, was the CWD prepended to `$directory`. This change provides consistency in paths displayed to the user. | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -282,9 +282,10 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n // if no directory was specified, use... | PHP |
7e649fac41d844835bc86e1131dde465366cc0df | 303 | 2019-11-07 12:50:42+00:00 | 0 | ['1c012b74a62c9c6f27cad291a1bc2eb000804b1e'] | Fix Windows test regression from commit 149250a
Commit: 149250ab92feadd9fe045b54d6e42f33d185a595
ProcessExecutor::escape handled a false value inconsistently across
platforms, returning an emtpy string on Windows, otherwise `''`. This
is fixed to return `""` on Windows.
The GitDownloaderTest code has been appropriat... | [{'old_path': 'src/Composer/Util/ProcessExecutor.php', 'new_path': 'src/Composer/Util/ProcessExecutor.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -155,7 +155,7 @@ private static function escapeArgument($argument)\n //@see https://bugs.php.net/bug.php?id=43784\n //@see https://bugs.php.net/bu... | PHP |
6925005ac9c115d8105289a3bc9526bc765d2b21 | 388 | 2019-11-07 17:35:44+01:00 | -3,600 | ['eaae360ce61857821cfd027c6fc3e5642a4c9c98'] | Implement update mirrors/nothing/lock as its own installer mode
These special commands no longer (ab)use the partial update mechanism
but rather create a special install request for all current lock file
contents and later override any modified code references to the
originals. This leads to up to date remote metadata... | [{'old_path': 'src/Composer/Command/UpdateCommand.php', 'new_path': 'src/Composer/Command/UpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -121,6 +121,19 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n }\n \n+ // the arguments lock/noth... | PHP |
2d37bb4116f5092302266419746a003c32daa866 | 388 | 2019-11-07 17:38:16+01:00 | -3,600 | ['6925005ac9c115d8105289a3bc9526bc765d2b21'] | Outated lock files now trigger an error requesting removal rather than being ignored silently | [{'old_path': 'tests/Composer/Test/Fixtures/installer/update-alias-lock.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/update-alias-lock.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -29,20 +29,6 @@ Update aliased package does not mess up the lock file\n },\n "minimum-stability": "dev"\n ... | PHP |
cc274ebdf4417f13a7197efcfb72aa34bea32733 | 388 | 2019-11-07 17:42:17+01:00 | -3,600 | ['2d37bb4116f5092302266419746a003c32daa866'] | Do not reset references on update mirrors if VCS type has changed | [{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -158,9 +158,14 @@ public function getNewLockPackages($devMode, $updateMirrors = false)\n foreach ($this->resultPackages[$devMo... | PHP |
c50d236378c2538c6d08b66ea733c99e29a52553 | 388 | 2019-11-07 20:40:28+01:00 | -3,600 | ['cc274ebdf4417f13a7197efcfb72aa34bea32733'] | Correctly load branch aliases from lock file
Root aliases are also stored in the lock file, so on install do not read
them from composer.json. | [{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -262,7 +262,7 @@ protected function addRulesForRequest(Request $request, $ignorePlatformReqs)\n \n foreach ($request->getFix... | PHP |
e308f043b983ef7893d478fd99ccdeeade302eff | 388 | 2019-11-07 21:18:09+01:00 | -3,600 | ['c50d236378c2538c6d08b66ea733c99e29a52553'] | Fully switch to spl_object_hash in lock transaction
The pool builder tries to be minimal so it's fine for present/locked
packages not be assigned a solver/pool id. Adding a test to verify
correct creation of uninstall jobs | [{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -67,6 +67,7 @@ public function getOperations()\n protected function calculateOperations()\n {\n $operations = array();... | PHP |
e6e07231057d910e5d3d5ed105a54ce7f9742e64 | 388 | 2019-11-07 21:25:43+01:00 | -3,600 | ['e308f043b983ef7893d478fd99ccdeeade302eff'] | Remove unnecessary comments, aliases in lock file are correctly created | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -709,12 +709,9 @@ protected function doInstall(RepositoryInterface $localRepo, $alreadySolved = fa\n \n // TODO should we warn people / error if plugins in vendor folder do... | PHP |
26da52227ebac871a1a1eeddc0c10cbb9a35d38c | 388 | 2019-11-07 21:51:53+01:00 | -3,600 | ['e6e07231057d910e5d3d5ed105a54ce7f9742e64'] | Clean up the Solver tests, no more installed repo input and new sorting
The solver now only calculates a lock file transaction which does not
need to be sorted in order of dependencies. This is only necessary for
the local repo transaction generated without the solver during install | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -367,6 +367,8 @@ protected function doUpdate(RepositoryInterface $localRepo, $doInstall)\n if (!$repositorySet->isPackageAcceptable($lockedPackage->getNames(), $lockedP... | PHP |
bf99f1a341083533065a6214114c8ead262869f4 | 388 | 2019-11-07 21:56:17+01:00 | -3,600 | ['26da52227ebac871a1a1eeddc0c10cbb9a35d38c'] | Fix RepositorySet constructor calls to use new signature | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -293,7 +293,7 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n throw new \\InvalidArgumentExcepti... | PHP |
737a613a50c7dd8eebcf7a1bc8ed7e0d7b46afdd | 388 | 2019-11-07 22:01:37+01:00 | -3,600 | ['bf99f1a341083533065a6214114c8ead262869f4'] | Use array() instead of [] for PHP 5.3 compat | [{'old_path': 'tests/Composer/Test/InstallerTest.php', 'new_path': 'tests/Composer/Test/InstallerTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -125,7 +125,7 @@ protected function makePackagesComparable($packages)\n {\n $dumper = new ArrayDumper();\n \n- $comparable = [];\n+ $com... | PHP |
28596d9c12c43db91f61d69a708dd937531e4722 | 388 | 2019-11-07 22:02:35+01:00 | -3,600 | ['737a613a50c7dd8eebcf7a1bc8ed7e0d7b46afdd'] | Define property which is later accessed in local repo transaction | [{'old_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,6 +33,9 @@ class LocalRepoTransaction\n /** @var RepositoryInterface */\n protected $localRepository;\n \n+ /... | PHP |
bd6b4e433c6118bf286b8ee7bc9cae9bd715b47e | 388 | 2019-11-07 22:09:24+01:00 | -3,600 | ['28596d9c12c43db91f61d69a708dd937531e4722'] | Use JsonFile::JSON_PRETTY_PRINT instead of php const for PHP 5.3 compat | [{'old_path': 'tests/Composer/Test/InstallerTest.php', 'new_path': 'tests/Composer/Test/InstallerTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -93,7 +93,7 @@ public function testInstaller(RootPackageInterface $rootPackage, $repositories,\n $lockJsonMock->expects($this->any())\n ->meth... | PHP |
0099f5636161308ef300d9c87dbc153bb936ea37 | 388 | 2019-11-07 22:11:54+01:00 | -3,600 | ['bd6b4e433c6118bf286b8ee7bc9cae9bd715b47e'] | Define property which is later accessed in lock transaction | [{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -40,11 +40,14 @@ class LockTransaction\n * @var array\n */\n protected $unlockableMap;\n-\n protected $decisions;\n-... | PHP |
3b26ef0f1bd9629fdd61eca3d2a010b74803e76d | 388 | 2019-11-08 12:13:23+01:00 | -3,600 | ['0099f5636161308ef300d9c87dbc153bb936ea37'] | clean up extract dev packages | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -557,14 +557,14 @@ protected function extractDevPackages(LockTransaction $lockTransaction, $platfor\n \n $pool = $repositorySet->createPool($request);\n \n- // solve dep... | PHP |
e26405d8583dfc7e6083d3af2c5255cfc5cc2e81 | 388 | 2019-11-08 12:26:46+01:00 | -3,600 | ['3b26ef0f1bd9629fdd61eca3d2a010b74803e76d'] | Clean up comments and output | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -200,7 +200,7 @@ public function run()\n \n // Force update if there is no lock file present\n if (!$this->update && !$this->locker->isLocked()) {\n- // TODO... | PHP |
ff5ec54f0408ceb77c3d9398edd04d40dc9266f1 | 388 | 2019-11-08 12:31:26+01:00 | -3,600 | ['97ec2d7b61531c5afa41bd6cf6a74f3953d09ffc'] | Correctly use install and update commands in our installer tests | [{'old_path': 'tests/Composer/Test/Fixtures/installer/abandoned-listed.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/abandoned-listed.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,7 +22,7 @@ Abandoned packages are flagged\n }\n }\n --RUN--\n-install\n+update\n --EXPECT-OUTPUT--\n Loading... | PHP |
25de5218c39957dc644eb9f03c265a0bb7060534 | 388 | 2019-11-08 15:56:46+01:00 | -3,600 | ['ff5ec54f0408ceb77c3d9398edd04d40dc9266f1'] | Reunify lock and local repo transaction code and apply the same sorting | [{'old_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,278 +24,13 @@\n /**\n * @author Nils Adermann <naderman@naderman.de>\n */\n-class LocalRepoTransaction\n+class LocalRe... | PHP |
3cbe91983c63e0231d455abbf76632a80db74678 | 388 | 2019-11-08 16:57:52+01:00 | -3,600 | ['25de5218c39957dc644eb9f03c265a0bb7060534'] | Display Locking instead of Installing for lock file install operations | [{'old_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'new_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -56,11 +56,19 @@ public function getJobType()\n return 'install';\n }\n \n+ /**\n+ * {@inheri... | PHP |
aa6bc75af2f041254f4b159eb60091cd90ab66eb | 388 | 2019-11-08 17:51:18+01:00 | -3,600 | ['8810c6467d7d92dbea4c94143a92a4d244bdab6c'] | Add a test case for transactions to verify correct sorting | [{'old_path': 'src/Composer/DependencyResolver/Transaction.php', 'new_path': 'src/Composer/DependencyResolver/Transaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,14 +12,10 @@\n \n namespace Composer\\DependencyResolver;\n \n-use Composer\\DependencyResolver\\Operation\\MarkAliasUninstalledOperation;... | PHP |
a91c946e273f673cc4cbe6e5b4f13f58003251b9 | 531 | 2019-11-12 16:32:04+01:00 | -3,600 | ['1a0d5dfacd3c0fdafcd4a120ee0b4ae0df5dbed7'] | Hide not-yet installed packages from "require" and "init" suggestions | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -436,11 +436,40 @@ final protected function determineRequirements(InputInterface $input, OutputInte\n }\n \n $versionParser = new VersionParser();\n... | PHP |
7ef3a31de7907b131c627d9dcdd60ad1f3f6751c | 388 | 2019-11-12 22:00:02+01:00 | -3,600 | ['aa6bc75af2f041254f4b159eb60091cd90ab66eb'] | Make TransportException in network disabled case clearer
Otherwise it's a bit hard to work out what request triggered the exception | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -229,7 +229,7 @@ private function startJob($id)\n if (isset($job['request']['options']['http']['header']) && false !== stripos(implode('', $job['request... | PHP |
c3251126701d4b0ea161a3dd20d55b746dd6da6b | 388 | 2019-11-12 22:22:03+01:00 | -3,600 | ['7ef3a31de7907b131c627d9dcdd60ad1f3f6751c'] | When network is disabled all uncached requests result in 404 | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -229,9 +229,7 @@ private function startJob($id)\n if (isset($job['request']['options']['http']['header']) && false !== stripos(implode('', $job['request... | PHP |
6f9b1e76e35f7721dfc0c1d81dbb8eeee069941b | 388 | 2019-11-12 23:14:24+01:00 | -3,600 | ['c3251126701d4b0ea161a3dd20d55b746dd6da6b'] | Remove disableRules code from Solver, leftover from original C code
This goes back to an input option to install recommended packages, which
would in turn allow removal of these packages if that was needed to
resolve the rest. This was supported in very early versions of Composer
with suggested packages. We later real... | [{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -213,7 +213,7 @@ public function solve(Request $request, $ignorePlatformReqs = false)\n \n $this->io->writeError('Resolving dependencies through... | PHP |
ed300b9f22268e08b7131a20997277db875cd7a5 | 388 | 2019-11-12 23:14:56+01:00 | -3,600 | ['6f9b1e76e35f7721dfc0c1d81dbb8eeee069941b'] | New Multi Conflict Rule for transitive conflicts, to reduce memory | [{'old_path': None, 'new_path': 'src/Composer/DependencyResolver/MultiConflictRule.php', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,99 @@\n+<?php\n+\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... | PHP |
dc0f2e7e462b19ca83b835f61dbe55063f30bdb0 | 388 | 2019-11-12 23:14:56+01:00 | -3,600 | ['ed300b9f22268e08b7131a20997277db875cd7a5'] | Ensure multi conflict rules are only used for 3+ literals
Implements the equals method correctly on multi conflict rules. If there
are fewer literals a regular Rule2Literals is enough to represent the
basic conflict rule. | [{'old_path': 'src/Composer/DependencyResolver/MultiConflictRule.php', 'new_path': 'src/Composer/DependencyResolver/MultiConflictRule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -34,6 +34,10 @@ public function __construct(array $literals, $reason, $reasonData, $job = null)\n {\n parent::__constr... | PHP |
79066931e699a8122ec35d7db03f053260a47891 | 388 | 2019-11-12 23:14:56+01:00 | -3,600 | ['dc0f2e7e462b19ca83b835f61dbe55063f30bdb0'] | Update exception message for disabling multi conflict rules | [{'old_path': 'src/Composer/DependencyResolver/MultiConflictRule.php', 'new_path': 'src/Composer/DependencyResolver/MultiConflictRule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -79,7 +79,7 @@ public function isAssertion()\n \n public function disable()\n {\n- throw new \\RuntimeException("ca... | PHP |
28afc4de32e5d795948403e031a0a297dcebc252 | 388 | 2019-11-12 23:14:56+01:00 | -3,600 | ['79066931e699a8122ec35d7db03f053260a47891'] | MultiConflictRules cannot be disabled, so no need to check | [{'old_path': 'src/Composer/DependencyResolver/RuleWatchGraph.php', 'new_path': 'src/Composer/DependencyResolver/RuleWatchGraph.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -128,7 +128,6 @@ public function propagateLiteral($decidedLiteral, $level, $decisions)\n $decisions->decide($otherWa... | PHP |
3b6d517ce0f44e6b6022029b45903ee3f0f9570b | 281 | 2019-11-14 09:57:59+01:00 | -3,600 | ['eb3e3063b85cf497c65779b008325760dc1207e2'] | Return 404s in ComposerRepository when network is disabled instead of failing hard | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -31,6 +31,7 @@\n use Composer\\Semver\\Constraint\\ConstraintInterface;\n use Composer\\Semver\\Constraint\\Constraint;\n use Composer\\Semver\\... | PHP |
006985a0ea7135408d9760125a74d862c17409cb | 281 | 2019-11-14 15:21:28+01:00 | -3,600 | ['3b6d517ce0f44e6b6022029b45903ee3f0f9570b'] | Execute all operations at once which lets us download all packages in parallel then install only once all downloads succeeded, fixes #2847
This also changes the PRE/POST_PACKAGE_INSTALL/UPDATE/UNINSTALL events to have less information available on them, repositorySet, request and policy are gone | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -356,7 +356,7 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n ->setPreferDist($preferDist);\n \n... | PHP |
99eb86c5065f32f7eb7d928eaf9184d1b804ef2b | 281 | 2019-11-14 15:26:25+01:00 | -3,600 | ['006985a0ea7135408d9760125a74d862c17409cb'] | Avoid outputting "Loading ... from cache" in non-verbose installs | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -127,7 +127,7 @@ public function download(PackageInterface $package, $path, PackageInterface $pre\n // use from cache if it is present and h... | PHP |
4e7702598e2586955aabb30dfeb87f42456f78fd | 388 | 2019-11-14 15:33:03+01:00 | -3,600 | ['99eb86c5065f32f7eb7d928eaf9184d1b804ef2b'] | Always treat changes in dist and source references as updates | [{'old_path': 'src/Composer/DependencyResolver/Transaction.php', 'new_path': 'src/Composer/DependencyResolver/Transaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -141,9 +141,10 @@ protected function calculateOperations()\n \n // do we need to update?\n // ... | PHP |
438c45e991f9009afbd5896dd67a3c9ec19d5bb4 | 281 | 2019-11-14 15:41:23+01:00 | -3,600 | ['4e7702598e2586955aabb30dfeb87f42456f78fd'] | Change UpdateOperation::show to match what the installers output, fixes the dry-run output to be more like real output | [{'old_path': 'src/Composer/DependencyResolver/Operation/UpdateOperation.php', 'new_path': 'src/Composer/DependencyResolver/Operation/UpdateOperation.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -74,8 +74,7 @@ public function getJobType()\n */\n public function show($lock)\n {\n- return '... | PHP |
f8010d5220d94d26ce3a05cc191d5d0a1d8e82dc | 367 | 2019-11-20 14:58:28-08:00 | 28,800 | ['6ffd3eb67c9052b2ede13b7eaa8b1a99bf3e6299'] | Improved hasPackage() performance | [{'old_path': 'src/Composer/Repository/ArrayRepository.php', 'new_path': 'src/Composer/Repository/ArrayRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,6 +28,7 @@ class ArrayRepository extends BaseRepository\n {\n /** @var PackageInterface[] */\n protected $packages;\n+ protected $packa... | PHP |
5725a2db57eb49af03cce6374b794f69a930c359 | 281 | 2019-11-23 11:25:28+01:00 | -3,600 | ['438c45e991f9009afbd5896dd67a3c9ec19d5bb4'] | Allow all prepare/cleanup/install/update/uninstall operations to return promises to be executed in parallel as well | [{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -173,14 +173,14 @@ public function execute(RepositoryInterface $repo, array $operations, $devMode =\n $promises = array();\n \n ... | PHP |
b8471156175c2133df61432b4455b709cbfc33f9 | 479 | 2019-11-23 12:02:06+01:00 | -3,600 | ['1c012b74a62c9c6f27cad291a1bc2eb000804b1e'] | Git: fix authentication handling for private GitHub repositories | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -85,8 +85,10 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n }\n \n // failed to checkout, first check git accessibility\n+ ... | PHP |
44cdc37c0cb7023dbdd2e124f65a5b544f2650d2 | 281 | 2019-11-23 12:07:29+01:00 | -3,600 | ['96af98370093c18ebd9ad7e1cdb4b021da73f4b0'] | Invalidate map cache when addPackage/removePackage is called | [{'old_path': 'src/Composer/Repository/ArrayRepository.php', 'new_path': 'src/Composer/Repository/ArrayRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,6 +28,10 @@ class ArrayRepository extends BaseRepository\n {\n /** @var PackageInterface[] */\n protected $packages;\n+ \n+ /** \n+ ... | PHP |
0bd3f27693530e41b98d7b835adf37302bc6e968 | 192 | 2019-11-23 12:23:46+01:00 | -3,600 | ['539cebb8461edaca087a2af9044d5a91c6d9e98f'] | Do not show commit signature for git log. | [{'old_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -143,7 +143,7 @@ public function getFileContent($file, $identifier)\n public function getChangeDate($identifier)\n {\n $this->process->exe... | PHP |
a732ea5dd8918e82b6b08c4df3c870e714410a71 | 388 | 2019-11-23 12:33:58+01:00 | -3,600 | ['88b051c96bafc9b9f0d63214ce2ef4284677c83c'] | Display source/dist refs if updates do not change the version
We now output an update when only a source or dist ref changes even if
it's a stable version so in these cases the output needs to contain the
ref to make it clear to users what changed | [{'old_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'new_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -61,7 +61,7 @@ public function getJobType()\n */\n public function show($lock)\n {\n- return... | PHP |
d12c20db4b57663a43db22875721374e62fb00c7 | 281 | 2019-11-24 09:41:02+01:00 | -3,600 | ['f2058680a7f1fc7cd6b4ef344dd3dff84a3c8933'] | Remove async repo interface, closes #7902 | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,7 +16,6 @@\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\Package;\n use Composer\\Package\\PackageInterface;\n-use Compos... | PHP |
d1dc367d865cf29af277818b8094901763fd38cb | 534 | 2019-11-27 17:57:24+01:00 | -3,600 | ['d12c20db4b57663a43db22875721374e62fb00c7'] | Removed the filters from the pool | [{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -32,20 +32,16 @@ class Pool implements \\Countable\n const MATCH = 1;\n const MATCH_PROVIDE = 2;\n const MATCH_REPLACE = 3;\n- const MATCH_FI... | PHP |
b6673612e0d27424a2e35d500776e89a10e4f806 | 281 | 2019-11-29 13:29:32+01:00 | -3,600 | ['89f6b2c54cebb5d4076f8db7080c77c2223eaef7'] | Allow dev-* versions in schema, refs #8262 | [{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,7 +41,7 @@\n "version": {\n "type": "string",\n "description": "Package version, see https://getcomposer.org/doc/04-schema.md#version for more info on v... | PHP |
74ba9decdf4b5d34026a3d5452bbfc023196aa27 | 303 | 2019-11-29 20:39:08+00:00 | 0 | ['67e170eaa8aaf0642873d7dddc8660acb672bcba'] | Rewrite NoProxyPattern to include IPv6
This includes two breaking changes:
- the hostname is not resolved in the case of an IP address.
- a hostname with a trailing period (FQDN) is not matched.
This brings the basic implementation in line with curl behaviour, with
the addition of full IP address and range matching (... | [{'old_path': 'src/Composer/Util/NoProxyPattern.php', 'new_path': 'src/Composer/Util/NoProxyPattern.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,34 +12,76 @@\n \n namespace Composer\\Util;\n \n+use stdClass;\n+\n /**\n- * Tests URLs against no_proxy patterns.\n+ * Tests URLs against NO_PROXY patterns\n ... | PHP |
920d690d90409d3b190f2a3f05343953e1144ac4 | 235 | 2019-12-02 18:54:54+01:00 | -3,600 | ['e8626505718981bf67fd7262f65a611d4000f6c6'] | Added new Alias For Clear cache | [{'old_path': 'src/Composer/Command/ClearCacheCommand.php', 'new_path': 'src/Composer/Command/ClearCacheCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,7 +26,7 @@ protected function configure()\n {\n $this\n ->setName('clear-cache')\n- ->setAliases(array('clearcach... | PHP |
bb127aa3e7fe6124a8c1f75116a5c2d110a0e7b1 | 163 | 2019-12-03 15:30:08+04:00 | -14,400 | ['e8626505718981bf67fd7262f65a611d4000f6c6'] | Resolves #8461: [ZipDownloader] Print `unzip` exit code when the command is failed | [{'old_path': 'src/Composer/Downloader/ZipDownloader.php', 'new_path': 'src/Composer/Downloader/ZipDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -105,11 +105,11 @@ protected function extractWithSystemUnzip($file, $path, $isLastChance)\n $command = \'unzip -qq \'.$overwrite.\' \'.ProcessExec... | PHP |
ff3eda6d40d16810f920336a0188d3842bb404a4 | 235 | 2019-12-04 11:41:39+01:00 | -3,600 | ['920d690d90409d3b190f2a3f05343953e1144ac4'] | Added Documentation from new alias | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -706,7 +706,7 @@ performance.\n * **--apcu:** Use APCu to cache found/not-found classes.\n * **--no-dev:** Disables autoload-dev rules.\n \n-## clear-cache (clearcache)\n+## clear-cache / clearcache / cc\n \n D... | PHP |
5fc31716dd4676318b9857f8ce3bd2e9afd6a5ca | 281 | 2019-12-07 18:58:17+01:00 | -3,600 | ['d12c20db4b57663a43db22875721374e62fb00c7'] | Avoid using CURLPIPE_HTTP1 in php7.4+ | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -74,7 +74,7 @@ public function __construct(IOInterface $io, Config $config, array $options = ar\n \n $this->multiHandle = $mh = curl_multi_init();... | PHP |
48023e95111fb1b2456406969fa8ebeaeda7078d | 118 | 2019-12-10 17:08:55+01:00 | -3,600 | ['f6b3f1210777561f71cae37e177e6dbb0d055fba'] | Enhancement: Configure paths and autoload files via phpstan/config.neon | [{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,7 +65,7 @@ script:\n # Run PHPStan\n - if [[ $PHPSTAN == "1" ]]; then\n bin/composer require --dev phpstan/phpstan-shim:^0.11 --ignore-platform-reqs &&\n- vendor/bin/phpstan.phar analyse src test... | PHP |
620497a2ed8d5421de08b98629a329d836051e1e | 281 | 2019-12-13 17:21:21+01:00 | -3,600 | ['23b31180656f59a3fde061c5f7fddfdd8e1eb543'] | Fix usage of DefaultPolicy in show command | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -563,7 +563,7 @@ protected function getPackage(RepositoryInterface $installedRepo, RepositoryInte\n $pool = $repositorySet->createPoolForPackage($package->g... | PHP |
e5b13b4c8f5fd342d2749b90a3be6067544a3b35 | 492 | 2019-12-16 21:58:05+01:00 | -3,600 | ['406a28708fbe60601df732523f7ecd2a029dfcd6'] | Added PHPStan rule that checks we don't use $this in closures. | [{'old_path': '.gitattributes', 'new_path': '.gitattributes', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,3 +15,4 @@\n .travis.yml export-ignore\n appveyor.yml export-ignore\n phpunit.xml.dist export-ignore\n+/phpstan/ export-ignore\n'}, {'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <Modi... | PHP |
dd2cc3e98517471ff9b5a9447785c2698a7e710b | 479 | 2019-12-17 10:26:21+00:00 | 0 | ['082422f334f1bf2d593ea395fe4d8c056b24fc8e'] | VcsRepository: make transport exceptions during initialize run accessible
* also display the http status code in composer failed to load a composer.json file | [{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -45,6 +45,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt\n /** @var VersionCacheInterface */\n private $ver... | PHP |
beacdf4e51b1e962acbda93aef931e5e81844ef3 | 303 | 2019-12-20 19:01:57+00:00 | 0 | ['f60b71616e14b4498d2a743e2a4f931d06331447'] | Add Windows OneDrive to platform warnings | [{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -576,6 +576,13 @@ private function checkPlatform()\n $warnings[\'xdebug_loaded\'] = true;\n }\n \n+ if (defined(\'PHP_WINDOWS_VER... | PHP |
3d8c1ebad5862fbfc1885bd8b0b806e14edf1c57 | 345 | 2019-12-21 19:26:29+01:00 | -3,600 | ['f60b71616e14b4498d2a743e2a4f931d06331447'] | implemented @putenv composer script
@putenv supports setting environment variables in a x-OS compatible way | [{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -244,7 +244,11 @@ protected function doDispatch(Event $event)\n }\n }\n \n- if (substr($e... | PHP |
b82a96405d6681d74beb4bc75fd8a5ce1f853461 | 281 | 2019-12-22 12:32:04+01:00 | -3,600 | ['2dd001132ac9990bf430691723b2ce3c6ea64b00'] | Add @putenv to docs, refs #8492 | [{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -342,6 +342,21 @@ JSON array of commands.\n You can also call a shell/bash script, which will have the path to\n the PHP executable available in it as a `PHP_BINARY` env var.\n \n+## Setting... | PHP |
6add026df04434bd3e6d2b005c27f788732cb2e0 | 75 | 2019-12-25 20:13:57+01:00 | -3,600 | ['6034c2af01e264652a060e57f1e0288b4038a31a'] | Explain the syntax of stability flags | [{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -276,10 +276,11 @@ Example:\n \n All links are optional fields.\n \n-`require` and `require-dev` additionally support stability flags ([root-only](04-schema.md#root-package)).\n+`require` and `require-dev... | PHP |
731d94a2a3da66b9dbc0935757dcd285ae225dc0 | 479 | 2020-01-04 17:01:27+00:00 | 0 | ['6034c2af01e264652a060e57f1e0288b4038a31a'] | VcsRepositories: mark archived repositories as abandoned | [{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -34,6 +34,7 @@ class GitHubDriver extends VcsDriver\n protected $hasIssues;\n protected $infoCache = array();\n protected $isPrivate = f... | PHP |
917680e0d4d89d50277047cbcf7fc3c209057ed0 | 170 | 2020-01-06 19:29:00-08:00 | 28,800 | ['6034c2af01e264652a060e57f1e0288b4038a31a'] | Make global exec execute commands in working directory | [{'old_path': 'src/Composer/Command/ExecCommand.php', 'new_path': 'src/Composer/Command/ExecCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -92,6 +92,14 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $output->setVerbosity(OutputInterface::VERBOSITY_QUIET);\n ... | PHP |
5ea6fd0bcbb820daf79c4ff8dae24073b4ef8604 | 101 | 2020-01-07 14:25:57-02:00 | 7,200 | ['6034c2af01e264652a060e57f1e0288b4038a31a'] | Implemented way to use preferred-install for defining granular preferences through CLI
Currently, preferred-install accepts the hash of patterns as the value in the composer.json. I've followed the same approach as used in extra and platform for letting the user define install preferences through CLI in the format: `c... | [{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -306,14 +306,6 @@ protected function execute(InputInterface $input, OutputInterface $output)\n 'process-timeout' => array('is_numeric', 'intval'),\n... | PHP |
607d491921f5b86974353f35a2b19333217533ff | 101 | 2020-01-10 09:13:36-02:00 | 7,200 | ['6034c2af01e264652a060e57f1e0288b4038a31a'] | Implemented way to add packages into suggest through CLI | [{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -601,6 +601,18 @@ function ($vals) {\n return 0;\n }\n \n+ if (preg_match('/^suggest\\.(.+)/', $settingKey, $matches)) {\n+ ... | PHP |
7d4d4622ab109ef0d13115c93145b20e598ca212 | 408 | 2020-01-13 13:20:04+01:00 | -3,600 | ['c5873e11f20fcdc7d9abab69dda1f8d2a1b2c03a'] | ProcessExecutor - do not format output from executed processes | [{'old_path': 'tests/Composer/Test/Util/ProcessExecutorTest.php', 'new_path': 'tests/Composer/Test/Util/ProcessExecutorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,9 +12,14 @@\n \n namespace Composer\\Test\\Util;\n \n+use Composer\\IO\\ConsoleIO;\n use Composer\\Util\\ProcessExecutor;\n use Composer... | PHP |
d3f1c664d41416ec3a16b4b425538b5916832467 | 281 | 2020-01-13 13:30:46+01:00 | -3,600 | ['7d4d4622ab109ef0d13115c93145b20e598ca212'] | Avoid formatting output from external processes, fixes #8524 | [{'old_path': 'src/Composer/IO/BaseIO.php', 'new_path': 'src/Composer/IO/BaseIO.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -65,6 +65,22 @@ public function setAuthentication($repositoryName, $username, $password = null)\n $this->authentications[$repositoryName] = array('username' => $username, 'pass... | PHP |
ef6ef8ac0fcbb4c2c45202d87a791b63b5528f97 | 281 | 2020-01-13 14:19:37+01:00 | -3,600 | ['4e667f891b7bea0550b83c5cf1aa087a3736bb5c'] | Hint at the partial update command, fixes #8508, refs #8332 | [{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -93,7 +93,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $composer = Factory::create($io, $file, $input->hasParam... | PHP |