Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
db64534b26189bacc95956222677fc34fb62e845 | 303 | 2022-01-21 10:09:58+01:00 | 0 | ['6a70161c0175ce178a5abd9edea891ab03298e03'] | Fixed bin proxies on PHP < 8 to support stream_seek (#10468) | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -333,6 +333,16 @@ public function stream_lock(\\$operation)\n return \\$operation ? flock(\\$this->handle, \\$operation) : true;\n ... | PHP |
a943aacd1085d730e631e28cfce172590e2dd101 | 408 | 2022-01-21 10:21:09+01:00 | -3,600 | ['cd34886e9d9a4c7391762877200c503dbaa6aaee'] | Update to PHPStan 1.4.1 (#10466) | [{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,7 +41,7 @@\n },\n "require-dev": {\n "symfony/phpunit-bridge": "^6.0",\n- "phpstan/phpstan": "^1.4.0",\n+ "phpstan/phpstan": "^1.4.1",\n "phpstan/phpstan-phpunit": "^1.... | PHP |
e103ee0249ca2b0e513a79280ab19cda87778c99 | 281 | 2022-01-21 11:19:44+01:00 | -3,600 | ['db64534b26189bacc95956222677fc34fb62e845'] | Remove getenv workaround on fixed PHP versions | [{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -67,7 +67,7 @@ if (function_exists('ini_set')) {\n \n // Workaround PHP bug on Windows where env vars containing Unicode chars are mangled in $_SERVER\n // see https://github.com/php/php-src/issues/7896\n-if (PHP... | PHP |
e3d99cac5928d72859fac8300255c9566a26e9d5 | 281 | 2022-01-21 12:48:16+01:00 | -3,600 | ['e103ee0249ca2b0e513a79280ab19cda87778c99'] | Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch (#10474) | [{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -51,7 +51,7 @@ jobs:\n \n - name: "Install PHPStan"\n # Locked to phpunit 7.5 here as newer ones have void return types which break inheritance\n- run: "bin/... | PHP |
0228e5b47df0e7cd019a1355ccf9bcd5334e29bf | 303 | 2022-01-21 12:55:42+01:00 | 0 | ['e3d99cac5928d72859fac8300255c9566a26e9d5'] | Clean up properly if self-update fails (#10475) | [{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -468,6 +468,7 @@ protected function setLocalPhar($localFilename, $newFilename, $backupTarget = nu\n return $this->tryAsWindowsAdmin($loc... | PHP |
af6013093f16abf9e75820c971a7a0f00e17535d | 281 | 2022-01-21 13:22:12+01:00 | -3,600 | ['0228e5b47df0e7cd019a1355ccf9bcd5334e29bf'] | Ignore phar files in artifact repo, fixes #10406 | [{'old_path': 'src/Composer/Repository/ArtifactRepository.php', 'new_path': 'src/Composer/Repository/ArtifactRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -79,7 +79,7 @@ private function scanDirectory($path)\n \n $directory = new \\RecursiveDirectoryIterator($path, \\RecursiveDirectoryItera... | PHP |
6b8f1409e4e7b5f70173104b4616be04050007aa | 198 | 2022-01-21 14:52:39+01:00 | -3,600 | ['af6013093f16abf9e75820c971a7a0f00e17535d'] | report error if binary is a directory (#10463)
file_exists is true also for directory and symlink. but later in generateUnixyProxyCode we call `file_get_contents` on the binary, which fails with `file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory` if the binary is a directory. | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -77,6 +77,10 @@ public function installBinaries(PackageInterface $package, $installPath, $warnOn\n $this->io->writeError(' <warning>S... | PHP |
3b4afaa9e35cc6c028600b70b252587b61e82e70 | 242 | 2022-01-21 14:57:28+01:00 | 0 | ['6b8f1409e4e7b5f70173104b4616be04050007aa'] | ArrayLoader/ValidatingArrayLoader: handle non-string values for version/version_normalized (#10470)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be> | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -113,12 +113,15 @@ private function createObject(array $config, $class)\n if (!isset($config['name'])) {\n throw new \\UnexpectedV... | PHP |
bf1ad4d240b1f971b4bab435d7c14ad3187c13e6 | 281 | 2022-01-21 16:15:28+01:00 | -3,600 | ['31429ce099aca24964dd8ea31531551e8a0bf5ed'] | Make sure test runs in isolated dir | [{'old_path': 'tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php', 'new_path': 'tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -261,6 +261,7 @@ public function testPrivateRepositoryNoInteraction()\n // clean local clone if present\n $fs ... | PHP |
8c0b4ff16b1db3b945c5a95d6989840398d47e44 | 281 | 2022-01-21 17:09:54+01:00 | -3,600 | ['3b4afaa9e35cc6c028600b70b252587b61e82e70'] | Also retry for HTTP2 stream errors, fixes #10462 | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -356,7 +356,7 @@ public function tick()\n if (\n (!isset($job['options']['http']['method']) || $job['options']... | PHP |
3ae111140facdba8ae82adcd1085e4adfc7d715c | 265 | 2022-01-21 17:39:57+01:00 | -3,600 | ['7f1808501a514d0c3f8511561b747c792d0c309d'] | Improve documentation (#10477)
Co-authored-by: Houssem ZITOUN <houssem.zitoun@ekino.com> | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -156,17 +156,17 @@ composer.json you can use `--with` and provide a custom version constraint:\n php composer.phar update --with vendor/package:2.0.1\n ```\n \n-The custom constraint has to be a subset of the e... | PHP |
4ce11ab4ab00777c744fd928cd8123f21fcd0074 | 281 | 2022-02-02 15:01:55+01:00 | -3,600 | ['e8a1e25e9dabe3c62952e7eb16b1d7b7b6514eb8'] | Support escaping on newer symfony/console versions, fixes #10499 | [{'old_path': 'tests/Composer/Test/Installer/SuggestedPackagesReporterTest.php', 'new_path': 'tests/Composer/Test/Installer/SuggestedPackagesReporterTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,7 +12,9 @@\n \n namespace Composer\\Test\\Installer;\n \n+use Composer\\InstalledVersions;\n use Composer\... | PHP |
7591ef0084b5e1349824ceb9f2fd3955fee8155d | 281 | 2022-02-02 16:08:40+01:00 | -3,600 | ['4ce11ab4ab00777c744fd928cd8123f21fcd0074'] | Attempt fixing usage of InstalledVersions in tests | [{'old_path': 'tests/Composer/Test/InstalledVersionsTest.php', 'new_path': 'tests/Composer/Test/InstalledVersionsTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -17,6 +17,8 @@\n \n class InstalledVersionsTest extends TestCase\n {\n+ private static $previousRegisteredLoaders;\n+\n /**\n * @var s... | PHP |
45bbe43aac609e2b19633e1d838e5aa54567746b | 281 | 2022-02-02 16:59:58+01:00 | -3,600 | ['7591ef0084b5e1349824ceb9f2fd3955fee8155d'] | Fix case where symlink:true still can downgrade to a copy on windows, refs #10482 | [{'old_path': 'src/Composer/Downloader/PathDownloader.php', 'new_path': 'src/Composer/Downloader/PathDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -272,6 +272,9 @@ private function computeAllowedStrategies(array $transportOptions)\n \n // Check we can use junctions safely if we are on Windo... | PHP |
2da8d886cc5e583e3fdf3dbde36057c8a0a4ccf9 | 281 | 2022-02-02 17:24:50+01:00 | -3,600 | ['45bbe43aac609e2b19633e1d838e5aa54567746b'] | Make code a bit more robust | [{'old_path': 'src/Composer/Repository/PathRepository.php', 'new_path': 'src/Composer/Repository/PathRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -173,8 +173,9 @@ protected function initialize()\n 'url' => $url,\n 'reference' => sha1($json . serialize($this->options... | PHP |
db8ea452959a7d7fc1dbdf810756aae517474919 | 281 | 2022-02-02 17:48:45+01:00 | -3,600 | ['2da8d886cc5e583e3fdf3dbde36057c8a0a4ccf9'] | Fix enum parsing when the syntax is "enum foo:string {}" without space between name and type, fixes #10498 | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -272,11 +272,18 @@ private static function findClasses($path)\n // This is an XHP class, https://github.com/facebook/xhp\n ... | PHP |
6be6ce7d9f911c248139976703b73f4876c8a38f | 36 | 2022-02-02 21:35:37+01:00 | -3,600 | ['db8ea452959a7d7fc1dbdf810756aae517474919'] | update composer/pcre to 1.0.1 (#10496) | [{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -153,23 +153,23 @@\n },\n {\n "name": "composer/pcre",\n- "version": "1.0.0",\n+ "version": "1.0.1",\n "source": {\n "type": "git",\... | PHP |
7c2954d349163ae1234ccd174295988710183372 | 281 | 2022-02-04 09:23:00+01:00 | -3,600 | ['62d5f4f295794e856b69be4e94b3b2edb34e4177'] | Minor BC Break! Rename COMPOSER_BIN_DIR available inside binaries to COMPOSER_RUNTIME_BIN_DIR (#10512)
This was available to non-PHP binaries as env var since Composer 2.2.2, and the rename is needed to fix a regression due to a name clash.
Fixes #10504 | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -235,14 +235,14 @@ protected function generateWindowsProxyCode($bin, $link)\n return "@ECHO OFF\\r\\n".\n "setlocal DISABLED... | PHP |
e7c04e3e128dabf6ba9130e0381cacee8015a942 | 281 | 2022-02-04 10:17:49+01:00 | -3,600 | ['7c2954d349163ae1234ccd174295988710183372'] | Improve error reporting when a tag was recreated or a commit is missing, fixes #10484 | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -135,7 +135,7 @@ protected function doInstall(PackageInterface $package, $path, $url)\n $this->setPushUrl($path, $url);\n }\n \n- ... | PHP |
3d82719b70e214ed6205d74c0ce2a4fd4e18367b | 225 | 2022-02-04 10:23:10+01:00 | -3,600 | ['e7c04e3e128dabf6ba9130e0381cacee8015a942'] | Fix package search not urlencoding the input (#10500) | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -540,7 +540,7 @@ public function search($query, $mode = 0, $type = null)\n $this->loadRootServerFile(600);\n \n if ($this->searc... | PHP |
8053d794a84cf93f83173b0109e2d078e59317a4 | 281 | 2022-02-04 14:08:07+01:00 | -3,600 | ['88171e409d3e515b139566b8de718ed3732e914d'] | Fix reinstall command not firing pre-install-cmd/post-install-cmd events, fixes #10508 (#10514) | [{'old_path': 'src/Composer/Command/ReinstallCommand.php', 'new_path': 'src/Composer/Command/ReinstallCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,6 +21,8 @@\n use Composer\\Pcre\\Preg;\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n+use Composer\\Script\\ScriptEvent... | PHP |
ee36c5e54a02c1cb3304c4fa3bc9edec4bd3feac | 281 | 2022-02-04 15:58:50+01:00 | -3,600 | ['6c36920453059fd01eb7770d3fc95e95078a74d1'] | Fix error reporting issues when partial updates cannot update due to a symlinked path repo package, fixes #10451 | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -554,8 +554,18 @@ private static function computeCheckForLowerPrioRepo(Pool $pool, $isVerbose, $pa\n if ($nextRepo instanceof LockArrayReposit... | PHP |
d124c13a4246d8db7cb8513cd084ac2ad16ca1e9 | 281 | 2022-02-04 16:17:02+01:00 | -3,600 | ['ee36c5e54a02c1cb3304c4fa3bc9edec4bd3feac'] | Add hints when the arg of show is not found, fixes #10493 | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -247,16 +247,21 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n if (empty($package)) {\n $opt... | PHP |
4f2e2ec4fc9e703278a5355226ee1c7c67972c49 | 281 | 2022-02-04 16:59:57+01:00 | -3,600 | ['335c3c9450ceaa944f25d514fc7e074867276888'] | Update docs for renamed COMPOSER_RUNTIME_BIN_DIR | [{'old_path': 'doc/articles/vendor-binaries.md', 'new_path': 'doc/articles/vendor-binaries.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -99,8 +99,8 @@ As of Composer 2.2.2, a new `$_composer_bin_dir` global variable\n is defined by the bin proxy file, so that when your binary gets executed\n it can use it to ... | PHP |
00bac7470e2abf2477b3c3589adb74970452abce | 230 | 2022-02-06 16:55:58+01:00 | -3,600 | ['2c318ff09b40658267bc22034c7ad5de4fa856db'] | Remove duplicated keys (#10517) | [{'old_path': '.php-cs-fixer.php', 'new_path': '.php-cs-fixer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -33,7 +33,6 @@\n 'no_blank_lines_after_phpdoc' => true,\n 'no_empty_statement' => true,\n 'no_extra_blank_lines' => true,\n- 'no_leading_import_slash' => true,\n '... | PHP |
a0b0ddcd73f3f5a19d7028063877efd97249f22a | 484 | 2022-02-07 13:54:17+01:00 | -7,200 | ['ac8fb8cc574467cda36ab89f6a8930917276d972'] | Add config option for update reference in path repository (#10488) | [{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -755,6 +755,31 @@ variables are parsed in both Windows and Linux/Mac notations. For example\n > **Note:** Repository paths can also contain wildcards like `*` and `?`.\n > For details, see the... | PHP |
eefb4644b03e3fdcd6fba5066895fb67468ac8b4 | 345 | 2022-02-08 14:24:59+01:00 | -3,600 | ['00bac7470e2abf2477b3c3589adb74970452abce'] | InstallerInterface: describe `getInstallPath()` to return a absolute path (#10524) | [{'old_path': 'src/Composer/Installer/InstallerInterface.php', 'new_path': 'src/Composer/Installer/InstallerInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -111,10 +111,10 @@ public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $\n public function cleanup($type, PackageIn... | PHP |
3cb44bc4c0037b32b7eda631b7373ba6d89d163a | 281 | 2022-02-08 14:54:46+01:00 | -3,600 | ['eefb4644b03e3fdcd6fba5066895fb67468ac8b4'] | Fix build with latest setup-php | [{'old_path': 'tests/Composer/Test/ConfigTest.php', 'new_path': 'tests/Composer/Test/ConfigTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -13,6 +13,7 @@\n namespace Composer\\Test;\n \n use Composer\\Config;\n+use Composer\\Util\\Platform;\n \n class ConfigTest extends TestCase\n {\n@@ -327,22 +328,24 @@ ... | PHP |
23b0a3819bb74214f04a0799c6f998c9822f54f4 | 242 | 2022-02-09 11:45:10+01:00 | 0 | ['3cb44bc4c0037b32b7eda631b7373ba6d89d163a'] | ComposerRepository: fix array_keys(): Argument #1 () must be of type array, null given (#10529) | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -657,7 +657,7 @@ private function getProviderNames()\n return array();\n }\n \n- if ($this->providersUrl) {\n+ ... | PHP |
eee8816bc3b2cc4b5d97ae7b526a8169246944ce | 281 | 2022-02-15 16:14:06+01:00 | -3,600 | ['23b0a3819bb74214f04a0799c6f998c9822f54f4'] | Fix allow-plugins:false handling, fixes #10530 | [{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -656,7 +656,7 @@ private function parseAllowedPlugins($allowPluginsConfig)\n }\n \n if (false === $allowPluginsConfig) {\n- return arra... | PHP |
f808e4907cc656ba5728979186ab534048a89c38 | 281 | 2022-02-15 16:41:06+01:00 | -3,600 | ['eee8816bc3b2cc4b5d97ae7b526a8169246944ce'] | Fix handling for non-lowercased enum keyword, fixes #10521 | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -271,7 +271,7 @@ private static function findClasses($path)\n if ($name[0] === ':') {\n // This is an XHP class, h... | PHP |
3eb12efae5b588eb03e3f14787cc510198e8d0f8 | 242 | 2022-02-16 09:37:36+01:00 | 0 | ['66983173426033616bf58d9fface0109471b5e3d'] | VcsRepositories: handle initialize with invalid repository URL (#10525) | [{'old_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -61,7 +61,10 @@ class GitBitbucketDriver extends VcsDriver\n */\n public function initialize()\n {\n- Preg::match('#... | PHP |
a3e6af54f981804b085380cb4edf420ca7a7622f | 281 | 2022-02-16 10:43:40+01:00 | -3,600 | ['3eb12efae5b588eb03e3f14787cc510198e8d0f8'] | Allow xdebug-handler 3.x, fixes #10528 | [{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -27,7 +27,7 @@\n "composer/metadata-minifier": "^1.0",\n "composer/semver": "^3.0",\n "composer/spdx-licenses": "^1.2",\n- "composer/xdebug-handler": "^2.0",\n+ "composer/x... | PHP |
8756f54da09cbdcade84ed1c6c7e7a4a7e81686f | 542 | 2022-02-16 12:17:49+01:00 | -7,200 | ['a3e6af54f981804b085380cb4edf420ca7a7622f'] | Handle missing license when showing license summary (#10537)
Fixes the issue of license summary command aborting when a package is
missing license information. | [{'old_path': 'src/Composer/Command/LicensesCommand.php', 'new_path': 'src/Composer/Command/LicensesCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -125,7 +125,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $usedLicenses = array();\n for... | PHP |
6ea5b84bd9143a0a084e6e6439d26982e44c16e6 | 281 | 2022-02-16 12:26:49+01:00 | -3,600 | ['8756f54da09cbdcade84ed1c6c7e7a4a7e81686f'] | Fix licenses command summary to count all licenses of a package | [{'old_path': 'src/Composer/Command/LicensesCommand.php', 'new_path': 'src/Composer/Command/LicensesCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -93,7 +93,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $tableStyle->setVerticalBorderChar('');\n ... | PHP |
f1ebc1d2b606a3c8386a89d7d65b3e986ab9961b | 281 | 2022-02-16 13:08:54+01:00 | -3,600 | ['6ea5b84bd9143a0a084e6e6439d26982e44c16e6'] | Fix init author support to make email optional, fixes #10538 | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -350,7 +350,7 @@ function ($value) use ($name) {\n \n $self = $this;\n $author = $io->askAndValidate(\n- \'Author [<comment>\'.$author.\'... | PHP |
28ec4fa7b032586df098546dede9b60a19e3c4cc | 281 | 2022-02-16 13:24:15+01:00 | -3,600 | ['f1ebc1d2b606a3c8386a89d7d65b3e986ab9961b'] | Fix handling of invalid emails | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -479,10 +479,15 @@ function ($value) use ($autoload) {\n */\n public function parseAuthorString($author)\n {\n- if (Preg::isMatch(\'/^(?P<name>[... | PHP |
5c98a2cf8e3df53172ed34130302a3d362f90631 | 281 | 2022-02-16 13:24:57+01:00 | -3,600 | ['48758c02076c22bdbb97cf4c8974bc9539923f98'] | Add phpstan-symfony to get type info about console InputInterface, fix many errors (#10476)
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types | [{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,14 +37,17 @@\n "symfony/finder": "^5.4 || ^6.0",\n "symfony/process": "^5.4 || ^6.0",\n "react/promise": "^2.8",\n- "composer/pcre": "^1.0"\n+ "composer/pcre": "^1.0",\... | PHP |
0c4cefaaa1fa9917e8005c2a90f127efb56a14b6 | 454 | 2022-02-16 14:34:10+01:00 | -32,400 | ['53810b0cfbdd8127efeac956b70f3d4a029a83c1'] | Introduce phpstan-type about autoload array type to be DRY (#10516) | [{'old_path': 'src/Composer/Package/Package.php', 'new_path': 'src/Composer/Package/Package.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,6 +20,9 @@\n * Core package definitions that are needed to resolve dependencies and install packages\n *\n * @author Nils Adermann <naderman@naderman.de>\n+ *\n+ * @... | PHP |
4376153912db5878a81c0f07549ac95998d9ac07 | 281 | 2022-02-16 14:50:38+01:00 | -3,600 | ['0c4cefaaa1fa9917e8005c2a90f127efb56a14b6'] | Improve untrusted package install docs | [{'old_path': 'doc/faqs/how-to-install-untrusted-packages-safely.md', 'new_path': 'doc/faqs/how-to-install-untrusted-packages-safely.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,7 +3,9 @@\n Certain Composer commands, including `exec`, `install`, and `update` allow third party code to\n execute on your syst... | PHP |
acea849c513b5195c25587982ed9f3bd497d6473 | 281 | 2022-02-16 14:58:24+01:00 | -3,600 | ['4376153912db5878a81c0f07549ac95998d9ac07'] | Clarify plugin docs slightly wrt pre-operations-exec event | [{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -46,7 +46,9 @@ Composer fires the following named events during its execution process:\n ### Installer Events\n \n - **pre-operations-exec**: occurs before the install/upgrade/.. operations\... | PHP |
8b5254688ce94d8e26536c34a4ecf0439d30ead9 | 281 | 2022-02-16 15:13:21+01:00 | -3,600 | ['acea849c513b5195c25587982ed9f3bd497d6473'] | Drop early package name validation if a version is provided to require/init command, fixes #10489 | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -543,12 +543,6 @@ final protected function determineRequirements(InputInterface $input, OutputInte\n $requirement['version'],\n ... | PHP |
2a2440c2a1690c8a29f45f9a94af9f15b423e27c | 281 | 2022-02-16 15:44:43+01:00 | -3,600 | ['8b5254688ce94d8e26536c34a4ecf0439d30ead9'] | Fix handling of virtual packages when searching for packages or when looking up the preferred version (init & require command), refs #10489 | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -577,7 +577,21 @@ final protected function determineRequirements(InputInterface $input, OutputInte\n }\n $matches = array_values($ma... | PHP |
2e40cdf2dc6cc3182a47c22173522983df5c1c99 | 281 | 2022-02-18 08:26:59+01:00 | -3,600 | ['40de07569d26aa184e67efa0d0ee3c0c6761aa33'] | Clean up properties that belong in PackageDiscoveryTrait | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,12 +48,6 @@ class InitCommand extends BaseCommand\n {\n use PackageDiscoveryTrait;\n \n- // Properties for PackageDiscoveryTrait\n- /** @var ?Composit... | PHP |
32852304d0c8823fe535dfc5b19e68952d4a6f41 | 281 | 2022-02-18 10:20:20+01:00 | -3,600 | ['86fb8d44124903460dbc904be2ebb1f77178caa3'] | Make use of some new PHP features | [{'old_path': '.php-cs-fixer.php', 'new_path': '.php-cs-fixer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,12 +16,13 @@\n ->in(__DIR__.'/tests')\n ->name('*.php')\n ->notPath('Fixtures')\n+ ->notPath(__DIR__.'/src/Composer/Autoload/ClassLoader.php')\n+ ->notPath(__DIR__.'/src/Composer/I... | PHP |
abdc6893a6da0980b07343005f5807ecb73f3150 | 281 | 2022-02-18 10:38:54+01:00 | -3,600 | ['32852304d0c8823fe535dfc5b19e68952d4a6f41'] | Add void types where no return statement is present | [{'old_path': '.php-cs-fixer.php', 'new_path': '.php-cs-fixer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -71,7 +71,6 @@\n 'random_api_migration' => true,\n 'ternary_to_null_coalescing' => true,\n //'declare_strict_types' => true,\n- //'void_return' => true,\n ])\n ->s... | PHP |
a16ed3d0ed6a137d11231ed77d3545998584d2e8 | 281 | 2022-02-18 11:22:01+01:00 | -3,600 | ['abdc6893a6da0980b07343005f5807ecb73f3150'] | Add return types to private/internal methods | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -441,7 +441,7 @@ public static function autoload(\\$class)\n * @param array<string, true> $scannedFiles\n * @return array<class-string, stri... | PHP |
eda9014bef7081f24118beecbc9ccb4abf0c2c52 | 281 | 2022-02-18 14:32:38+01:00 | -3,600 | ['137ebddc250bda324c3fdcdb46cb3e46c71226dc'] | Add return types to all code which is not being extended by open source packages | [{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -61,7 +61,7 @@ public static function dump($dirs, $file): void\n * @return array<class-string, string> A class map array\n * @throws \\Runti... | PHP |
84f0f191122af73039555a3a9381a1a408131422 | 281 | 2022-02-18 14:45:08+01:00 | -3,600 | ['eda9014bef7081f24118beecbc9ccb4abf0c2c52'] | Split Composer into PartialComposer & Composer classes to avoid nullable properties on Composer for non-fully-loaded instances, add types to Composer\Factory | [{'old_path': 'src/Composer/Command/InstallCommand.php', 'new_path': 'src/Composer/Command/InstallCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -98,7 +98,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n $composer = $this->requireComposer();\n \n- if (... | PHP |
7b1fc4b2c8119b9c7badc1295ef0040c71c84afa | 281 | 2022-02-18 20:53:58+01:00 | -3,600 | ['84f0f191122af73039555a3a9381a1a408131422'] | Remove alias::getAliasOf return type as this is not compatible with PHP 7.2/7.3 | [{'old_path': 'src/Composer/Package/AliasPackage.php', 'new_path': 'src/Composer/Package/AliasPackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -75,7 +75,7 @@ public function __construct(BasePackage $aliasOf, $version, $prettyVersion)\n /**\n * @return BasePackage\n */\n- public function ... | PHP |
32da10dc2c9932a631def188a14f9f8ec0b1cad8 | 534 | 2022-02-19 12:47:35+01:00 | -3,600 | ['32852304d0c8823fe535dfc5b19e68952d4a6f41'] | Improve the pool optimizer logging (#10545) | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -287,6 +287,8 @@ public function buildPool(array $repositories, Request $request)\n $this->skippedLoad = array();\n $this->ind... | PHP |
7328f5e5db213cf6cd6860e9204a378636d612df | 457 | 2022-02-19 12:49:55+01:00 | 18,000 | ['32da10dc2c9932a631def188a14f9f8ec0b1cad8'] | Renamed the only file with a quote character to remove it (#10542)
The quote character can be problematic and as this is the only one, just removing it makes the codebase more compatible with other systems that forbid the character as a matter of policy. | [{'old_path': "doc/faqs/why-can't-composer-load-repositories-recursively.md", 'new_path': 'doc/faqs/why-cant-composer-load-repositories-recursively.md', 'type': <ModificationType.RENAME: 3>, 'diff': ''}] | PHP |
868b75d5e88e3ca7920eaa140de2ba00f7877ce8 | 281 | 2022-02-19 12:52:00+01:00 | -3,600 | ['7328f5e5db213cf6cd6860e9204a378636d612df'] | Fix broken links, refs #10542 | [{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -46,7 +46,7 @@ add more repositories to your project by declaring them in `composer.json`.\n \n Repositories are only available to the root package and the repositories\n defined in your depen... | PHP |
61ed47baba2d346413a2c03c62284461c9d2037a | 316 | 2022-02-21 13:33:20+01:00 | -10,800 | ['868b75d5e88e3ca7920eaa140de2ba00f7877ce8'] | Update 04-schema.md (#10554)
Fix grammar to make the sentence grammatically correct | [{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -203,7 +203,7 @@ Each author object can have following properties:\n \n * **name:** The author's name. Usually their real name.\n * **email:** The author's email address.\n-* **homepage:** An URL to the a... | PHP |
1321bfca36e187014d11731cc667a865a31c48a4 | 115 | 2022-02-21 13:37:49+01:00 | -3,600 | ['7b1fc4b2c8119b9c7badc1295ef0040c71c84afa'] | Add return types to closures (#9) | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -290,7 +290,7 @@ public function dump(Config $config, InstalledRepositoryInterface $localRepo, Ro\n $mainAutoload = $rootPackage->getAutoload(... | PHP |
e9b60580f559c19461e3defbf46eb2694044ba8b | 115 | 2022-02-21 13:42:28+01:00 | -3,600 | ['1321bfca36e187014d11731cc667a865a31c48a4'] | Add return types to tests (#10) | [{'old_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'new_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -100,10 +100,10 @@ protected function setUp(): void\n $this->config = $this->getMockBuilder('Composer\\Config')->getMock... | PHP |
6da38f83a0d5acc71793f337b525fa2faff9468e | 281 | 2022-02-22 16:48:53+01:00 | -3,600 | ['c9baeda95b2da59a8c2d0bb7350b18d009aa891b'] | Add parameter types to all the things | [{'old_path': '.php-cs-fixer.php', 'new_path': '.php-cs-fixer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,8 +16,8 @@\n ->in(__DIR__.'/tests')\n ->name('*.php')\n ->notPath('Fixtures')\n- ->notPath(__DIR__.'/src/Composer/Autoload/ClassLoader.php')\n- ->notPath(__DIR__.'/src/Composer/Ins... | PHP |
225b4d7c27f88a1ee53c892f7f0a012829cc5d34 | 281 | 2022-02-22 19:29:40+01:00 | -3,600 | ['6da38f83a0d5acc71793f337b525fa2faff9468e'] | Add some more return types | [{'old_path': 'src/Composer/DependencyResolver/GenericRule.php', 'new_path': 'src/Composer/DependencyResolver/GenericRule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -77,7 +77,7 @@ public function isAssertion(): bool\n *\n * @return string\n */\n- public function __toString()\n+ public ... | PHP |
14fcfc3ae171c3b6f526f264d18cedafac6e59a4 | 281 | 2022-02-23 11:39:26+01:00 | -3,600 | ['7abc8da7d3fa2db2f259517d84acb753399fab07'] | Update baseline (2244 errors) | [{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -117,7 +117,7 @@ parameters:\n \n \t\t-\n \t\t\tmessage: "#^Parameter \\\\#1 \\\\$path of function realpath expects string, string\\\\|false given\\\\.$#"\n-\t\t\tcount: 3\n+\t\t\tcount: 2\n \t\... | PHP |
0db443ba5f3a0a19081f7944ba988a32db2e7490 | 281 | 2022-02-23 14:28:04+01:00 | -3,600 | ['b6c1afaa47e963e354279b6efc8682dcd20a8889'] | Add visibility to all consts, fixes #10550 | [{'old_path': '.php-cs-fixer.php', 'new_path': '.php-cs-fixer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -65,7 +65,7 @@\n // TODO later once 2.2 is more stable\n // 'array_syntax' => true,\n // 'list_syntax' => true,\n- 'visibility_required' => ['elements' => ['property', 'me... | PHP |
67a12f48291c07d2c1fe1bb6a289f1e11b76bb25 | 281 | 2022-02-23 14:28:17+01:00 | -3,600 | ['2874daf59c50d22cb9e47e9a8518f9b9a4580fa6'] | Slightly more detailed PHP requirements | [{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,7 +17,7 @@ For usage, see [the documentation](https://getcomposer.org/doc/).\n Packages\n --------\n \n-Find public dependencies packages on [Packagist](https://packagist.org).\n+Find public packages on [Packagist.... | PHP |
91a0a4c7d8a87e6a27b356d9bb5f881e525a97aa | 281 | 2022-02-23 14:33:14+01:00 | -3,600 | ['67a12f48291c07d2c1fe1bb6a289f1e11b76bb25'] | Also update requirements in docs | [{'old_path': 'doc/00-intro.md', 'new_path': 'doc/00-intro.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,9 +33,11 @@ dependencies.\n \n ## System Requirements\n \n-Composer requires PHP 5.3.2+ to run. A few sensitive php settings and compile\n-flags are also required, but when using the installer you will ... | PHP |
b85e0eebc115688653d3739aa4928c1ddfc45311 | 281 | 2022-02-24 11:17:46+01:00 | -3,600 | ['1e914f8afcb8ae2210843ac60a731456dae3755c'] | Allow 3rd parties to use URL_REGEX | [{'old_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -82,7 +82,7 @@ class GitLabDriver extends VcsDriver\n */\n private $hasNonstandardOrigin = false;\n \n- private const URL_REGEX = '#^(?:... | PHP |
6a466a120a404d1c5d492e5ca715841c491517fc | 281 | 2022-02-24 13:24:34+01:00 | -3,600 | ['3cdca37e8588d262efbb3b589f8a68eea73738a2'] | Enable strict types on all files | [{'old_path': '.php-cs-fixer.php', 'new_path': '.php-cs-fixer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -71,7 +71,7 @@\n 'random_api_migration' => true,\n 'ternary_to_null_coalescing' => true,\n 'phpdoc_to_param_type' => true,\n- //'declare_strict_types' => true,\n+ '... | PHP |
beb575dd00ef7274aec0fc1ec6b464fcd678ecbc | 281 | 2022-02-24 13:24:35+01:00 | -3,600 | ['6a466a120a404d1c5d492e5ca715841c491517fc'] | Fix more issues, update baseline (2203/106) | [{'old_path': 'phpstan/baseline-8.1.neon', 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -130,11 +130,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/EventDispatcher/EventDispatcher.php\n \n-\t\t-\n-\t\t\tmessage: "#^Parameter \\\\#1 \\\\$string of function t... | PHP |
8179d1ea337bca5bfcfd3e2b9b7d228861fa580c | 534 | 2022-02-25 10:43:24+01:00 | -3,600 | ['7ee44e6461345426889bc7f6c8b9a361744b6b89'] | Early return when a package was already marked to be kept | [{'old_path': 'src/Composer/DependencyResolver/PoolOptimizer.php', 'new_path': 'src/Composer/DependencyResolver/PoolOptimizer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -340,6 +340,11 @@ private function markPackageForRemoval($id)\n */\n private function keepPackage(BasePackage $package, $identica... | PHP |
6c0a6e00b361cf86a906050ff571d44dd03a683d | 119 | 2022-02-25 20:44:10+01:00 | -3,600 | ['076925ebefaab6f13e5834f8025a728691aac175'] | Fix #10575 (#10576)
Refactor the whole cleanChanges/getLocalChanges code to be more strict with null returns
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be> | [{'old_path': 'src/Composer/Command/StatusCommand.php', 'new_path': 'src/Composer/Command/StatusCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -109,7 +109,7 @@ private function doExecute(InputInterface $input): int\n $errors[$targetDir] = $targetDir . ' is a symbolic link.';\n ... | PHP |
9715580bc02fe044c51511ca0daa302cbe901e60 | 346 | 2022-02-25 20:47:19+01:00 | -3,600 | ['fa9a877246ab3d52959557e84230f80e0b600be3'] | Add file agument to archive help (#10574) | [{'old_path': 'src/Composer/Command/ArchiveCommand.php', 'new_path': 'src/Composer/Command/ArchiveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -61,7 +61,7 @@ protected function configure()\n containing the files and directories of the Composer project or the specified\n package in the specified versi... | PHP |
6b36f822d6971a7b5a61c8f6d2a3ea59e67142e4 | 307 | 2022-03-05 19:17:37+01:00 | -3,600 | ['575fbfb53fcc2388916d554271c99c8281fea782'] | GH Actions: version update for various predefined actions
A number of predefined actions have had major release, which warrant an update to the workflow(s).
These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node... | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -62,7 +62,7 @@ jobs:\n \n steps:\n - name: "Checkout"\n- uses: "actions/checkout@v2"\n+ uses: "actions/checkout@v3"\n \n ... | PHP |
ae23647f07932754dc9d7fd1d15657273301a009 | 69 | 2022-03-09 20:45:19+01:00 | -28,800 | ['575fbfb53fcc2388916d554271c99c8281fea782'] | Create SYMLINKD instead of SYMLINK on Windows host/Linux guest filesystems (#10592)
Co-authored-by: bilogic <bilogic@example.com> | [{'old_path': 'src/Composer/Downloader/PathDownloader.php', 'new_path': 'src/Composer/Downloader/PathDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -121,9 +121,9 @@ public function install(PackageInterface $package, string $path, bool $output =\n $this->io->writeError(sprintf... | PHP |
0a4c0778abdd014d9f4c7e18e0c2fb6605782270 | 281 | 2022-03-09 21:00:00+01:00 | -3,600 | ['0f688b1dd2205f5e2e41b2368a01ecfd28ceb556'] | Propagate decoration state to repo warnings, fixes #10601 | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -454,6 +454,14 @@ private function getResponse($index)\n */\n public static function outputWarnings(IOInterface $io, $url, $data)\n {\n+ $cleanM... | PHP |
ced24da7b012ec666d8d02ec71ffbcec6e4fb021 | 534 | 2022-03-12 14:16:38+01:00 | -3,600 | ['b3f99faff737d07715246711863103b55d962d5e'] | Fix PoolOptimizer should consider disjunctive MultiConstraints (#10579) | [{'old_path': 'src/Composer/DependencyResolver/PoolOptimizer.php', 'new_path': 'src/Composer/DependencyResolver/PoolOptimizer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -110,21 +110,18 @@ private function prepare(Request $request, Pool $pool)\n \n // Extract requested package requirements\n ... | PHP |
e9680c4c5497b38e0e158c20aeee921b85bceef2 | 118 | 2022-03-15 10:21:11+01:00 | -3,600 | ['890b8fad3de8dc86d98a9cf0f578d86cb591205d'] | Enhancement: Update actions/stale (#10610) | [{'old_path': '.github/workflows/close-stale-support.yml', 'new_path': '.github/workflows/close-stale-support.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,7 +13,7 @@ jobs:\n pull-requests: write\n \n steps:\n- - uses: actions/stale@v3\n+ - uses: actions/stale@v5\n with:\n re... | PHP |
58deb390296117fa91db17b225cda1e7923d1402 | 118 | 2022-03-15 10:22:01+01:00 | -3,600 | ['e9680c4c5497b38e0e158c20aeee921b85bceef2'] | Enhancement: Update actions/github-script (#10612) | [{'old_path': '.github/workflows/release.yml', 'new_path': '.github/workflows/release.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -81,14 +81,14 @@ jobs:\n # This step requires a secret token with `pull` access to composer/docker. The default\n # secrets.GITHUB_TOKEN is scoped to this repository ... | PHP |
d67953266f2aae4d4f23447b654494d32e112fbe | 281 | 2022-03-15 11:03:53+01:00 | -3,600 | ['890b8fad3de8dc86d98a9cf0f578d86cb591205d'] | Do not read require-dev except for the root package when sorting packages | [{'old_path': 'src/Composer/Util/PackageSorter.php', 'new_path': 'src/Composer/Util/PackageSorter.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,6 +13,7 @@\n namespace Composer\\Util;\n \n use Composer\\Package\\PackageInterface;\n+use Composer\\Package\\RootPackageInterface;\n \n class PackageSorter\n {\n... | PHP |
f31700bf1983879a6f519ca6e50fc5591845de3b | 281 | 2022-03-15 11:35:33+01:00 | -3,600 | ['d67953266f2aae4d4f23447b654494d32e112fbe'] | Sort packages with the same weight alphabetically to have a completely stable sort not dependent on input order, fixes #10614 | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1379,7 +1379,7 @@ function ($item) use ($include) {\n /**\n * Sorts packages by dependency weight\n *\n- * Packages of equal weight... | PHP |
dbcdb4a9038c08aefbc112cafb0f342b8f1312e1 | 281 | 2022-03-15 12:02:03+01:00 | -3,600 | ['f31700bf1983879a6f519ca6e50fc5591845de3b'] | Add test for circular depths of equal weight | [{'old_path': 'tests/Composer/Test/Util/PackageSorterTest.php', 'new_path': 'tests/Composer/Test/Util/PackageSorterTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -99,6 +99,20 @@ public function sortingOrdersDependenciesHigherThanPackageDataProvider()\n 'foo/bar6',\n ),\... | PHP |
bf235eba5646f2a21510d0769492ca45a5584830 | 281 | 2022-03-15 12:24:35+01:00 | -3,600 | ['4cc4a285ebdc0d27e62da35b48e5a384c150ff42'] | Add note about plugin autoloading, refs #10587 | [{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -323,6 +323,13 @@ hint to Composer that the plugin should be installed on its own before proceedin\n the rest of the package downloads. This slightly slows down the overall installation\n pr... | PHP |
2d7f1569f3f12cb6e58486a7b12cd3e4d428df11 | 281 | 2022-03-15 12:26:32+01:00 | -3,600 | ['bf235eba5646f2a21510d0769492ca45a5584830'] | Allow using self.version with require command, fixes #10593 | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -225,6 +225,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n return 1;\n }\n+ if ($... | PHP |
dca2d49d0c00aa3a4ab47a78288fa9abe37374fa | 307 | 2022-03-15 12:49:38+01:00 | -3,600 | ['2d7f1569f3f12cb6e58486a7b12cd3e4d428df11'] | GH Actions: version update for various predefined actions
A number of predefined actions have had major release, which warrant an update to the workflow(s).
These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node... | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -64,7 +64,7 @@ jobs:\n \n steps:\n - name: "Checkout"\n- uses: "actions/checkout@v2"\n+ uses: "actions/checkout@v3"\n \n ... | PHP |
c3a41b944ea3b6fb9b2ddf1f1ccd62fa88cfe7b6 | 532 | 2022-03-15 15:29:25+01:00 | 14,400 | ['d584a259f6ad50b1d4c0a2351d87a1e6bb0c7d9b'] | Allow global ignore-platform-req (#10616) | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1174,3 +1174,11 @@ useful for plugin authors to identify what is firing when exactly.\n \n If set to `1`, it is the equivalent of passing the `--no-dev` argument to `install` or\n `update`. You can override th... | PHP |
3a1e07f3ccd48d6902c0a50a9fa5f271eac67f54 | 337 | 2022-03-15 15:30:07+01:00 | -3,600 | ['c3a41b944ea3b6fb9b2ddf1f1ccd62fa88cfe7b6'] | Remove allow-plugin config on remove (#10615) | [{'old_path': 'src/Composer/Command/RemoveCommand.php', 'new_path': 'src/Composer/Command/RemoveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -234,6 +234,18 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $commandEvent = new CommandEvent(PluginEvents::COMMAND, '... | PHP |
f125fc1d0ac1e050fd11acb48f72bd3aae060dba | 534 | 2022-03-15 15:37:14+01:00 | -3,600 | ['3a1e07f3ccd48d6902c0a50a9fa5f271eac67f54'] | Improve performance of DefaultPolicy (#10585)
Add memoization to selectPreferredPackages | [{'old_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'new_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -27,6 +27,10 @@ class DefaultPolicy implements PolicyInterface\n private $preferStable;\n /** @var bool */\n private $preferLo... | PHP |
f863855647723ec8664cec2bdbfafb05619796fe | 504 | 2022-03-15 15:52:04+01:00 | -10,800 | ['f125fc1d0ac1e050fd11acb48f72bd3aae060dba'] | `--patch-only` option for `show` and `outdated` commands (#10589)
Fixes #10503
Co-authored-by: Svyatoslav <tregubov.s@asteq.ru>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be> | [{'old_path': 'src/Composer/Command/OutdatedCommand.php', 'new_path': 'src/Composer/Command/OutdatedCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -39,6 +39,7 @@ protected function configure(): void\n new InputOption('direct', 'D', InputOption::VALUE_NONE, 'Shows only packages that are ... | PHP |
6b97524b259c33f87760df2f242688a7d0c402c7 | 281 | 2022-03-15 22:11:19+01:00 | -3,600 | ['7bee425b5803ea8bf7449a9d0d0805ec98aba43b'] | Load plugins which modify install path early, fixes #10618 (#10621) | [{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -323,6 +323,15 @@ hint to Composer that the plugin should be installed on its own before proceedin\n the rest of the package downloads. This slightly slows down the overall installation\n pr... | PHP |
20e410f3a2d0abc7447fa83f5d00aa350bfbe518 | 281 | 2022-03-16 10:05:07+01:00 | -3,600 | ['38813e10f73fe6e7b5703ea2815c1491a4ca9a4c'] | Fix inconsistent parameter names in inheritance trees | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -476,7 +476,7 @@ protected function processUrl(PackageInterface $package, string $url): string\n * @inheritDoc\n * @throws \\RuntimeException\... | PHP |
8d446bef67235f9567f61d7f3df53616e593eb0d | 281 | 2022-03-16 10:14:17+01:00 | -3,600 | ['20e410f3a2d0abc7447fa83f5d00aa350bfbe518'] | Update baseline (2182+104) | [{'old_path': 'phpstan/baseline-8.1.neon', 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,11 +65,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Command/ValidateCommand.php\n \n-\t\t-\n-\t\t\tmessage: "#^Parameter \\\\#1 \\\\$string of function substr_repl... | PHP |
a7c2bd8aa13520c2cc46439f8aec454d15261dfd | 281 | 2022-03-16 14:35:59+01:00 | -3,600 | ['8d446bef67235f9567f61d7f3df53616e593eb0d'] | Fix false return value in findPackage, fixes #10622 | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -208,9 +208,13 @@ public function findPackage(string $name, $constraint)\n \n $packages = $this->loadAsyncPackages(array($name => $c... | PHP |
a2bdf72fa4af217c7a617ad08ff7a98b8bc0ac11 | 281 | 2022-03-16 15:00:34+01:00 | -3,600 | ['d955458f271edb4fcc055a394f90a60a8328a2a8'] | Fix showing a single package by name in show command, fixes #10623 | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -255,7 +255,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n // show single package or single version\n if (isset($... | PHP |
dec123770ff1f5bde63f0a4b7ce1b5b627893bf8 | 281 | 2022-03-17 10:34:40+01:00 | -3,600 | ['a2bdf72fa4af217c7a617ad08ff7a98b8bc0ac11'] | Fix phpversion() returning false when an extension has no version, fixes #10631 | [{'old_path': 'src/Composer/Platform/Runtime.php', 'new_path': 'src/Composer/Platform/Runtime.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -98,7 +98,12 @@ public function getExtensions(): array\n */\n public function getExtensionVersion(string $extension): string\n {\n- return phpversion(... | PHP |
ca3b8744144ec223aa87f90aec7aa7c7be0b73bc | 281 | 2022-03-17 10:38:24+01:00 | -3,600 | ['dec123770ff1f5bde63f0a4b7ce1b5b627893bf8'] | Fix issue in remove command when allow-plugins is not present at all, fixes #10629 | [{'old_path': 'src/Composer/Command/RemoveCommand.php', 'new_path': 'src/Composer/Command/RemoveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -235,8 +235,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $composer->getEventDispatcher()->dispatch($commandEvent->g... | PHP |
b0665981c2e80578b6692da8604edcda7b2093ab | 281 | 2022-03-17 14:52:14+01:00 | -3,600 | ['ca3b8744144ec223aa87f90aec7aa7c7be0b73bc'] | Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch (#10632)
* Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch, fixes #10568
* Allow ProcessExecutorMock to function with async calls | [{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,6 +21,8 @@\n use Composer\\Util\\HttpDownloader;\n use Composer\\Util\\ProcessExecutor;\n use Composer\\Util\\Svn as SvnUtil;\n+use React\... | PHP |
96ad838686cd45b5b137c40a8da1ff8185be1779 | 281 | 2022-03-18 09:08:44+01:00 | -3,600 | ['b0665981c2e80578b6692da8604edcda7b2093ab'] | Add try/finally to ensure we always reset the max jobs | [{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -311,6 +311,7 @@ private function guessFeatureVersion(array $packageConfig, ?string $version, arr\n \n $promises = [];\n ... | PHP |
e63e15aea861498b4c4e09825bc21b89fd1c0413 | 281 | 2022-03-18 09:20:42+01:00 | -3,600 | ['96ad838686cd45b5b137c40a8da1ff8185be1779'] | Fix usage of react/promise resolve() to prepare for v3 | [{'old_path': 'src/Composer/Downloader/DownloadManager.php', 'new_path': 'src/Composer/Downloader/DownloadManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -202,7 +202,7 @@ public function download(PackageInterface $package, string $targetDir, PackageIn\n \n $downloader = $this->getDownloaderF... | PHP |
bbf2e94579cb91f8eacb9bd050f4b13aef67a853 | 281 | 2022-03-18 10:14:38+01:00 | -3,600 | ['e63e15aea861498b4c4e09825bc21b89fd1c0413'] | Fix a few type errors, update baseline (2170, 104) | [{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3800,11 +3800,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Platform/Runtime.php\n \n-\t\t-\n-\t\t\tmessage: "#^Method Composer\\\\\\\\Platform\\\\\\\\Runtime\\\\:\\\\:getExte... | PHP |
c9ff588d686df3858c1069ca62ffcb220601848c | 281 | 2022-03-18 14:29:50+01:00 | -3,600 | ['e0022880cc479f43723d0468755ca31345bcb949'] | Mark abstract class as such | [{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -34,7 +34,7 @@\n *\n * @author Niels Keurentjes <niels.keurentjes@omines.com>\n */\n-class BaseDependencyCommand extends BaseCommand\n+abstra... | PHP |
fd2972247fd00c8289580d4958a44a533c87aaf8 | 281 | 2022-03-18 14:45:59+01:00 | -3,600 | ['c9ff588d686df3858c1069ca62ffcb220601848c'] | Add missing param types, fixes #10638 | [{'old_path': 'src/Composer/Installer/LibraryInstaller.php', 'new_path': 'src/Composer/Installer/LibraryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -71,7 +71,7 @@ public function __construct(IOInterface $io, PartialComposer $composer, ?string\n /**\n * @inheritDoc\n */\n- public f... | PHP |
bd89a67398cab59b4f0504fbc8c82e25c1a0a489 | 242 | 2022-03-21 13:18:11+01:00 | 0 | ['f68ea293d563a1652c04b0f4b11ce2c2fa5af65e'] | SvnDriver: buildIdentifier must be of type int, string given (#10646) | [{'old_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'new_path': 'src/Composer/Repository/Vcs/SvnDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -396,11 +396,11 @@ protected function execute(string $command, string $url): string\n * Build the identifier respecting "package-path" config option\... | PHP |
8b373a1306cfc96780169c3c14150deb7625a0d7 | 281 | 2022-03-21 13:43:38+01:00 | -3,600 | ['bd89a67398cab59b4f0504fbc8c82e25c1a0a489'] | Make sure path repo reuses an existing ProcessExecutor if provided to it, fixes #10642 | [{'old_path': 'src/Composer/Repository/PathRepository.php', 'new_path': 'src/Composer/Repository/PathRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -13,6 +13,7 @@\n namespace Composer\\Repository;\n \n use Composer\\Config;\n+use Composer\\EventDispatcher\\EventDispatcher;\n use Composer\\IO\\IOInte... | PHP |
61be15804036e736200cf5af39bfbaad4acd45ee | 242 | 2022-03-22 09:48:51+01:00 | 0 | ['166542f981eb9e44131f644b3f895d496d4af711'] | ArrayLoader: assert that source/dist reference are string values (#10647) | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -185,7 +185,7 @@ private function configureObject(PackageInterface $package, array $config): Base\n }\n $package->setSourceTyp... | PHP |