Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
8e2dd62d10b85a3a2de198b5dd100a73e604c4b5 | 534 | 2020-06-05 16:52:24+02:00 | -7,200 | ['bca88bdd4b41e0f18345a23e995c3aca445ed7c6'] | Fixed tests related to constraint changes | [{'old_path': 'tests/Composer/Test/DependencyResolver/RequestTest.php', 'new_path': 'tests/Composer/Test/DependencyResolver/RequestTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,7 @@\n \n use Composer\\DependencyResolver\\Request;\n use Composer\\Repository\\ArrayRepository;\n+use Composer\\Semv... | PHP |
8b4e8346751db37d474a72de61cb5a3c5a6a2937 | 534 | 2020-06-05 16:52:24+02:00 | -7,200 | ['71fde800485f64409f6b7284f3150589248aad4b'] | Added another poolbuilder test to show issue with constraint matching | [{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/constraint-expansion-works-with-exact-versions.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,29 @@\n+--TEST--\n+Tests if version constraint is expanded. If not, dep/dep 3.0.0 would not be loaded here.\n+\n+--REQ... | PHP |
bde9502473221a735ed6b235aab201a948ee13c3 | 534 | 2020-06-05 16:52:24+02:00 | -7,200 | ['63906171f08619fcc1f4d112389936d90be3f13b'] | Made the constraint argument in Link mandatory | [{'old_path': 'src/Composer/Package/Link.php', 'new_path': 'src/Composer/Package/Link.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -56,11 +56,11 @@ class Link\n * @param string $description Used to create a descriptive string representation\n * @param string|null ... | PHP |
00500f83c0633ca5bc8aa4c72817d9129c6aea57 | 534 | 2020-06-05 16:52:24+02:00 | -7,200 | ['26877285add6c2d716b1d7cfdc8dcefab112d79f'] | Using the current subset branch of @Seldaek to fix subset tests | [{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -86,5 +86,11 @@\n "support": {\n "issues": "https://github.com/composer/composer/issues",\n "irc": "irc://irc.freenode.org/composer"\n+ },\n+ "repositories": [\n+ {\n+ ... | PHP |
7be24dccd9c1fdb8422b76661ca73a133d5aa286 | 534 | 2020-06-05 16:52:24+02:00 | -7,200 | ['225a6a0a82871cacaf8cd02223ce35442c074df0'] | Fixed some of the partial update tests | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -124,11 +124,11 @@ public function buildPool(array $repositories, Request $request)\n }\n \n foreach ($request->getFixedPackag... | PHP |
5a835db24d4cbaae7680405ae6905e6bdb721aae | 534 | 2020-06-05 16:52:24+02:00 | -7,200 | ['7be24dccd9c1fdb8422b76661ca73a133d5aa286'] | Fixed another partial update test | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -341,6 +341,12 @@ private function loadPackage(Request $request, PackageInterface $package, $propa\n } else {\n ... | PHP |
014e9d5dd19fbd4792334e90463820f88654c9d8 | 534 | 2020-06-05 16:52:24+02:00 | -7,200 | ['5097ed64809dd38e098826f88b573f2ef566cc75'] | Fixed last remaining pool builder test | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -124,12 +124,13 @@ public function buildPool(array $repositories, Request $request)\n }\n \n foreach ($request->getFixedPackag... | PHP |
6ef47baca1a78293f1b5b73bd18330f2e66f0a74 | 534 | 2020-06-05 16:52:24+02:00 | -7,200 | ['014e9d5dd19fbd4792334e90463820f88654c9d8'] | Added a todo for package dupes | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -209,6 +209,7 @@ public function buildPool(array $repositories, Request $request)\n }\n \n // Filter duplicate packages\n+ ... | PHP |
b6c436598bc984247a140a7adef5c6d8cf7c0b91 | 534 | 2020-06-05 16:52:24+02:00 | -7,200 | ['6ef47baca1a78293f1b5b73bd18330f2e66f0a74'] | Updated to latest semver intervals | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -27,6 +27,7 @@\n use Composer\\EventDispatcher\\EventDispatcher;\n use Composer\\Plugin\\PrePoolCreateEvent;\n use Composer\\Plugin\\PluginEve... | PHP |
f2befc46c9f68524bf2321b20a44e5cfa42a82a0 | 281 | 2020-06-05 17:13:39+02:00 | -7,200 | ['67a88880ec136a3e02f10235a79ba6b04667a7de'] | Avoid storing duplicate packages when loading the same package twice | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -209,17 +209,6 @@ public function buildPool(array $repositories, Request $request)\n $this->unacceptableFixedPackages = $prePoolCr... | PHP |
b7f1550896759baeb52bc94ebeab6ce42f0162d1 | 281 | 2020-06-06 15:20:14+02:00 | -7,200 | ['f2befc46c9f68524bf2321b20a44e5cfa42a82a0'] | Add test covering replacer unfixing | [{'old_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-transitive-deps-unfix.test', 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-transitive-deps-unfix.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,9 +8,9 @@ Partially updating on... | PHP |
4b9b499ce5f7bee87a23fb49591a9078c92e9829 | 281 | 2020-06-06 17:16:54+02:00 | -7,200 | ['b7f1550896759baeb52bc94ebeab6ce42f0162d1'] | Fix issue loading aliases and fix markPackageNameForLoading when called twice in a row for same package it would overwrite the constraint the second time | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -85,6 +85,8 @@ class PoolBuilder\n */\n private $updateAllowWarned = array();\n \n+ private $indexCounter = 0;\n+\n /**\n ... | PHP |
2fa58ccf963ca5f4f0e059d0be238d8f4226e519 | 281 | 2020-06-06 17:18:42+02:00 | -7,200 | ['4b9b499ce5f7bee87a23fb49591a9078c92e9829'] | Reduce amount of packages loaded by avoiding extensions of the constraint beyond the root constraint | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -80,6 +80,16 @@ class PoolBuilder\n private $unacceptableFixedPackages = array();\n private $updateAllowList = array();\n private ... | PHP |
fa799970ada7057b1b41c67dba182ee01d7b09ec | 246 | 2020-06-07 22:15:09+01:00 | -3,600 | ['6630519882a2ca86e402baa62506a70fc4482235'] | Replace whitelist with allow list | [{'old_path': 'doc/01-basic-usage.md', 'new_path': 'doc/01-basic-usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -159,7 +159,7 @@ php composer.phar update\n > if the `composer.lock` has not been updated since changes were made to the\n > `composer.json` that might affect dependency resolution.\n \n-If you ... | PHP |
a97d13fc6db7a4eecb69aa41231d3eafc799ea20 | 76 | 2020-06-08 09:33:40+01:00 | -3,600 | ['491067f253f60b5f9c137236b3fbe36476c2a9e5'] | Fixed typo
Co-authored-by: ZhangWei <zhwei.yes@gmail.com> | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -237,7 +237,7 @@ private function doUpdate(InputInterface $input, OutputInterface $output, IOInte\n ->setClassMapAuthoritative($authoritative)\n ... | PHP |
13bdf8553a8a4a8ca369d95d75ac1ccdc207c30e | 229 | 2020-06-11 21:53:31+02:00 | -7,200 | ['9d5051faac0b94c99133936e1872a8d115dfbd44'] | Add setProcessedUrl method to PreFileDownloadEvent | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -127,6 +127,7 @@ public function download(PackageInterface $package, $path, PackageInterface $pre\n if ($eventDispatcher) {\n ... | PHP |
a17bbec842f515842b2c01c2b2b02b12ec276058 | 281 | 2020-06-15 13:04:02+02:00 | -7,200 | ['6630519882a2ca86e402baa62506a70fc4482235'] | Avoid double warnings about composer.json when running outdated, fixes #8958 | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -156,7 +156,7 @@ public function doRun(InputInterface $input, OutputInterface $output)\n }\n \n // prompt user for dir change if no composer.json is... | PHP |
54debe82102f72a80988c81b56e81d8b4f13cce5 | 303 | 2020-06-15 13:08:38+02:00 | 0 | ['a17bbec842f515842b2c01c2b2b02b12ec276058'] | Respect disable-tls in Versions::getLatest
Use http to get the latest version when disable-tls is true and error-
trap DiagnoseCommand::checkVersion so that all checks can complete.
Fixes #8657. | [{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -432,7 +432,11 @@ private function checkVersion($config)\n }\n \n $versionsUtil = new Versions($config, $this->rfs);\n+ try {\n ... | PHP |
ae5904716610434a3fa62f123ebda7e2d5d79e84 | 370 | 2020-06-15 21:42:41+02:00 | -7,200 | ['6630519882a2ca86e402baa62506a70fc4482235'] | Clean Git repos during discard | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -451,7 +451,7 @@ protected function getCommitLogs($fromReference, $toReference, $path)\n protected function discardChanges($path)\n {\n $p... | PHP |
5c13c974286969e4c5298e74c1a3ee66ef6e2bef | 229 | 2020-06-15 21:43:41+02:00 | -7,200 | ['907367ff438481356ce86a1a27e297b02fd6c7f7'] | Implement type and context properties in PreFileDownloadEvent | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -125,7 +125,7 @@ public function download(PackageInterface $package, $path, PackageInterface $pre\n $url = reset($urls);\n \n if... | PHP |
6d9bf426553ea944b2d0931114b992d965ecf741 | 355 | 2020-06-16 09:35:33+02:00 | -7,200 | ['9d5051faac0b94c99133936e1872a8d115dfbd44'] | Additional Util\RemoteFileSystem tests (#8960)
* RemoteFilesystemTest: simplifying some mock expectations calls
- will($this->returnValue()) to willReturn()
- will($this->returnCallBack()) to willReturnCallback()
* RemoteFilesystemTest: extracting identical mocks for IOInterface into a separate getIOInterfaceMo... | [{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -54,8 +54,9 @@ class RemoteFilesystem\n * @param Config $config The config\n * @param array $options The options\n * @param boo... | PHP |
d906ff12c9257f50ade53d96f0e513f610b5dd87 | 72 | 2020-06-16 10:05:44+02:00 | -25,200 | ['6d9bf426553ea944b2d0931114b992d965ecf741'] | PHPStan fixes: `autoload_files`, and `ignoreErrors` (#8974)
* PHPStan: Remove autoload_files directive as it is not necessary anymore
* PHPStan: Add error exclusions for sapi_windows_set_ctrl_handler function
* PHPStan: Add error exclusions for ZipArchive::LIBZIP_VERSION
* PHPStan: Require phpstan ^0.12.26
... | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -89,7 +89,7 @@ jobs:\n uses: "shivammathur/setup-php@v2"\n with:\n coverage: "none"\n- extensions: "intl"\n+ ... | PHP |
8da2811dc3392c88d99c4b3011ce613cda5e7f8f | 305 | 2020-06-16 10:07:53+02:00 | -7,200 | ['d906ff12c9257f50ade53d96f0e513f610b5dd87'] | Add new summary format for licenses (#8973)
* Add new summary format to render the number of dependencies for each used license
* Array dereferencing wasn't available on php 5.3
* Add summary format to documentation | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -785,7 +785,7 @@ Lists the name, version and license of every package installed. Use\n \n ### Options\n \n-* **--format:** Format of the output: text or json (default: "text")\n+* **--format:** Format of the ou... | PHP |
a797ee1322088415ce57639686562cdc74e8250d | 281 | 2020-06-16 13:50:29+02:00 | -7,200 | ['da6c0635d24115388b99d9fc0cb781e398d578ce'] | Fix inline aliases not being loaded when extracting dev requirements, fixes #8954 | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -88,7 +88,7 @@ class PoolBuilder\n * @param int[] $stabilityFlags an array of package name => BasePackage::STABILITY_* value\n * @ps... | PHP |
d5286d0cb8216d2a76f5e63c03e4bcb6f0fa0c0a | 281 | 2020-06-16 14:00:18+02:00 | -7,200 | ['cda9849d19c81434d6b8996ea6b7619bf45f353a'] | Add a way for FileDownloader subclasses to add paths to the cleanup stage | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -55,6 +55,7 @@ class FileDownloader implements DownloaderInterface, ChangeReportInterface\n * @private this is only public for php 5.3 support in c... | PHP |
0dad963cd89be409c729830dea4128a021129090 | 281 | 2020-06-16 14:00:19+02:00 | -7,200 | ['d5286d0cb8216d2a76f5e63c03e4bcb6f0fa0c0a'] | Add executeAsync to ProcessExecutor and allow Loop class to wait on it in addition to HttpDownloader | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -336,7 +336,7 @@ public function createComposer(IOInterface $io, $localConfig = null, $disablePlu\n \n $httpDownloader = self::createHttpDownloader($io, $config);\n $proces... | PHP |
8f6e82f562ca2ba06c16d6325f079c386cdfdde0 | 281 | 2020-06-16 14:00:20+02:00 | -7,200 | ['0dad963cd89be409c729830dea4128a021129090'] | Add support for aborting running promises cleanly | [{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -184,6 +184,8 @@ public function execute(RepositoryInterface $repo, array $operations, $devMode =\n $runCleanup = function () use (&$cle... | PHP |
3af617efe892647ca1d2cfa59fa5c23215b82ba3 | 281 | 2020-06-16 14:00:20+02:00 | -7,200 | ['8f6e82f562ca2ba06c16d6325f079c386cdfdde0'] | Parallelize zip extraction using async unzip processes | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,6 +16,7 @@\n use Symfony\\Component\\Finder\\Finder;\n use Composer\\IO\\IOInterface;\n use Composer\\Exception\\IrrecoverableDownloadExceptio... | PHP |
b1e15c77256dd5e05ceaef207dd5c6225061c4fa | 281 | 2020-06-16 14:00:21+02:00 | -7,200 | ['3af617efe892647ca1d2cfa59fa5c23215b82ba3'] | Fix a couple async bugs | [{'old_path': 'src/Composer/Util/ProcessExecutor.php', 'new_path': 'src/Composer/Util/ProcessExecutor.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -187,12 +187,12 @@ public function executeAsync($command, $cwd = null)\n $self->markJobDone();\n \n return $job['process'];\n- }, f... | PHP |
9f380d606caa6901d10e5f3e1b917d605379cebd | 281 | 2020-06-16 14:00:22+02:00 | -7,200 | ['b1e15c77256dd5e05ceaef207dd5c6225061c4fa'] | Add basic progress bar capability while waiting for jobs to complete | [{'old_path': 'src/Composer/IO/ConsoleIO.php', 'new_path': 'src/Composer/IO/ConsoleIO.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,6 +14,7 @@\n \n use Composer\\Question\\StrictConfirmationQuestion;\n use Symfony\\Component\\Console\\Helper\\HelperSet;\n+use Symfony\\Component\\Console\\Helper\\ProgressB... | PHP |
87a0fc5506687186b426f8e4386fd491d52ea5cb | 281 | 2020-06-16 14:00:22+02:00 | -7,200 | ['9f380d606caa6901d10e5f3e1b917d605379cebd'] | Execute operations in batches to make sure plugins install in the expected order | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -62,6 +62,7 @@ public function install(PackageInterface $package, $path, $output = true)\n } while (is_dir($temporaryDir));\n \n $... | PHP |
9c78eda7db409125145aa2b94944c7fca55aeae1 | 281 | 2020-06-16 14:00:23+02:00 | -7,200 | ['87a0fc5506687186b426f8e4386fd491d52ea5cb'] | Fix FileDownloader::update impl to handle promises | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -29,14 +29,12 @@ abstract class ArchiveDownloader extends FileDownloader\n {\n public function download(PackageInterface $package, $path, Pack... | PHP |
085fe4e7e5c9b1c0122322d62e94bba2c7f0fe4f | 281 | 2020-06-16 14:00:24+02:00 | -7,200 | ['9c78eda7db409125145aa2b94944c7fca55aeae1'] | Add --no-progress support and a few more fixes | [{'old_path': 'src/Composer/Command/ArchiveCommand.php', 'new_path': 'src/Composer/Command/ArchiveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,6 +23,7 @@\n use Composer\\Plugin\\PluginEvents;\n use Composer\\Util\\Filesystem;\n use Composer\\Util\\Loop;\n+use Composer\\Util\\ProcessExecutor;\n us... | PHP |
aea074308c642e86377a2fa0fef7d0f97e5ebb26 | 281 | 2020-06-16 14:07:30+02:00 | -7,200 | ['ee58f25c001332bb8aaeaa442d6ca232093d911d'] | Update batching to install plugin deps before the plugin (alone an own batch) | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -95,7 +95,7 @@ public function install(PackageInterface $package, $path, $output = true)\n $filesystem->unlink($fileName);\n \n ... | PHP |
d1fedc3bd62cea10bc847a980fdb874af19b2b8d | 281 | 2020-06-17 10:42:05+02:00 | -7,200 | ['e5fe35d5541d2081c447d2ea16b246186d5bfb5f'] | Restore old behavior of wiping dir contents before installing, fixes #8988 | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -29,11 +29,6 @@ abstract class ArchiveDownloader extends FileDownloader\n {\n public function download(PackageInterface $package, $path, Packa... | PHP |
aaef3ff5ff6827532f8ad9950c3971cc9236da93 | 281 | 2020-06-17 10:44:50+02:00 | -7,200 | ['d1fedc3bd62cea10bc847a980fdb874af19b2b8d'] | Improve error reporting when unzip fails due to race condition in unhandled Promise, refs #8988 | [{'old_path': 'src/Composer/Downloader/ZipDownloader.php', 'new_path': 'src/Composer/Downloader/ZipDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -104,9 +104,15 @@ private function extractWithSystemUnzip(PackageInterface $package, $file, $path,\n throw $processError;\n ... | PHP |
83c64a9d191b64689b408906d40943958a6a8eb0 | 281 | 2020-06-17 12:33:02+02:00 | -7,200 | ['aaef3ff5ff6827532f8ad9950c3971cc9236da93'] | Reuse operation formatting logic in downloaders | [{'old_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'new_path': 'src/Composer/DependencyResolver/Operation/InstallOperation.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -61,7 +61,12 @@ public function getOperationType()\n */\n public function show($lock)\n {\n- ... | PHP |
23cae5939c635729fbc4b19ef208e2c2b37485fd | 494 | 2020-06-17 13:15:11+02:00 | -7,200 | ['722bbce72f389c2de07ecaba4cf3f80b42c05ec7'] | #8945 Add "--no-dev" to outdated/show commands docs | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -408,6 +408,7 @@ php composer.phar show monolog/monolog 1.0.2\n * **--tree (-t):** List your dependencies as a tree. If you pass a package name it will show the dependency tree for that package.\n * **--latest ... | PHP |
472a62152d3386dce33df3935d647cb6e508bc81 | 281 | 2020-06-17 16:09:38+02:00 | -7,200 | ['da572f1fdc427bc4aa8bcb0455b74e873303960a'] | Store default branch info inside metadata | [{'old_path': 'src/Composer/Package/AliasPackage.php', 'new_path': 'src/Composer/Package/AliasPackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -392,6 +392,11 @@ public function getArchiveExcludes()\n return $this->aliasOf->getArchiveExcludes();\n }\n \n+ public function isDefaultBranch()\n... | PHP |
93d4cf6f918a6743dfd60e764de633215a3d34fa | 281 | 2020-06-17 16:37:06+02:00 | -7,200 | ['472a62152d3386dce33df3935d647cb6e508bc81'] | Add --no-show-signature where git supports it, fixes #8966 | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ public function doDownload(PackageInterface $package, $path, $url)\n $flag = Platform::isWindows() ? \'/D \' : \'\';\n \n /... | PHP |
8c0ecf733768ad651d4e50c1f58af51521971d6c | 281 | 2020-06-17 16:41:33+02:00 | -7,200 | ['93d4cf6f918a6743dfd60e764de633215a3d34fa'] | Clarify why a dev tag was ignored, fixes #8951 | [{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -219,8 +219,12 @@ protected function initialize()\n // broken package, version doesn't match tag\n if ($data['version_norm... | PHP |
0278e7453dc6026b20788b3ee28c0a754d59452b | 370 | 2020-06-17 17:00:35+02:00 | -7,200 | ['fb7fc4a4ca47211651a9370c17cdaaf753cd825c'] | Clean Git repos during discard | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -451,7 +451,7 @@ protected function getCommitLogs($fromReference, $toReference, $path)\n protected function discardChanges($path)\n {\n $p... | PHP |
ce368f8269f75b1382ad4e1488d9f598c47f6e97 | 281 | 2020-06-17 17:41:38+02:00 | -7,200 | ['04381c70fe05b6946ea8aa5841420fcec96d204b'] | Store default branch info inside metadata | [{'old_path': 'src/Composer/Package/AliasPackage.php', 'new_path': 'src/Composer/Package/AliasPackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -414,6 +414,11 @@ public function getArchiveExcludes()\n return $this->aliasOf->getArchiveExcludes();\n }\n \n+ public function isDefaultBranch()\n... | PHP |
52afa5ef1603f56f3ba309920cd099d13563031d | 281 | 2020-06-17 17:54:06+02:00 | -7,200 | ['f70d527f4f9d03bd7d748c373db68dde56ada74f'] | Fix handling of default branches | [{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -312,9 +312,6 @@ protected function initialize()\n $prefix = substr($branch, 0, 1) === 'v' ? 'v' : '';\n $version = $prefi... | PHP |
4682efcf77e562178cdcab98c92923204c4fd66d | 281 | 2020-06-19 09:45:39+02:00 | -7,200 | ['52afa5ef1603f56f3ba309920cd099d13563031d'] | Support also default_branch flag in cached versions | [{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -313,7 +313,7 @@ protected function initialize()\n $version = $prefix . preg_replace('{(\\.9{7})+}', '.x', $parsedBranch);\n }... | PHP |
5ff142329831c95c968731944edd4389795c829f | 479 | 2020-06-19 10:24:40+01:00 | -3,600 | ['cb1f3899bbef0a0686b03a9702abaf980cff2d15'] | GitDriver: use authentication for supports check | [{'old_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -219,8 +219,17 @@ public static function supports(IOInterface $io, Config $config, $url, $deep = f\n return false;\n }\n \n- $p... | PHP |
6f0e5996dec07736c17001fba5be661804b4e32f | 281 | 2020-06-19 14:12:44+02:00 | -7,200 | ['4682efcf77e562178cdcab98c92923204c4fd66d'] | Treat default branch name as a non-feature-branch no matter what it is called | [{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -154,8 +154,17 @@ private function guessGitVersion(array $packageConfig, $path)\n if ($isFeatureBranch) {\n $featu... | PHP |
923f198a1f433d34e16f42fed104bc65a9272844 | 281 | 2020-06-19 15:33:25+02:00 | -7,200 | ['6f0e5996dec07736c17001fba5be661804b4e32f'] | Fix default-branch attribute on package files, and add it to schema | [{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -565,6 +565,10 @@\n "type": "string"\n }\n },\n+ "default-branch": {\n+ "type": ["boolean"],\n+ "description": "Internal us... | PHP |
6349764c2db1bdaad3099547512c4acbafe3a2e0 | 281 | 2020-06-19 15:34:28+02:00 | -7,200 | ['923f198a1f433d34e16f42fed104bc65a9272844'] | Fix root package handling of default-branch | [{'old_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'new_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -110,6 +110,11 @@ public function load(array $config, $class = 'Composer\\Package\\RootPackage', $cw\n }\n }\n \n+ ... | PHP |
d19f5db56810b58b15b5263ce4c1d4181de3f896 | 281 | 2020-06-19 16:06:38+02:00 | -7,200 | ['6349764c2db1bdaad3099547512c4acbafe3a2e0'] | Fix tests to use default-branch prop | [{'old_path': 'tests/Composer/Test/Fixtures/installer/alias-solver-problems.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/alias-solver-problems.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,8 +6,8 @@ Test the error output of solver problems with dev-master aliases.\n {\n "... | PHP |
7a37e78a30cb195e948e5a2cf2aaf64aa43c5294 | 281 | 2020-06-19 17:56:13+02:00 | -7,200 | ['d19f5db56810b58b15b5263ce4c1d4181de3f896'] | Speed up installer tests by avoiding lots of bootstrapping and git processes | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -356,7 +356,7 @@ public function createComposer(IOInterface $io, $localConfig = null, $disablePlu\n // load package\n $parser = new VersionParser;\n $guesser = new ... | PHP |
e55a019b8d876c2babc80436f2828aa562ee5e8b | 77 | 2020-06-19 18:21:03+02:00 | -7,200 | ['cb1f3899bbef0a0686b03a9702abaf980cff2d15'] | replace toran with private packagist | [{'old_path': 'doc/articles/http-basic-authentication.md', 'new_path': 'doc/articles/http-basic-authentication.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,7 +4,7 @@\n \n # HTTP basic authentication\n \n-Your [Satis or Toran Proxy](handling-private-packages-with-satis.md) server\n+Your [Satis or Private Pa... | PHP |
edd2aa27dbaccf522e4b13067a9914e7f8119126 | 388 | 2020-06-19 23:31:11+02:00 | -7,200 | ['6d2b5c1950bbf9b761dc84357490f381f7eccb74'] | Add missing isVerbose argument to problem formatting call | [{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -264,7 +264,7 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n return 'You can only install one version ... | PHP |
e76fc2dc39952f1f598b3a05473d7296ca043d48 | 281 | 2020-06-22 10:48:15+02:00 | -7,200 | ['09d7acee3cd7783220c091f92271bfb2752d5955'] | Avoid blocking when guessing default branch name, fixes #9001 | [{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,6 +20,7 @@\n use Composer\\Util\\HttpDownloader;\n use Composer\\Util\\ProcessExecutor;\n use Composer\\Util\\Svn as SvnUtil;\n+use Compos... | PHP |
ae44a5963d18b61e0334295b005de7a4ee28aafc | 281 | 2020-06-22 10:54:38+02:00 | -7,200 | ['e76fc2dc39952f1f598b3a05473d7296ca043d48'] | ZipArchive issues fixed in phpstan it seems | [{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,9 +26,6 @@ parameters:\n # BC with older PHPUnit\n - '~^Call to an undefined static method PHPUnit\\\\Framework\\\\TestCase::setExpectedException\\(\\)\\.$~'\n \n- # ZipAr... | PHP |
e3c75b3e872cbcc69480d0c88387d63135f57985 | 144 | 2020-06-23 04:10:26+07:00 | -25,200 | ['ae44a5963d18b61e0334295b005de7a4ee28aafc'] | Replace cascading str_replace() calls with strtr()
Replaces cascading str_replace() calls with a single strtr() call that makes it mode readable and provides a micro performance improvement.
Some instances of cascading str_replace() calls were not refactored due to the potential recurring replacement patterns. | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1064,8 +1064,7 @@ protected function parseAutoloadsType(array $packageMap, $type, PackageInterface\n $path = preg_replace('{/... | PHP |
52332d994e2944c72f9d49296932d98b5cbfe68c | 479 | 2020-06-23 13:06:30+01:00 | -3,600 | ['cb1f3899bbef0a0686b03a9702abaf980cff2d15'] | GitDriver: use authentication for supports check | [{'old_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -219,8 +219,17 @@ public static function supports(IOInterface $io, Config $config, $url, $deep = f\n return false;\n }\n \n- $p... | PHP |
ec6e05d55fd783757baa3f33cb904e10d861632b | 305 | 2020-06-23 19:44:12+02:00 | -7,200 | ['668655c21a99a5016d6a959d0df4bb5e86fe4e9f'] | Sort licenses so that the most used license will appear first | [{'old_path': 'src/Composer/Command/LicensesCommand.php', 'new_path': 'src/Composer/Command/LicensesCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -123,6 +123,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $usedLicenses[$licenseName]++;\n ... | PHP |
73a721c7e5fb959b507790e8a08611e067f49e3d | 305 | 2020-06-23 19:45:26+02:00 | -7,200 | ['ec6e05d55fd783757baa3f33cb904e10d861632b'] | Add the missing summary format to command-line help text | [{'old_path': 'src/Composer/Command/LicensesCommand.php', 'new_path': 'src/Composer/Command/LicensesCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -34,7 +34,7 @@ protected function configure()\n ->setName('licenses')\n ->setDescription('Shows information about licenses of depend... | PHP |
74d89d7110754aaea9b61c5a17d24b0ab2d113a8 | 281 | 2020-06-24 21:16:16+02:00 | -7,200 | ['05eec0b02fe9257d72e785015a3c502b714b6534'] | Get rid of default branch handling in version guesser as it is way too time intensive at every initialization | [{'old_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'new_path': 'src/Composer/Package/Loader/RootPackageLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -110,11 +110,6 @@ public function load(array $config, $class = 'Composer\\Package\\RootPackage', $cw\n }\n }\n \n- ... | PHP |
a133e694d06916672d4620b6741eb4d7348598cd | 281 | 2020-06-25 08:57:18+02:00 | -7,200 | ['6f9b39180cd79623621b2d49ad9e683f6e15ff22'] | Speed up fund command fetching of latest data and make sure it uses default branch info | [{'old_path': 'src/Composer/Command/FundCommand.php', 'new_path': 'src/Composer/Command/FundCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,8 @@\n \n use Composer\\Package\\CompletePackageInterface;\n use Composer\\Package\\AliasPackage;\n+use Composer\\Package\\BasePackage;\n+use Composer\\Se... | PHP |
e2f1e8aed6006dcdaa1fa7862a644a62ef87510c | 281 | 2020-06-25 08:57:42+02:00 | -7,200 | ['a133e694d06916672d4620b6741eb4d7348598cd'] | Allow optimizing fetching of dev versions only if no other stability is needed | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -676,6 +676,10 @@ private function loadAsyncPackages(array $packageNames, array $acceptableStabili\n if ($acceptableStabilities === ... | PHP |
86af5e5c6e514dd3865e3bbf501dcc21472dceb3 | 281 | 2020-06-25 08:58:08+02:00 | -7,200 | ['e2f1e8aed6006dcdaa1fa7862a644a62ef87510c'] | Remove conflict between trunk and master, as they do not normalize anymore | [{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -291,13 +291,6 @@ protected function initialize()\n $this->io->overwriteError($msg, false);\n }\n \n- if ($branch =... | PHP |
bee91155a136659429b4b46f4290ea6aa3c09943 | 281 | 2020-06-26 16:16:16+02:00 | -7,200 | ['4a2ea3c67aa49a3dce68ef5a56614e1941d68965'] | Fix guessing of default branch when HEAD is a non-feature-branch | [{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -137,7 +137,7 @@ private function guessGitVersion(array $packageConfig, $path)\n } else {\n $versi... | PHP |
263121049334fc5af1f6b3c23292831b02ae2369 | 388 | 2020-06-26 21:51:02+02:00 | -7,200 | ['bee91155a136659429b4b46f4290ea6aa3c09943'] | Solver: analyze multi conflict rules in conflict resolution correctly | [{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -189,4 +189,15 @@ public function isUnacceptableFixedPackage(PackageInterface $package)\n {\n return \\in_array($package, $this->unacceptableFix... | PHP |
2cfb60e68375d83dc9be0bc93c9c4905612df80b | 388 | 2020-06-26 21:51:02+02:00 | -7,200 | ['263121049334fc5af1f6b3c23292831b02ae2369'] | Solver: Add test case for github issue 7051 | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/github-issues-7051.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,331 @@\n+--TEST--\n+Solver Bug Exception caused by analyze on mutli conflict rule reported in GitHub issue 7051 https://github.com/composer/composer/issues/7051\n+--CO... | PHP |
c78eb49b5eae0dc8caa664b09872c62c923a29b8 | 388 | 2020-06-26 21:51:02+02:00 | -7,200 | ['2cfb60e68375d83dc9be0bc93c9c4905612df80b'] | Remove unnecessary duplicate rule output from expected test result | [{'old_path': 'tests/Composer/Test/Fixtures/installer/provider-conflicts3.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/provider-conflicts3.test', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -39,14 +39,11 @@ Your requirements could not be resolved to an installable set of packages.\n Problem 1\n ... | PHP |
b34f9164705c81c531c6d75be4e59350feb58a0d | 388 | 2020-06-26 21:51:02+02:00 | -7,200 | ['c78eb49b5eae0dc8caa664b09872c62c923a29b8'] | Solver: No need to check previous decision if we reached the first one | [{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -417,6 +417,7 @@ protected function analyze($level, Rule $rule)\n }\n unset($literal);\n \n+ if ($decisionId > 0) {\n... | PHP |
6e05345be73e8e99a08e9de5639f37251a51230d | 388 | 2020-06-26 21:51:02+02:00 | -7,200 | ['b34f9164705c81c531c6d75be4e59350feb58a0d'] | Solver: Move analyze handling of multiconflict rule to clearer location
This way we're not looking at the previous decision at the top of the
loop but working with the current decision at the bottom | [{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -417,18 +417,6 @@ protected function analyze($level, Rule $rule)\n }\n unset($literal);\n \n- if ($decisionId > 0) {\... | PHP |
851050e85c07f68ce0a0290fa53f6ed884751a6b | 388 | 2020-06-26 21:51:02+02:00 | -7,200 | ['6e05345be73e8e99a08e9de5639f37251a51230d'] | Solver: multiconflict analyze handles positive decision same as regular literal | [{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -471,8 +471,20 @@ protected function analyze($level, Rule $rule)\n if ($rule instanceof MultiConflictRule) {\n // th... | PHP |
edef7481699d4a8fe6c6df7750cb32a76397c701 | 388 | 2020-06-26 21:55:03+02:00 | -7,200 | ['851050e85c07f68ce0a0290fa53f6ed884751a6b'] | Solver: Clarify when/why undecided literals can get skipped in analyze | [{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -386,7 +386,8 @@ protected function analyze($level, Rule $rule)\n $this->learnedPool[\\count($this->learnedPool) - 1][] = $rule;\n \n ... | PHP |
3f5dde98730310fe58ae6c9432ed75967373045a | 388 | 2020-06-26 22:04:17+02:00 | -7,200 | ['de3931c742ba336eb32c48b1ac2bb2bc4e3f4792'] | Solver: Ensure multi conflict rules still get added to learned pool | [{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -473,6 +473,7 @@ protected function analyze($level, Rule $rule)\n // there is only ever exactly one positive decision in a multiconf... | PHP |
3d2d33dd58d213a014a2348802f83496bef400e4 | 388 | 2020-06-26 22:11:13+02:00 | -7,200 | ['3f5dde98730310fe58ae6c9432ed75967373045a'] | Solver: Add missing rules and replace some with %A for pcre length limit | [{'old_path': 'tests/Composer/Test/Fixtures/installer/github-issues-7051.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/github-issues-7051.test', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -117,20 +117,25 @@ Your requirements could not be resolved to an installable set of packages.\n Problem 1\n ... | PHP |
351dcd1c6490dcc091b523cfd804391f737d86ba | 439 | 2020-06-29 14:22:11+02:00 | -7,200 | ['1824637dab08405989503764dd5e3a129a4f00c3'] | Create an issue @ Docker repository on tag | [{'old_path': '.github/workflows/release.yml', 'new_path': '.github/workflows/release.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -56,3 +56,20 @@ jobs:\n asset_path: ./composer.phar\n asset_name: composer.phar\n asset_content_type: application/octet-stream\n+\n+ # This ste... | PHP |
6e3efabbfc3834ae701bc9fb243dbc42ddc0cce9 | 144 | 2020-07-01 02:43:13+07:00 | -25,200 | ['a10b3ca9e92a7d3e5713c978c8d80ca2bb977163'] | Multiple grammar fixes in markdown files | [{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,7 +3,7 @@\n ## For composer CLI users\n \n - The new platform-check feature means that Composer checks the runtime PHP version and available extensions to ensure they match the project dependencies. If a m... | PHP |
70f211923b9f72c6994d526b1fda94fd98aa9ad6 | 281 | 2020-07-01 11:16:38+02:00 | -7,200 | ['45f228a375703c34a3a086573ee57ec4d49d6a67'] | Add support for list URL in composer repos, fixes #9009 | [{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -74,3 +74,9 @@ If your repository only has a small number of packages, and you want to avoid th\n `"providers-api": "https://packagist.org/providers/%package%.json",`\n \n The providers-api is optional, but i... | PHP |
ee4afa29e77b57ae8d03254149788a30c7a40c39 | 281 | 2020-07-01 11:17:52+02:00 | -7,200 | ['70f211923b9f72c6994d526b1fda94fd98aa9ad6'] | Include dev packages in locked package listings for show command | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -175,7 +175,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $localRepo = $composer->getRepositoryManager()->getLocalRe... | PHP |
1fa6f4c83ca381019451488fd2243eaed6dd389b | 281 | 2020-07-01 11:37:38+02:00 | -7,200 | ['ee4afa29e77b57ae8d03254149788a30c7a40c39'] | Add a default signal handler to avoid having the SIGINTs ignored, fixes #9027 | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -81,6 +81,13 @@ public function __construct()\n }\n \n if (!$shutdownRegistered) {\n+ if (function_exists('pcntl_async_signals') && funct... | PHP |
d7b124850850a4fe0e80f64f975b3d14a58209c1 | 281 | 2020-07-04 12:00:37+02:00 | -7,200 | ['212fbc516e3d41c5ebafa46b018d7194751222d2'] | Create pool before reading package ids as the pool creation reassigns package ids, fixes #9034 | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -567,6 +567,7 @@ protected function getPackage(InstalledRepository $installedRepo, RepositoryInte\n $matchedPackage = null;\n $versions = array();\n... | PHP |
d2d3aa84948e3511f0f730fd9fa0baeeab8b9867 | 281 | 2020-07-07 21:12:04+02:00 | -7,200 | ['95a176c87c29b0e44c05b0a685af9d217cabb053'] | Fix parsing of # in funding links, fixes composer/packagist#1097, closes #9035 | [{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -214,20 +214,19 @@ private function getFundingInfo()\n $result = array();\n $key = null;\n foreach (preg_split(\'{\\r?\\n}\'... | PHP |
23c32ed6d3e980114eeaf9193fe378620ec39de6 | 502 | 2020-07-14 23:06:20+01:00 | -3,600 | ['92ef4396663577a99de883fec8b95efb9b41fc5a'] | Fix #9033 - inconsistent behavior with minor-only flag | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -248,7 +248,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n } else {\n $latestPackage = null;\n ... | PHP |
10590dc519fe9b12c8333452c75904155214ca3e | 281 | 2020-07-15 10:56:13+02:00 | -7,200 | ['92ef4396663577a99de883fec8b95efb9b41fc5a'] | Improve support for XDG and default to XDG config dir if both that and ~/.composer are available, fixes #9045 | [{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,6 +5,7 @@\n - The new platform-check feature means that Composer checks the runtime PHP version and available extensions to ensure they match the project dependencies. If a mismatch is found, it exits with... | PHP |
fb0ad7c900500f6e3d5451f79baad8c86ee725d4 | 242 | 2020-07-15 16:18:21+01:00 | -3,600 | ['d2d3aa84948e3511f0f730fd9fa0baeeab8b9867'] | GitLab: clarify interactive auth prompt | [{'old_path': 'src/Composer/Util/GitLab.php', 'new_path': 'src/Composer/Util/GitLab.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -104,7 +104,7 @@ public function authorizeOAuthInteractively($scheme, $originUrl, $message = null\n }\n \n $this->io->writeError(sprintf(\'A token will be created a... | PHP |
cae913c434818e1318a336e129bfe4e58f5b8e0f | 303 | 2020-07-16 11:53:55+02:00 | -3,600 | ['a585c65a12b0c62bee612bf58a30cdb254d14554'] | Add Windows UAC elevation to self-update command
If self-update fails on Windows due to file permission issues, a .vbs
script is used to elevate a call to the cmd.exe `move` command.
Unfortunately it is not possible to know if the user cancelled the UAC
prompt using this method - it is possible using a Powershell scri... | [{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n use Composer\\Factory;\n use Composer\\Config;\n use Composer\\Util\\Filesystem;\n+use Composer\\Util\\Platform;\n use Composer\\SelfUp... | PHP |
6cb4dc41b81e62d46bd13476cc05390596f2d122 | 281 | 2020-07-16 12:26:48+02:00 | -7,200 | ['57f91d01c7d6ae9a3ce6ffa577d7fb16e94d4a8f'] | Fix bitbucket detection of redirects to login page, fixes #9041 | [{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -404,7 +404,7 @@ protected function get($originUrl, $fileUrl, $additionalOptions = array(), $file\n if ($originUrl === 'bitbucket.org'\n && ... | PHP |
eec2f8d4232e4ddadbe284cb498e1c39ce5e191f | 281 | 2020-07-16 12:37:54+02:00 | -7,200 | ['6cb4dc41b81e62d46bd13476cc05390596f2d122'] | Remove highest/lowest builds for 1.10 maintenance branch | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,14 +38,6 @@ jobs:\n dependencies: highest\n os: ubuntu-latest\n experimental: false\n- - php-versio... | PHP |
89d35af83d0daeb0303cf79cf59e06aa37f6b559 | 281 | 2020-07-16 13:59:49+02:00 | -7,200 | ['8dae1dd45ad3ce4298ffd1c28ebe6c18f9d1e432'] | Mark transaction classes internal, refs #8827 | [{'old_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LocalRepoTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,6 +23,7 @@\n \n /**\n * @author Nils Adermann <naderman@naderman.de>\n+ * @internal\n */\n class LocalRepoTransaction ... | PHP |
11892070d19b40053a289bda94bc88248dcd8edf | 439 | 2020-07-16 14:48:16+02:00 | -7,200 | ['bf59f536d616f5a65e554602bf46217ebd9d27d0'] | Create an issue @ Docker repository on tag | [{'old_path': '.github/workflows/release.yml', 'new_path': '.github/workflows/release.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -56,3 +56,20 @@ jobs:\n asset_path: ./composer.phar\n asset_name: composer.phar\n asset_content_type: application/octet-stream\n+\n+ # This ste... | PHP |
7cecc6ad3f0b48c46bc2b2eb0aa9a89aabf9e8ba | 281 | 2020-07-16 14:59:49+02:00 | -7,200 | ['89d35af83d0daeb0303cf79cf59e06aa37f6b559'] | Avoid attempting to use /etc/xdg as base config home, fixes #9053, refs #9045 | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -74,9 +74,6 @@ protected static function getHomeDir()\n if (self::useXdg()) {\n // XDG Base Directory Specifications\n $xdgConfig = getenv('XDG_CONFIG_HOME'... | PHP |
b4ecca5d0b85999deb227a70072a465b2a3ffddf | 261 | 2020-07-16 23:34:30+10:00 | -36,000 | ['11892070d19b40053a289bda94bc88248dcd8edf'] | Supply event dispatcher in Create Project Command
This update allows composer plugins to intercept the
create-project command to inject additional functionality such as
providing additional remote filesystem handling. | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -39,6 +39,7 @@\n use Composer\\Config\\JsonConfigSource;\n use Composer\\Util\\Filesystem;\n use Composer\\Package\\Version\\VersionParser;\n+use ... | PHP |
6869a1a5cb8793303738f874d15549e961de794b | 281 | 2020-07-16 15:37:12+02:00 | -7,200 | ['23cae5939c635729fbc4b19ef208e2c2b37485fd'] | Clean up a little to make impl less invasive and to handle replacers/providers | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -22,6 +22,7 @@\n use Composer\\Package\\Version\\VersionSelector;\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n+use Composer\\Reposi... | PHP |
942562c3822b87ca73bd07b022b501104f67ad0e | 281 | 2020-07-16 17:36:46+02:00 | -7,200 | ['37b1e0fffdac1967da9b9f5e6ae5d83514a6b2ef'] | Clean up Zip Util to be more strict about what is a valid package archive, fixes #8931 | [{'old_path': 'src/Composer/Util/Zip.php', 'new_path': 'src/Composer/Util/Zip.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -71,37 +71,41 @@ public static function getComposerJson($pathToZip)\n */\n private static function locateFile(\\ZipArchive $zip, $filename)\n {\n- $indexOfShortestMat... | PHP |
8ddbae358dcbac26a948046675f4a5216fb22a58 | 303 | 2020-07-16 17:20:12+01:00 | -3,600 | ['11892070d19b40053a289bda94bc88248dcd8edf'] | Remove cygwin php handling in UAC elevation
When called from a native shell and using cygwin PHP, cygpath translates
`/tmp` to `User\AppData\Local\Temp`, rather than `/cygdrive/.../tmp`.
This change does not affect using windows PHP from a Cygwin shell. | [{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -380,8 +380,8 @@ protected function setLocalPhar($localFilename, $newFilename, $backupTarget = nu\n // see if we can run this operation as a... | PHP |
a2ab6f2b543a706be12b719fe3c9a5201e8c01fe | 281 | 2020-07-17 10:38:46+02:00 | -7,200 | ['37b1e0fffdac1967da9b9f5e6ae5d83514a6b2ef'] | Add support for multiple --repository additions in create-project, and make --add-repository delete the lock file, fixes #8853 | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -724,8 +724,9 @@ By default the command checks for the packages on packagist.org.\n which will be used instead of packagist. Can be either an HTTP URL pointing\n to a `composer` repository, a path to a loca... | PHP |
433968de1736958adeb1bf624f538c06d8f35e27 | 281 | 2020-07-17 11:30:03+02:00 | -7,200 | ['201533e16fedf5004971e4248831e61fce298a3d'] | Fix usage of create-project with local filesystem repos | [{'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 $repositorySet->addRepository(new ... | PHP |
eac03e16e7213e2ddc7e73818e91a0f21e571bda | 281 | 2020-07-17 12:05:07+02:00 | -7,200 | ['1d3af13c22140a5541b6d3c13891e9b615de584d'] | Reuse repository manager and others directly from the Composer instance, refs #9057 | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -288,13 +288,13 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n }\n \n $composer = Factory::... | PHP |
23339e44b826e5ccd853cd2a63a8bb041ae2efc9 | 281 | 2020-07-17 16:15:19+02:00 | -7,200 | ['6ba0f3adf973258c6d4366d3820025079a19c7ce'] | Fix alias tests to use default-branches | [{'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': '@@ -35,16 +35,19 @@ Check root aliases are loaded\n {... | PHP |
22367a68f998e212d557e317ea2ec6566f58340e | 281 | 2020-07-17 16:16:58+02:00 | -7,200 | ['3577070efa925981343c67436c60ea6b68d6a6c6'] | Avoid loading same packages multiple times | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -70,6 +70,10 @@ class PoolBuilder\n * @psalm-var array<string, ConstraintInterface>\n */\n private $loadedPackages = array();\n+... | PHP |
071350286fb196722728511aecd00e1defa826c7 | 281 | 2020-07-17 16:16:58+02:00 | -7,200 | ['22367a68f998e212d557e317ea2ec6566f58340e'] | Compact constraints to avoid ending up with very long multi constraints | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -268,7 +268,7 @@ private function markPackageNameForLoading(Request $request, $name, ConstraintIn\n }\n \n // extend t... | PHP |
c3d40ae79a3c0bc00e2aceba1571019bb9ce3257 | 281 | 2020-07-17 17:16:19+02:00 | -7,200 | ['c3028c02d95bd68a0a1bcc035d7d75561c916d82'] | Fix passing of repo http options in async requests | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1202,7 +1202,13 @@ private function asyncFetchFile($filename, $cacheKey, $lastModifiedTime = null)\n $filename = $preFileDownloadEv... | PHP |