Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
057006da4fbfab0241cdcdccce1ff676bedfcb63
281
2021-02-23 08:57:35+01:00
-3,600
['8f7597da22eb19afa562568b08fb4ac920fa7c64']
Make sure @php path/to/bla gets executed as php path\to\bla on windows, fixes #6968
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,6 +16,7 @@\n use Composer\\Installer\\InstallerEvent;\n use Composer\\IO\\IOInterface;\n use Composer\\Composer;\n+use Composer\\Util\\P...
PHP
b3b0cf629e16c1fd7b9d80bf669a3d3ba25448e9
281
2021-02-23 11:07:25+01:00
-3,600
['057006da4fbfab0241cdcdccce1ff676bedfcb63']
Generate binary proxy in PHP if the target binary is detected as a PHP script, so custom PHP processes can be used to call them via the bin proxy path, fixes #9325
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -191,6 +191,42 @@ protected function generateUnixyProxyCode($bin, $link)\n $binDir = ProcessExecutor::escape(dirname($binPath));\n $binF...
PHP
31d9f5157224919efc5e695639f475bc1be27c4f
281
2021-02-23 13:11:00+01:00
-3,600
['057006da4fbfab0241cdcdccce1ff676bedfcb63']
Auto-detect mingw and assume it is interactive, fixes #9690
[{'old_path': 'src/Composer/Util/Platform.php', 'new_path': 'src/Composer/Util/Platform.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -96,6 +96,12 @@ public static function isTty($fd = null)\n $fd = defined('STDOUT') ? STDOUT : fopen('php://stdout', 'w');\n }\n \n+ // detect msysgit...
PHP
d855986c391745ac6e8bdd7b8c731815289e96ef
281
2021-02-23 15:23:17+01:00
-3,600
['cf2128a889d471106c7960b2f0f5408bfefb75cb']
Also allow backslashes to work on cmd.exe for plain executable paths, fixes #9707
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -265,6 +265,12 @@ protected function doDispatch(Event $event)\n $_SERVER['PHP_BINARY'] = $phpPath;\n ...
PHP
1955f989374b88be6ee9b38feef097c0b2dc6066
281
2021-02-23 16:21:43+01:00
-3,600
['3bb10f2c9b95fb17863862c48c58468ba8628654']
Update target version to 2.1
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -54,7 +54,7 @@\n },\n "extra": {\n "branch-alias": {\n- "dev-master": "2.0-dev"\n+ "dev-master": "2.1-dev"\n }\n },\n "autoload": {\n'}]
PHP
bbd87934e9cd6aeee81e162925f6248c3f0fbd84
281
2021-02-23 20:02:33+01:00
-3,600
['e1570798cd64762cb6dc4897656056aaf82c6c1e']
Make sure we always pass a string to strtoupper
[{'old_path': 'src/Composer/Util/Platform.php', 'new_path': 'src/Composer/Util/Platform.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -98,7 +98,7 @@ public static function isTty($fd = null)\n \n // detect msysgit/mingw and assume this is a tty because detection\n // does not work correctly, se...
PHP
06ef815ec89ab23a3ed06d9d0452a0524bf09d59
281
2021-02-23 20:10:25+01:00
-3,600
['bbd87934e9cd6aeee81e162925f6248c3f0fbd84']
Quote caret to avoid issues with cmd.exe
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -50,7 +50,7 @@ jobs:\n dependencies: highest\n os: ubuntu-latest\n experimental: false\n- - php-version...
PHP
d6d4069b3080de06a909a3bd4ac2be74ac80b052
281
2021-02-23 20:15:00+01:00
-3,600
['06ef815ec89ab23a3ed06d9d0452a0524bf09d59']
Try to fix windows CI again
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -101,7 +101,8 @@ jobs:\n \n - name: "Require latest PHPUnitBridge for PHP 8.x"\n if: "startsWith(matrix.php-version, \'8.\')"\n- ...
PHP
80c24864b65c78f3a0a64a7ade6cab77e95afd07
281
2021-02-23 20:21:55+01:00
-3,600
['7217cf5ecc9c34ec6d59b54c2b636197c49cfc9d']
Fix lock hash for master branch
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,7 +4,7 @@\n "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",\n "This file is @generated automatically"\n ],\n- "content-hash": "9b94ece289...
PHP
e3af4ee606023079d8af222da82a5b6f36ca879f
281
2021-02-24 15:47:06+01:00
-3,600
['c201dc3582033726991d7e5a4a30263a1cf13b7d']
Include stdout as well as stderr if git stash/diff/.. fails, fixes #9720
[{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -519,7 +519,7 @@ protected function discardChanges($path)\n {\n $path = $this->normalizePath($path);\n if (0 !== $this->process->execu...
PHP
8da3b3b9be116f9d3084438d5b33e58acd801240
281
2021-02-24 16:36:20+01:00
-3,600
['09639a0cfc2ccdc65cf4ee04a6d78d6c33d087db']
List relevant conflicts in why/why-not, fixes #9693
[{'old_path': 'src/Composer/Repository/InstalledRepository.php', 'new_path': 'src/Composer/Repository/InstalledRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -165,6 +165,18 @@ public function getDependents($needle, $constraint = null, $invert = false, $rec\n }\n }\n \n+ ...
PHP
91b6ff27ac92a9b9e1b6c96949e9e8db50cddc78
445
2021-02-24 17:21:10+01:00
-3,600
['7c555b6382c983f407b7c918cf932d328436be0e']
Add --format option to `composer fund` command (#9678) * Add --format option to `composer fund` command Co-authored-by: Jochen Roth <jochen.roth@b13.com>
[{'old_path': 'src/Composer/Command/FundCommand.php', 'new_path': 'src/Composer/Command/FundCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,12 +12,14 @@\n \n namespace Composer\\Command;\n \n-use Composer\\Package\\CompletePackageInterface;\n+use Composer\\Json\\JsonFile;\n use Composer\\Package\\Al...
PHP
d0aac44ed210e13ec4a4370908a5b36553a2f16c
281
2021-02-24 21:17:05+01:00
-3,600
['91b6ff27ac92a9b9e1b6c96949e9e8db50cddc78']
Auto-detect dev-mode in autoload-dump and deprecate dump-autoload --no-dev (#9714)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -284,7 +284,7 @@ uninstalled.\n * **--no-scripts:** Skips execution of scripts defined in `composer.json`.\n * **--update-no-dev:** Run the dependency update with the --no-dev option.\n * **--update-with-depend...
PHP
d806013091a4cf7c1ab65dd0beb07a0cb8521617
281
2021-02-25 09:33:58+01:00
-3,600
['d0aac44ed210e13ec4a4370908a5b36553a2f16c']
Add more details when require/init fails to find a matching package due to the platform requirements
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,6 +16,7 @@\n use Composer\\Json\\JsonFile;\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\Package;\n+use Composer\\Package\\PackageInterface;\n ...
PHP
c78850ab987134ed974d1c862bd94e7e81b8b2ae
310
2021-02-25 10:24:09+01:00
-3,600
['d806013091a4cf7c1ab65dd0beb07a0cb8521617']
Show a warning if require key changes for dependency (#9542) Fixes #9516 Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -211,6 +211,29 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $versionParser->parseConstraints($constraint);\n ...
PHP
980eef5b684bf8d71f2ff2049219e1a5b86b494f
281
2021-02-25 10:49:24+01:00
-3,600
['c78850ab987134ed974d1c862bd94e7e81b8b2ae']
Fix InstalledVersions issues in PHPStan by including the local file first
[{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -29,6 +29,9 @@ parameters:\n - '~^Call to an undefined static method Composer\\\\Test\\\\PolyfillTestCase::setExpectedException\\(\\)\\.$~'\n - '~^Call to an undefined method Compose...
PHP
a5fecc4720798b87bc9a8ee2d337d4f39ce93c52
36
2021-02-25 11:15:28+01:00
-3,600
['980eef5b684bf8d71f2ff2049219e1a5b86b494f']
Filesystem: added removeDirectoryAsync() and use it in ArchiveDownloader (#9618) This turns half of the `rm -rf ...` executions during package installs async and therefore improves performance
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -139,9 +139,11 @@ public function install(PackageInterface $package, $path, $output = true)\n }\n }\n \n- $...
PHP
67261e8d4707eacf759782429c97f257d0f0d940
281
2021-02-25 11:19:33+01:00
-3,600
['a5fecc4720798b87bc9a8ee2d337d4f39ce93c52']
Make package removals async as well, refs #9618
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -380,9 +380,13 @@ public function remove(PackageInterface $package, $path, $output = true)\n if ($output) {\n $this->io->writeError(...
PHP
98093507539b21e71d378e426b36a93f6ff6b0e1
281
2021-02-25 11:37:19+01:00
-3,600
['46dde9453b684863a1818c29364af32b9c7e71ec']
Fix PathDownloader's remove implementation
[{'old_path': 'src/Composer/Downloader/PathDownloader.php', 'new_path': 'src/Composer/Downloader/PathDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -196,7 +196,7 @@ public function remove(PackageInterface $package, $path, $output = true)\n $this->io->writeError(" - " . UninstallOper...
PHP
b3951b88042e03871131f1bbc846eadb9dea1d78
281
2021-02-25 12:03:09+01:00
-3,600
['98093507539b21e71d378e426b36a93f6ff6b0e1']
Fix output of FileDownloader and related to avoid async issues
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -34,9 +34,7 @@ abstract class ArchiveDownloader extends FileDownloader\n public function install(PackageInterface $package, $path, $output = t...
PHP
48d02b479bdf5df29836a8b923baa9df4c05270b
281
2021-02-25 13:20:29+01:00
-3,600
['fd88b3d48ddd3cc9fbd67e9f27e964ab617270d0']
Fix output of PathDownloader during upgrades
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -366,7 +366,6 @@ public function update(PackageInterface $initial, PackageInterface $target, $pat\n \n return $promise->then(function () use ($s...
PHP
ed1fe28ab2a5dcf6213e2a592a1073f3167f2904
281
2021-02-25 16:54:26+01:00
-3,600
['40800df6bd6f42c64860c08befe6fe8c0b745d8c']
Add --format to fund command docs
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -480,7 +480,12 @@ If you only want a list of suggested package names, use `--list`.\n ## fund\n \n Discover how to help fund the maintenance of your dependencies. This lists\n-all funding links from the install...
PHP
4851f65318caefb73f80d7e029e262d94bf2ec52
281
2021-02-25 19:54:15+01:00
-3,600
['ed1fe28ab2a5dcf6213e2a592a1073f3167f2904']
Remove version argument from why and enforce it for why-not command, refs #9693
[{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -25,9 +25,7 @@\n use Composer\\Plugin\\PluginEvents;\n use Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle;\n use Composer\\Package...
PHP
dfc69140fe720b169b978b18b7863611cc0d8077
303
2021-02-26 16:26:47+01:00
0
['41e329a458d2c5c775f4850834807d45604a3f9a']
Fix compiler on Windows (#9730)
[{'old_path': 'src/Composer/Compiler.php', 'new_path': 'src/Composer/Compiler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -135,7 +135,7 @@ public function compile($pharFile = 'composer.phar')\n foreach ($finder as $file) {\n if (in_array(realpath($file), $extraFiles, true)) {\n ...
PHP
07f59a91624611b3c91477d2a1e6f6a2ce45aa5e
303
2021-03-05 19:57:47+01:00
0
['e3af4ee606023079d8af222da82a5b6f36ca879f']
Preserve file permissions on Windows self-update (#9733) Windows file operations result in different file permissions depending if the file is copied or moved. A copy operation applies permissions from the destination folder (or file if it already exists and does not use inheritance), while a move operation general...
[{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -425,7 +425,14 @@ protected function setLocalPhar($localFilename, $newFilename, $backupTarget = nu\n }\n \n try {\n+ if (Plat...
PHP
4f47a4c6679f6cedada38704f35f725bb8f5511d
303
2021-03-05 20:05:36+01:00
0
['07f59a91624611b3c91477d2a1e6f6a2ce45aa5e']
Proxy handling docs and tweaks (#9735)
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -183,7 +183,6 @@ private function initDownload($resolve, $reject, $origin, $url, $options, $copyT\n }\n \n $options['http']['header'] = $t...
PHP
0879e80d56f5a0f5df63f5f3dc2b133aeaf52083
281
2021-03-09 09:54:06+01:00
-3,600
['4f47a4c6679f6cedada38704f35f725bb8f5511d']
Fix functional tests to use the same PHP version as PHPUnit runs with
[{'old_path': 'tests/Composer/Test/AllFunctionalTest.php', 'new_path': 'tests/Composer/Test/AllFunctionalTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -78,7 +78,7 @@ public function testBuildPhar()\n }\n }\n \n- $proc = new Process('php -dphar.readonly=0 '.escapeshellarg('./bin...
PHP
bcd862c3dcc6c834bcd2a52b9b40fc1605adc057
281
2021-03-09 10:38:46+01:00
-3,600
['d0b399b78850bc21fed0b636e93810adf3ac07f0']
Add support for @php <abs path to binary from PATH>, fixes #9726
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,6 +26,7 @@\n use Composer\\Script\\Event as ScriptEvent;\n use Composer\\ClassLoader;\n use Symfony\\Component\\Process\\PhpExecutableFi...
PHP
b451bcb1ac28a5741d170b3a56b5d6519976a823
281
2021-03-09 11:53:52+01:00
-3,600
['0879e80d56f5a0f5df63f5f3dc2b133aeaf52083']
Fix issue extracting archives into paths that already exist, fixes composer/installers#479
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -109,6 +109,34 @@ public function install(PackageInterface $package, $path, $output = true)\n \n return iterator_to_array($finder)...
PHP
e9d405ff18f33da06e858c9e09c6faccf6390d9a
281
2021-03-09 12:08:38+01:00
-3,600
['b451bcb1ac28a5741d170b3a56b5d6519976a823']
Avoid using str_replace for dev-master replacement as that may be a valid part of a branch name, fixes #9739
[{'old_path': 'src/Composer/Package/Version/VersionParser.php', 'new_path': 'src/Composer/Package/Version/VersionParser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -76,8 +76,12 @@ public static function isUpgrade($normalizedFrom, $normalizedTo)\n return true;\n }\n \n- $normalized...
PHP
4bedd8379a5cc3e9e3e02b31ec70d1279a2b7bc4
281
2021-03-09 14:12:32+01:00
-3,600
['e9d405ff18f33da06e858c9e09c6faccf6390d9a']
Fix php-proxying of binaries to avoid proxying phar files, fixes #9742
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -192,7 +192,11 @@ protected function generateUnixyProxyCode($bin, $link)\n $binFile = basename($binPath);\n \n $binContents = file_get_c...
PHP
4a8e7daf568c38d97fafbc194c265a3a72167b61
281
2021-03-09 14:13:19+01:00
-3,600
['4bedd8379a5cc3e9e3e02b31ec70d1279a2b7bc4']
Make sure that single files installed via file downloader get the executable bit set if they are a binary file, refs #9742
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -27,6 +27,7 @@\n use Composer\\Plugin\\PreFileDownloadEvent;\n use Composer\\EventDispatcher\\EventDispatcher;\n use Composer\\Util\\Filesystem;\n+use C...
PHP
ab84916422fcfa565b5e6edb5d257c470ecc470a
281
2021-03-09 15:01:23+01:00
-3,600
['de8a73701546a3a9e75ddda0c8a863f0e284cd6d']
Fix unclear error when a package can be found in lock but not in the remote repo, fixes #9750
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -268,7 +268,7 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n });\n \n if (!$nonLockedPa...
PHP
06003f4da686acbf2df237cd77985516339242b6
281
2021-03-09 15:27:35+01:00
-3,600
['812207c823ca0c01c7ccf11f6e003d6918daecb8']
Update release step to use php8 as it produces slightly different output wrt white-space, fixes #9746
[{'old_path': '.github/workflows/release.yml', 'new_path': '.github/workflows/release.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,7 +22,7 @@ jobs:\n coverage: "none"\n extensions: "intl"\n ini-values: "memory_limit=-1"\n- php-version: "7.4"\n+ php-version:...
PHP
4940009f8377d06b9fb48df0cbe67193e0989830
281
2021-03-09 15:49:40+01:00
-3,600
['8392508e23d50f12212947d1749ec4c4c0353826']
Bump phpstan to level 3 (#9734) Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
[{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -52,5 +52,5 @@ jobs:\n - name: Run PHPStan\n # Locked to phpunit 7.5 here as newer ones have void return types which break inheritance\n run: |\n- ...
PHP
dc83ba93f3d8a35629f9a387632e8cd373a144d0
143
2021-03-09 17:17:35+01:00
-25,200
['06003f4da686acbf2df237cd77985516339242b6']
Update GitHub token pattern GitHub is updating the format of auth tokens from `a-z0-9` to `A-Za-z0-9` ([notice](https://github.blog/changelog/2021-03-04-authentication-token-format-updates/)). I'm not sure why `.` is allowed, but I dare not to remove it. In this PR, the token validation regex is updated to allow `A-Za...
[{'old_path': 'src/Composer/IO/BaseIO.php', 'new_path': 'src/Composer/IO/BaseIO.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -125,7 +125,7 @@ public function loadConfiguration(Config $config)\n }\n \n foreach ($githubOauth as $domain => $token) {\n- if (!preg_match(\'{^[.a-z0-9]+$}...
PHP
54889ca1092e387418f917bcf520ef23d415e8a0
281
2021-03-09 21:37:43+01:00
-3,600
['dc83ba93f3d8a35629f9a387632e8cd373a144d0']
Document GH token usage and also make sure we redact them in Process debug output, refs #9757
[{'old_path': 'src/Composer/IO/BaseIO.php', 'new_path': 'src/Composer/IO/BaseIO.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -125,6 +125,8 @@ public function loadConfiguration(Config $config)\n }\n \n foreach ($githubOauth as $domain => $token) {\n+ // allowed chars for GH tokens a...
PHP
8f315551d4eaeb2d1f580aaabb5f3673867150c5
300
2021-03-09 21:49:54+01:00
-3,600
['4940009f8377d06b9fb48df0cbe67193e0989830']
Remove output "summary" from fund command. Fund does not provide this type of format. (#9748)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -485,7 +485,7 @@ get machine-readable output.\n \n ### Options\n \n-* **--format:** Format of the output: text, json or summary (default: "text")\n+* **--format (-f):** Lets you pick between text (default) or j...
PHP
17747181d08e93d6ba783161919a0a9068ed55ef
281
2021-03-09 23:00:17+01:00
-3,600
['c81562b3430284c43f441d914c869f6191a52932']
Clarify behavior of name in VCS repo, closes #9752
[{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -247,7 +247,7 @@ protected function initialize()\n continue;\n }\n \n- $tagPackageName = isset($data['n...
PHP
35210d99a96e919f03d78e3fb65f1693901e1592
300
2021-03-09 23:06:02+01:00
-3,600
['8f315551d4eaeb2d1f580aaabb5f3673867150c5']
Add --format json to search command (#9747) Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -359,6 +359,11 @@ You can also search for more than one term by passing multiple arguments.\n \n * **--only-name (-N):** Search only in name.\n * **--type (-t):** Search for a specific package type.\n+* **--for...
PHP
414586ba0509b925fef9e8e5b3427cb2850996c4
281
2021-03-10 10:45:40+01:00
-3,600
['17747181d08e93d6ba783161919a0a9068ed55ef']
Attempt working around Vagrant filesystem issues, added COMPOSER_RUNTIME_ENV env var (set to vagrant), fixes #9627
[{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,6 +26,7 @@\n use Composer\\DependencyResolver\\Operation\\MarkAliasUninstalledOperation;\n use Composer\\EventDispatcher\\EventDispatcher;\n...
PHP
5d6f9b25284024aa128a207963d7cb5cc4528855
281
2021-03-10 10:52:16+01:00
-3,600
['b40b93bc7d57bb242bbb96280c293c061b3bde68']
Prefer @phpstan- annotations as that is what we run against
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -46,12 +46,12 @@ class PoolBuilder\n private $stabilityFlags;\n /**\n * @var array[]\n- * @psalm-var array<string, array<stri...
PHP
f10ae542ff43c804ff8d485c4969c9b9051ba8e9
281
2021-03-10 14:26:42+01:00
-3,600
['346356a4dd62967f1b4df6a91a562a1cb9078cfc']
Always mark symlinked path packages for update even during partial updates to make sure they always reflect the current state on disk, fixes #9751
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -441,6 +441,16 @@ private function isRootRequire(Request $request, $name)\n */\n private function isUpdateAllowed(PackageInterface $p...
PHP
44bb82b50f7d6920c43ea705ae94dbc6498176b0
281
2021-03-10 14:37:00+01:00
-3,600
['414586ba0509b925fef9e8e5b3427cb2850996c4']
Make full functional test output more reliable
[{'old_path': 'tests/Composer/Test/Fixtures/functional/installed-versions/Hooks.php', 'new_path': 'tests/Composer/Test/Fixtures/functional/installed-versions/Hooks.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,13 +8,13 @@ class Hooks\n {\n public static function preUpdate(Event $event)\n {\n- ...
PHP
76524088298f3e31a5f68a5c04d851e26b990c0d
160
2021-03-12 00:18:41+01:00
28,800
['44bb82b50f7d6920c43ea705ae94dbc6498176b0']
Only call sapi_windows_set_ctrl_handler() for CLI requests (#9771)
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -405,7 +405,7 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n }\n }\n // handler...
PHP
2f4b99eacdb3172d6a7ef33c3c14a3c61376abd0
242
2021-03-15 13:35:16+01:00
0
['76524088298f3e31a5f68a5c04d851e26b990c0d']
MaxFileSizeException should reject download job (#9778)
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -225,6 +225,10 @@ public function download(PackageInterface $package, $path, PackageInterface $pre\n throw $e;\n }\n \n+ ...
PHP
3b89a9c3b4e57e00cc862cb98bd257f427cf3ff4
281
2021-03-16 20:31:18+01:00
-3,600
['2f4b99eacdb3172d6a7ef33c3c14a3c61376abd0']
Also attempt working around Vagrant filesystem issues when installing plugins initially, refs #9627
[{'old_path': 'src/Composer/Installer/PluginInstaller.php', 'new_path': 'src/Composer/Installer/PluginInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -76,6 +76,7 @@ public function install(InstalledRepositoryInterface $repo, PackageInterface $pa\n \n return $promise->then(function () use ($sel...
PHP
63c086c208542db8d8846c01dbc6bb367de83a60
281
2021-03-16 20:31:19+01:00
-3,600
['3b89a9c3b4e57e00cc862cb98bd257f427cf3ff4']
Add source package name to debug info when enabling plugins
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -229,7 +229,7 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n $this->registeredPlugins[$package->getName()] ...
PHP
ecc8331312e4850c5f569a8cedc46827dc84bdff
519
2021-03-27 13:23:46+01:00
-10,800
['bf73a20bc032302bbada3ae635ff0d40ea6d3d41']
Add dev mode env var for scripts run (#9793) Co-authored-by: Vitali Tsyrkin <vitalit@playtika.com>
[{'old_path': 'src/Composer/Command/RunScriptCommand.php', 'new_path': 'src/Composer/Command/RunScriptCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -103,6 +103,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n ProcessExecutor::setTimeout((int) $timeout);\n ...
PHP
cc55b56dd70f260b14035e7c7f91078d5e7674dd
157
2021-03-30 16:51:03+03:00
-10,800
['b6826f352390b4c952be8fd75d60cfd4f6f39f11']
Allow optional name and description fields for project type
[{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,7 +3,26 @@\n "name": "Package",\n "type": "object",\n "additionalProperties": false,\n- "required": [ "name", "description" ],\n+ "oneOf": [\n+ {\n+ ...
PHP
96acad1e45555380a8ca90767b3bc00a2f44bf4f
281
2021-04-01 09:13:32+02:00
-7,200
['54889ca1092e387418f917bcf520ef23d415e8a0']
Update github token pattern to match their latest updates
[{'old_path': 'src/Composer/Util/ProcessExecutor.php', 'new_path': 'src/Composer/Util/ProcessExecutor.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -45,8 +45,8 @@ public function execute($command, &$output = null, $cwd = null)\n {\n if ($this->io && $this->io->isDebug()) {\n $safeComma...
PHP
53a974f9c9f56dce6f9f237fb5c20da0cff5066e
281
2021-04-01 09:48:07+02:00
-7,200
['836ca051d3f6fe7357577fe3346650936a2e1643']
Tweak virtualbox detection and improve it by detecting vbox additions, refs #9627
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -998,6 +998,15 @@ cannot be guessed from VCS info and is not present in `composer.json`.\n By setting this var you can make Composer install the dependencies into a\n directory other than `vendor`.\n \n+### COM...
PHP
dc84dbbbf708920a0b42b5c0b6699c964d8286df
281
2021-04-01 10:09:49+02:00
-7,200
['7b8a15d648424fd15ecb69b43531486b884b5ce2']
Fixed detection of hg version when localized, fixes #9753
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,6 +8,7 @@\n * Fixed issue extracting archives into paths that already exist, fixing problems with some custom installers (composer/installers#479)\n * Fixed support for branch names starting with master/tr...
PHP
18e268556dcdadff3d9cd5ed9290fa7d647efb07
281
2021-04-01 10:14:21+02:00
-7,200
['dc84dbbbf708920a0b42b5c0b6699c964d8286df']
Fix type warning on php8.1, refs #9770
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -343,7 +343,9 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n }\n \n if (null === $stability...
PHP
c3ae317a714e4d7e6f314885aa28a6791399fd57
281
2021-04-02 13:34:50+02:00
-7,200
['18e268556dcdadff3d9cd5ed9290fa7d647efb07']
Support --no-dev combined with --locked in outdated/show commands, fixes #9788
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -196,7 +196,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n throw new \\UnexpectedValueException('A valid composer...
PHP
f5e6cc89cd8d45c99cff77ee80d0f324ada45686
281
2021-04-07 13:23:34+02:00
-7,200
['7ae3fbb81d2eb4a42f9594df134b1ab8ad7944de']
Deprecate InstalledVersions::getRawData in favor of getAllRawData
[{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -201,14 +201,28 @@ public static function getRootPackage()\n /**\n * Returns the raw installed.php data for custom implementations\n *\n+ * @deprecate...
PHP
1179e4b4814023f90ea9d4519bc9d99e34983ebe
281
2021-04-07 13:42:22+02:00
-7,200
['cb2db166371fcf8ea0051d007defbd343fc4db83']
Change root.dev-requirement to root.dev in installed.php as the root is not required per se, and this simply tracks the dev mode at install time
[{'old_path': 'src/Composer/InstalledVersions.php', 'new_path': 'src/Composer/InstalledVersions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -189,7 +189,7 @@ public static function getReference($packageName)\n \n /**\n * @return array\n- * @psalm-return array{name: string, version: string, refer...
PHP
29befaa94b4960bf23b34b4126cc417d81347458
99
2021-04-07 15:56:15+02:00
14,400
['52a452c88525d17db0b30c84fb65df5b4386b1b1']
Make ComposerRepository::configurePackageTransportOptions() protected. (#9818)
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -508,7 +508,7 @@ private function getProviderNames()\n return array();\n }\n \n- private function configurePackageTransportOption...
PHP
ddc3693725e9b202aa958ee1ab1b98cb95bc1b68
281
2021-04-07 15:56:34+02:00
-7,200
['cf69f3194a336a099fc03e0cd8bd997ad0dfd3e5']
Switch to composer/metadata-minifier, fixes #9727
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,6 +24,7 @@\n "require": {\n "php": "^5.3.2 || ^7.0 || ^8.0",\n "composer/ca-bundle": "^1.0",\n+ "composer/metadata-minifier": "^1.0",\n "composer/semver": "^3.0",\n ...
PHP
3e33cc1d93924628bb92db17fe38439a709e6a8f
281
2021-04-07 16:02:41+02:00
-7,200
['ddc3693725e9b202aa958ee1ab1b98cb95bc1b68']
Add new dep to the tests
[{'old_path': 'tests/Composer/Test/Fixtures/functional/installed-versions.test', 'new_path': 'tests/Composer/Test/Fixtures/functional/installed-versions.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,7 +8,7 @@ Checks that package versions in InstalledVersions are correct on initial install\n update\n --EXP...
PHP
f13282e555f1c0aa32e791923b76e16b3f42f04f
281
2021-04-07 16:04:42+02:00
-7,200
['a4eb2d4096e14c3ce37b801331769ff9791bb279']
Change default preferred-install to dist, add --prefer-install=auto|dist|source to allow specifying auto (#9603) Fixes #9546 Fixes #9674
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -84,17 +84,14 @@ resolution.\n \n ### Options\n \n-* **--prefer-source:** There are two ways of downloading a package: `source`\n- and `dist`. For stable versions Composer will use the `dist` by default.\n- T...
PHP
d519fb8a5355405f338c2efa27bad64644906643
281
2021-04-08 10:40:55+02:00
-7,200
['3e33cc1d93924628bb92db17fe38439a709e6a8f']
Add warning when loading plugins of type composer-installer as they are unlikely to function correctly and should be upgraded to the composer-plugin type
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -224,6 +224,7 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n }\n \n if ($oldInstallerPlugin) {\n+ ...
PHP
0ab4013788b4795b618f0fe7fddd06bf65b862d7
281
2021-04-08 10:55:48+02:00
-7,200
['d519fb8a5355405f338c2efa27bad64644906643']
Fix output listing some updates that do not really happen when updating mirrors/--lock, fixes #9812
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -446,6 +446,15 @@ protected function doUpdate(InstalledRepositoryInterface $localRepo, $doInstall)\n $installsUpdates[] = $operation;\n $install...
PHP
e6cede4a6142d7df38282395e112ffa590270db1
281
2021-04-08 11:54:39+02:00
-7,200
['0ab4013788b4795b618f0fe7fddd06bf65b862d7']
Make sure update mirrors/--lock keeps the release date of the original reference when dev versions have newer commits, refs #9812
[{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -93,13 +93,14 @@ public function getNewLockPackages($devMode, $updateMirrors = false)\n // we do not reset references ...
PHP
df0a2cdd0aa61ccd50c5fcd4bea7f495a8118554
99
2021-04-08 11:08:13-04:00
14,400
['de112c519e5ec0610c42a82654e7aeae9640c608']
Fire POST_FILE_DOWNLOAD event for metadata fetched by ComposerRepository.
[{'old_path': 'src/Composer/Plugin/PostFileDownloadEvent.php', 'new_path': 'src/Composer/Plugin/PostFileDownloadEvent.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -38,32 +38,41 @@ class PostFileDownloadEvent extends Event\n private $url;\n \n /**\n- * @var \\Composer\\Package\\PackageInterface\n+...
PHP
7dd95a768bc1dd8c6f296ee0081f41ffa1444bbe
281
2021-04-09 11:21:13+02:00
-7,200
['df0a2cdd0aa61ccd50c5fcd4bea7f495a8118554']
Clean stuff up and deprecate old usages for PostFileDownloadEvent
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -192,7 +192,7 @@ public function download(PackageInterface $package, $path, PackageInterface $pre\n }\n \n if ($eventDis...
PHP
9a9c738f2383dc8881b6ee6f8b0db975202dafcc
281
2021-04-09 11:21:14+02:00
-7,200
['7dd95a768bc1dd8c6f296ee0081f41ffa1444bbe']
Add repository instance to Pre/PostFileDownloadEvent metadata
[{'old_path': 'src/Composer/Plugin/PostFileDownloadEvent.php', 'new_path': 'src/Composer/Plugin/PostFileDownloadEvent.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -109,7 +109,7 @@ public function getUrl()\n * Returns the context of this download, if any.\n *\n * If this download is of type pac...
PHP
7c602d880743f4b3c9145815662c78d1c310fd0e
345
2021-04-11 13:30:35+02:00
-7,200
['d75d79b452f623fd54bf8f8e32a4e14de4629b3b']
Added link to composer.org docs on ProcessTimedOutException (#9796)
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -33,6 +33,7 @@\n use Composer\\Util\\HttpDownloader;\n use Composer\\EventDispatcher\\ScriptExecutionException;\n use Composer\\Exception\\NoSslException;\n+use Sym...
PHP
180ba49f33401cf185e68d07d684e40903a88a31
99
2021-04-11 13:59:18+02:00
14,400
['7c602d880743f4b3c9145815662c78d1c310fd0e']
ComposerRepository::asyncFetchFile() does not pass the downloaded URL to PostFileDownloadEvent (#9827)
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1291,7 +1291,7 @@ private function asyncFetchFile($filename, $cacheKey, $lastModifiedTime = null)\n }\n \n if ($eventDi...
PHP
c3b76a85329c60220588e861eee02c2d0150c5ce
303
2021-04-13 09:59:06+02:00
-3,600
['180ba49f33401cf185e68d07d684e40903a88a31']
Upgrade to xdebug-handler 2 (#9832) This adds support for Xdebug3 modes and changes the default behaviour from always restarting if Xdebug is loaded, to only restarting if Xdebug is active. Xdebug is considered active if it is loaded, and for Xdebug3, if it is running in a mode other than `xdebug.mode=off`.
[{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,7 +14,7 @@ use Composer\\XdebugHandler\\XdebugHandler;\n error_reporting(-1);\n \n // Restart without Xdebug\n-$xdebug = new XdebugHandler('Composer', '--ansi');\n+$xdebug = new XdebugHandler('Composer');\n $...
PHP
53a4725dbef775a7d6c0e375d8962934354b12e2
281
2021-04-18 23:10:17+02:00
-7,200
['e1b8722bfa195c6fcb4a2e342b8eac9847d835db']
Fix source links, fixes #9836
[{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -177,15 +177,15 @@ Depending on the [script types](#event-names) you will get various event\n subclasses containing various getters with relevant data and associated\n objects:\n \n-- Base c...
PHP
e291aa1d12cf7dc5c50be7c1c7219998745382e1
99
2021-04-19 13:55:52+02:00
14,400
['c3b76a85329c60220588e861eee02c2d0150c5ce']
Allow PreFileDownloadEvent to carry transport options for metadata (#9831)
[{'old_path': 'src/Composer/Plugin/PreFileDownloadEvent.php', 'new_path': 'src/Composer/Plugin/PreFileDownloadEvent.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,6 +47,11 @@ class PreFileDownloadEvent extends Event\n */\n private $context;\n \n+ /**\n+ * @var array\n+ */\n+ private ...
PHP
bb1bb022e4625291a6be5b985b53cf6177ba6b71
188
2021-04-20 21:58:38+02:00
-7,200
['e291aa1d12cf7dc5c50be7c1c7219998745382e1']
"composer init --autoload" - Interactive generates PSR-4 autoloader in composer.json (#9829) - Generates PSR-4 autoload entry in composer.json. - Run dump-autoload, if no dependencies are set
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -65,6 +65,7 @@ php composer.phar init\n the list of requires. Every repository can be either an HTTP URL pointing\n to a `composer` repository or a JSON string which similar to what the\n [repositories](0...
PHP
99d8e0ad09a5091a1e906c35225bb3372207f6f1
281
2021-04-20 22:00:01+02:00
-7,200
['53a4725dbef775a7d6c0e375d8962934354b12e2']
Fix install step at the end of init command
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -157,7 +157,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n $question = 'Would you like to install dependencies now [<c...
PHP
2a50a9400f0525d9b16f367fa71856479bfee259
281
2021-04-20 22:04:28+02:00
-7,200
['9ed241c8093d174269e33ecd241a081a0f4f7bee']
Fix install step at the end of init command
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -157,7 +157,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n $question = 'Would you like to install dependencies now [<c...
PHP
832f4007d651edd9d74e46fb5ff45797ffe67edd
281
2021-04-30 09:40:58+02:00
-7,200
['832af78e284b23a8f43914b2571fb4c48a7b108a']
Allow ints in source/dist reference
[{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -323,8 +323,8 @@ public function load(array $config, $class = \'Composer\\Package\\CompletePackage\')\n if (!is_st...
PHP
4842f213a1e1eee0502d5afb98ef37ff2463c562
281
2021-04-30 10:07:28+02:00
-7,200
['832f4007d651edd9d74e46fb5ff45797ffe67edd']
Also make sure type is correct for preg_match
[{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -326,7 +326,7 @@ public function load(array $config, $class = \'Composer\\Package\\CompletePackage\')\n if (isset(...
PHP
bfea0f7d1e991f237ccf448b0a0d24ede02d923a
36
2021-05-02 16:50:42+02:00
-7,200
['4842f213a1e1eee0502d5afb98ef37ff2463c562']
BinaryInstaller: install full binaries on WSL when bin-compat=auto (#9855)
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -82,7 +82,7 @@ public function installBinaries(PackageInterface $package, $installPath, $warnOn\n }\n \n if ($this->binCompat ==...
PHP
9b7a8d4543d1b8d9df818f996dc8316963224ded
281
2021-05-03 14:42:58+02:00
-7,200
['4842f213a1e1eee0502d5afb98ef37ff2463c562']
Hint at a branch rename if we detect dev-master can not be found but dev-main or dev-default exists, fixes #9850
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -291,7 +291,17 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n return self::computeCheckForLower...
PHP
298246dccbf0e934fb2722d1e1e9f809ce9428f9
281
2021-05-03 14:42:59+02:00
-7,200
['9b7a8d4543d1b8d9df818f996dc8316963224ded']
Also condense dev-* versions if there are many, refs #9850
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -362,7 +362,7 @@ public static function getPackageList(array $packages, $isVerbose)\n * @param string[] $versions an array of pretty version...
PHP
338017879877f293b9c78603aa7471b12d92860b
281
2021-05-04 13:25:52+02:00
-7,200
['bfea0f7d1e991f237ccf448b0a0d24ede02d923a']
Introduce a cross-platform safe version of is_readable to support UNC / wsl$ paths on Windows (#9861)
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -346,7 +346,7 @@ public static function autoload(\\$class)\n $classmapFile .= ");\\n";\n \n if (!$suffix) {\n- if (!$config...
PHP
a844fce23ecfd197d890a2651e2e15239b58b8f8
281
2021-05-04 14:14:57+02:00
-7,200
['a677d3e9a46428a5b7040ef6f598c56b64412adf']
Fix handling of inline-update-constraints with refs or stability flags, fixes #9847
[{'old_path': 'src/Composer/Command/UpdateCommand.php', 'new_path': 'src/Composer/Command/UpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,6 +16,7 @@\n use Composer\\DependencyResolver\\Request;\n use Composer\\Installer;\n use Composer\\IO\\IOInterface;\n+use Composer\\Package\\Loader\\RootPac...
PHP
6b7f7959564dc28db483997f59ba7210beb0e202
499
2021-05-04 16:05:05+02:00
25,200
['a04202aa7d43e6701a68e759bc491b56007e50d8']
Link to GitLab documentation for auth (#9833) Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': 'doc/articles/authentication-for-private-packages.md', 'new_path': 'doc/articles/authentication-for-private-packages.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -223,6 +223,9 @@ composer config [--global] --editor --auth\n > **Note:** For the gitlab authentication to work on private gitlab inst...
PHP
37f4f531d0c99cb224076d2ae22490a2bba978b8
281
2021-05-04 16:18:38+02:00
-7,200
['a844fce23ecfd197d890a2651e2e15239b58b8f8']
Avoid leaving the event stack in a dirty state if an event listener throws, fixes #9846
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -157,6 +157,7 @@ protected function doDispatch(Event $event)\n \n $this->pushEvent($event);\n \n+ try {\n $return...
PHP
649087d6de158dc4da73a06c7759dec5932be5a5
281
2021-05-04 16:47:54+02:00
-7,200
['22cc96682dbf0f0308dc02e752cfbbabed0f5286']
Fix type issues with root package interface
[{'old_path': 'src/Composer/Command/UpdateCommand.php', 'new_path': 'src/Composer/Command/UpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -17,7 +17,6 @@\n use Composer\\Installer;\n use Composer\\IO\\IOInterface;\n use Composer\\Package\\Loader\\RootPackageLoader;\n-use Composer\\Package\\RootPack...
PHP
d56387edb7bbeb6dd67394d2f2c7dc199d50cde7
281
2021-05-10 13:14:08+02:00
-7,200
['b268e20d9fa9e9e4d058bc3ca7eff7ec5e5ff611']
Also handle throwable on supported php versions
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -295,7 +295,11 @@ protected function doDispatch(Event $event)\n break;\n }\n }\n- } c...
PHP
5456cf81971b897ee82f75e82d2bcc3ad0bc6b84
386
2021-05-12 15:19:52+02:00
-7,200
['0021758e0bcf964237a56cb22e2f0309118b6a3f']
Fix EOL of text files (#9877)
[]
PHP
459a7d96235527d7cad9ab79ea45efb2982b9232
281
2021-05-17 14:36:46+02:00
-7,200
['0021758e0bcf964237a56cb22e2f0309118b6a3f']
Use a simpler suggested require version of * to keep things simple for extensions which are versioned like PHP, fixes #9483
[{'old_path': 'src/Composer/Package/Version/VersionSelector.php', 'new_path': 'src/Composer/Package/Version/VersionSelector.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -153,6 +153,16 @@ public function findBestCandidate($packageName, $targetPackageVersion = null, $p\n */\n public function findRecom...
PHP
cc7c6e569b6b62a94a75d449e725f13bf1e8fe58
73
2021-05-17 22:18:06+02:00
-7,200
['aa2e7c387a750a3792edf7f55d1f2482674b1bb8']
Make a note about lower casing of package names (#9883)
[{'old_path': 'doc/02-libraries.md', 'new_path': 'doc/02-libraries.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,8 +26,8 @@ In this case the project name is `acme/hello-world`, where `acme` is the vendor\n name. Supplying a vendor name is mandatory.\n \n > **Note:** If you don't know what to use as a vendo...
PHP
dd54f295fe859dd76e330994d54a86570f0dc89d
281
2021-05-17 22:34:32+02:00
-7,200
['d56387edb7bbeb6dd67394d2f2c7dc199d50cde7']
Fix progress output, and remove progress bar on CI env, fixes #9621, closes #9880
[{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -451,12 +451,22 @@ private function executeBatch(RepositoryInterface $repo, array $operations, arra\n private function waitOnPromises(array ...
PHP
c4ed9f5566c17f5d65750c0eb60d6fe29332429b
281
2021-05-19 15:24:01+02:00
-7,200
['5bf614a7625c40db6330d42863a2a61d7aadb5b6']
Update community section of readme
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,11 +22,10 @@ Find packages on [Packagist](https://packagist.org).\n Community\n ---------\n \n-IRC channels are on irc.freenode.org: [#composer](irc://irc.freenode.org/composer)\n-for users and [#composer-dev](irc:...
PHP
68f86be7269c7d6286fe837aa65cd713520d3e2f
294
2021-05-20 09:42:21+02:00
-7,200
['dd54f295fe859dd76e330994d54a86570f0dc89d']
Allow Symfony 6.0 (#9896)
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,14 +32,14 @@\n "psr/log": "^1.0",\n "seld/jsonlint": "^1.4",\n "seld/phar-utils": "^1.0",\n- "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0",\n- "symfony/filesy...
PHP
9ba042ded8b26230d33ebceb692bf29111d51ba4
281
2021-05-20 10:17:30+02:00
-7,200
['c4ed9f5566c17f5d65750c0eb60d6fe29332429b']
Add Platform-PHP version to user-agent header to improve targetted-php stats (#9873)
[{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -33,6 +33,11 @@ class PlatformRepository extends ArrayRepository\n {\n const PLATFORM_PACKAGE_REGEX = '{^(?:php(?:-64bit|-ipv6|-zts|-debug)?...
PHP
8427b6c8ed335a09a7b03e8ee45bd12c788135ad
281
2021-05-20 13:27:20+02:00
-7,200
['68f86be7269c7d6286fe837aa65cd713520d3e2f']
Also make sure filesystem is up to date before generating binary links, refs #9627
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -53,6 +53,9 @@ public function installBinaries(PackageInterface $package, $installPath, $warnOn\n if (!$binaries) {\n return;\n ...
PHP
251b852fd24cd88feb98020acf3c139bc44e01a6
281
2021-05-20 14:15:14+02:00
-7,200
['8427b6c8ed335a09a7b03e8ee45bd12c788135ad']
Make sure async processes fail the promise if they fail to start, fixes #9808
[{'old_path': 'src/Composer/Util/ProcessExecutor.php', 'new_path': 'src/Composer/Util/ProcessExecutor.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -250,16 +250,32 @@ private function startJob($id)\n throw new \\RuntimeException('The given CWD for the process does not exist: '.$cwd);\n }\n...
PHP
ac49e619310dad9abbb1823afadad27198a71ced
281
2021-05-20 15:41:56+02:00
-7,200
['cc55b56dd70f260b14035e7c7f91078d5e7674dd']
Add more tests Co-authored-by: Guilliam Xavier <guilliamxavier@users.noreply.github.com>
[{'old_path': 'tests/Composer/Test/Json/ComposerSchemaTest.php', 'new_path': 'tests/Composer/Test/Json/ComposerSchemaTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -42,6 +42,9 @@ public function testRequiredProperties()\n $json = \'{ }\';\n $result = $this->check($json);\n $this->a...
PHP
458bd41d8fe8df7e3da7dad8cfd09ea4dfc0d3cd
281
2021-05-20 16:11:51+02:00
-7,200
['89c3045e2b437dd04d52394d0989ee4c07d7f16c']
Update docs and add more helpful output to validate command, refs #9782
[{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -94,7 +94,9 @@ Out of the box, Composer supports four types:\n CMSs like the [SilverStripe installer](https://github.com/silverstripe/silverstripe-installer)\n or full fledged applications distributed...
PHP
8a3f4a84000485734b6e3e269480a8a1a8ab55a8
281
2021-05-20 16:27:58+02:00
-7,200
['458bd41d8fe8df7e3da7dad8cfd09ea4dfc0d3cd']
Add secure-svn-domains config option to mark secure svn:// hostnames, fixes #9872
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -345,4 +345,12 @@ Defaults to `php-only` which only checks the PHP version. Set to `true` to also\n check the presence of extension. If set to `false`, Composer will not create and\n require a `platform_c...
PHP
f4d3a1e478b85ba233bfc98bb45d01c7396fbe22
14
2021-05-20 20:44:53+02:00
-7,200
['8a3f4a84000485734b6e3e269480a8a1a8ab55a8']
Detect missing packages that are a requirement or dev-requirement but not locked.
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -99,6 +99,23 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $lockErrors[] = \'The lock file is not up to date w...
PHP
32b70142d97212a9e6c15e98b3a52fc64422cdd4
14
2021-05-20 20:55:00+02:00
-7,200
['f4d3a1e478b85ba233bfc98bb45d01c7396fbe22']
Replace static anonymous function and replace it with normal anonymous function as static ones are only supported on PHP5.4 and up
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -100,8 +100,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n \n $lockData = $locker->getLockData();\n- ...
PHP