Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
33c293aec31843dacbf58f476cdf142f638aaadb | 281 | 2023-05-24 14:58:11+02:00 | -7,200 | ['4893b67efaf35337a718129877de907f83f747d8'] | Fix autoload regression with metapackage dependencies (#11481)
fixes #11480
introduced by #11455 | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -473,7 +473,7 @@ private function buildExclusionRegex(string $dir, ?array $excluded): ?string\n \n /**\n * @param PackageInterface[] $package... | PHP |
c45b4039676445989250c9083369630050d36b88 | 207 | 2023-05-28 15:02:12+02:00 | -7,200 | ['52f6f74b7c342f7b90be9c1a87e183092e8ab452'] | tests for empty or absent repository filters (#11476)
The behavior in FilterRepository is currently correct, but not explicitly tested.
Also add a test that ensures both filters can't be there simultaneously. | [{'old_path': 'tests/Composer/Test/Repository/FilterRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/FilterRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -59,9 +59,22 @@ public static function provideRepoMatchingTestCases(): array\n // make sure sub-patterns are not m... | PHP |
7528c86e58884f5676d5851d52cd94c67372d609 | 31 | 2023-05-28 15:15:21+02:00 | -3,600 | ['c45b4039676445989250c9083369630050d36b88'] | Test json format on failed platform reqs (#11477)
* test: Adds case for json format arg
* test: A failed platofrm requirement
* chore: style fix
* chore: removes redundant test case | [{'old_path': 'tests/Composer/Test/Command/CheckPlatformReqsCommandTest.php', 'new_path': 'tests/Composer/Test/Command/CheckPlatformReqsCommandTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -88,4 +88,55 @@ public static function caseProvider(): \\Generator\n "Checking platform requirements usi... | PHP |
52caea70d4453173e3ad02941b323b7fc0e2d7c1 | 474 | 2023-06-06 13:54:17+02:00 | 18,000 | ['7528c86e58884f5676d5851d52cd94c67372d609'] | Refactor downloader package dist path parsing (#11471) | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -353,7 +353,7 @@ public function install(PackageInterface $package, string $path, bool $output =\n \n $this->filesystem->emptyDirectory($path);\... | PHP |
902a153741e04043a40d94362973d073309f768d | 281 | 2023-06-06 14:02:29+02:00 | -7,200 | ['7d6c76ee790b2f9883f52f8c219cea1c6e47bedb'] | Fix regression in edge cases where root package gets added to a repository already during the install process, fixes #11495 | [{'old_path': 'src/Composer/Package/Locker.php', 'new_path': 'src/Composer/Package/Locker.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -515,7 +515,7 @@ public function getMissingRequirementInfo(RootPackageInterface $package, bool $i\n if ($includeDev === true) {\n $sets[] = ['repo' => $th... | PHP |
3b5976667c54ca6392c65493c3d066912b401c09 | 196 | 2023-06-06 14:26:14+02:00 | -3,600 | ['52caea70d4453173e3ad02941b323b7fc0e2d7c1'] | Simplify property assignment (#11488) | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -114,7 +114,7 @@ public function setClassMapAuthoritative(bool $classMapAuthoritative)\n public function setApcu(bool $apcu, ?string $apcuPrefix =... | PHP |
0e05c2c68a243799be31485ec17c47b991db7da3 | 423 | 2023-06-06 15:19:08+02:00 | -7,200 | ['3b5976667c54ca6392c65493c3d066912b401c09'] | chore: update entries in `.gitattributes` (#11484) | [{'old_path': '.gitattributes', 'new_path': '.gitattributes', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,11 +9,18 @@\n *.yml text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=2\n \n # Exclude non-essential files from dist\n-/tests export-ignore\n-.github export-ignore\... | PHP |
45977c7cb11f8809d5c0ef53e9e07f645858dec4 | 423 | 2023-06-06 15:25:54+02:00 | -7,200 | ['0e05c2c68a243799be31485ec17c47b991db7da3'] | refactor: update `SyncHelper` (#11485)
Get rid of 3 PHPStan issues | [{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4933,21 +4933,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Util/Svn.php\n \n-\t\t-\n-\t\t\tmessage: "#^Only booleans are allowed in a ternary operator condition, Composer\\\\... | PHP |
8c18de5a41a960fbced81964d0e4cda119411658 | 387 | 2023-06-06 23:27:55+02:00 | 0 | ['45977c7cb11f8809d5c0ef53e9e07f645858dec4'] | Handle better nullable file parameter (#11486)
* Handle better nullable file parameter
Closes #11483
* CS fix | [{'old_path': 'src/Composer/Json/JsonFile.php', 'new_path': 'src/Composer/Json/JsonFile.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -338,12 +338,22 @@ protected static function validateSyntax(string $json, ?string $file = null): bo\n $result = $parser->lint($json);\n if (null === $result) {\... | PHP |
16bdfe4dae0d6ef151d71441849e735f3b0a93c8 | 423 | 2023-06-06 23:32:39+02:00 | -7,200 | ['8c18de5a41a960fbced81964d0e4cda119411658'] | refactor: update `SyncHelper::downloadAndInstallPackageSync` (#11496)
* refactor: Widen `SyncHelper::downloadAndInstallPackageSync` parameter signature
* chore: bump `PluginInterface::PLUGIN_API_VERSION` to `2.6.0` | [{'old_path': 'src/Composer/Plugin/PluginInterface.php', 'new_path': 'src/Composer/Plugin/PluginInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -32,7 +32,7 @@ interface PluginInterface\n *\n * @var string\n */\n- public const PLUGIN_API_VERSION = '2.3.0';\n+ public const PLUGIN_AP... | PHP |
1d51f349574bf166be127a14d0eab14aab2148b8 | 281 | 2023-06-07 08:50:57+02:00 | -7,200 | ['6a11574ba63cfb5c8c6b38adf385c1f8b9abc46b'] | Update baseline (1700, 94) | [{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,11 +65,6 @@ parameters:\n \t\t\tcount: 5\n \t\t\tpath: ../src/Composer/Autoload/AutoloadGenerator.php\n \n-\t\t-\n-\t\t\tmessage: "#^Parameter \\\\#1 \\\\$packageMap of method Composer\\\\\\... | PHP |
ebd0a60411cd736eff89f649a6ca50f464ca3fb4 | 123 | 2023-06-07 12:44:50+02:00 | -7,200 | ['44c5e2e628b33d13d72a95c8337059d00f82debd'] | Force CreateProjectCommand to use the installed composer.json (#11493) | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -469,6 +469,13 @@ protected function installRootPackage(IOInterface $io, Config $config, string $p\n $io->writeError('<info>Created projec... | PHP |
9f3e2105da38475088a4fe5b3d18b636d6bc3ee7 | 281 | 2023-06-07 14:35:16+02:00 | -7,200 | ['ebd0a60411cd736eff89f649a6ca50f464ca3fb4'] | Add IOMock and get rid of all withConsecutive calls in tests (#11497) | [{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5301,6 +5301,16 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../tests/Composer/Test/Json/JsonManipulatorTest.php\n \n+\t\t-\n+\t\t\tmessage: "#^Offset \'ask\' might not exist on array\\\\{ask\... | PHP |
3ae662f4c7be3f37aa8628d3540486ba79c1de94 | 281 | 2023-06-07 15:19:44+02:00 | -7,200 | ['902a153741e04043a40d94362973d073309f768d'] | Fix EventDispatcher on windows picking bat files when using "@php binary", fixes #11490 | [{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -351,6 +351,14 @@ protected function doDispatch(Event $event)\n if ($matched && !file_exists($match[0])) {\n ... | PHP |
ff67cdf6e6c9933e925950b0f407b03294456c36 | 281 | 2023-06-07 16:19:44+02:00 | -7,200 | ['3ae662f4c7be3f37aa8628d3540486ba79c1de94'] | Ignore ICU CDLR version fetching when ICU cannot initialize the resource bundle, fixes #11492 | [{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -333,8 +333,10 @@ protected function initialize(): void\n \n // Add a separate version for the CLDR library version\n ... | PHP |
c12b551d3a0453328af2b553889fa9eedb786459 | 281 | 2023-06-08 16:30:13+02:00 | -7,200 | ['7f6de3635478f4c6017c044d9a27a2e1fe8d3cab'] | Update type declarations on ClassLoader, fixes #11482 (#11500) | [{'old_path': 'src/Composer/Autoload/ClassLoader.php', 'new_path': 'src/Composer/Autoload/ClassLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,35 +45,34 @@ class ClassLoader\n /** @var \\Closure(string):void */\n private static $includeFile;\n \n- /** @var ?string */\n+ /** @var string|... | PHP |
45368a5bde130b66a0d5cb38b78c22a931d37451 | 281 | 2023-06-09 17:10:55+02:00 | -7,200 | ['c12b551d3a0453328af2b553889fa9eedb786459'] | Update types some more, refs #11500 | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,3 +1,10 @@\n+### [2.5.8] 2023-06-09\n+\n+ * Fixed regression in edge cases where root package gets added to a repository already during the install process (#11495)\n+ * Fixed EventDispatcher on windows pick... | PHP |
3f385d466fef9bdd355a6ec01ec7c1875bd95f92 | 281 | 2023-06-09 17:13:09+02:00 | -7,200 | ['45368a5bde130b66a0d5cb38b78c22a931d37451'] | Update types some more, refs #11500 | [{'old_path': 'src/Composer/Autoload/ClassLoader.php', 'new_path': 'src/Composer/Autoload/ClassLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -54,7 +54,7 @@ class ClassLoader\n */\n private $prefixLengthsPsr4 = array();\n /**\n- * @var array<string, array<int, string>>\n+ * @var arr... | PHP |
6b146f5195dbe0bab7574ea16ea2468f75fceaf9 | 281 | 2023-06-21 13:54:24+02:00 | -7,200 | ['bbea3e5284fd859373c292c7f696f9647f9a59ef'] | Update plugins testing info
Refs https://github.com/composer/composer/issues/6485#issuecomment-1525807064 | [{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -284,6 +284,10 @@ Now the `custom-plugin-command` is available alongside Composer commands.\n Plugins for an event can be run manually by the `run-script` command. This works the same way as... | PHP |
c7bbd606216d2a5ceea93e6a536c39f6636a1f90 | 196 | 2023-06-21 13:58:42+02:00 | -3,600 | ['6b146f5195dbe0bab7574ea16ea2468f75fceaf9'] | Ensure phpstan/rules.neon is exported (#11508) | [{'old_path': '.gitattributes', 'new_path': '.gitattributes', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,3 +24,6 @@\n /PORTING_INFO export-ignore\n /README.md export-ignore\n /UPGRADE-2.0.md export-ignore\n+\n+# Ref https://github.com/composer/composer/issues/11507\n+/phpstan/rules.neon -export-ignore\n'}] | PHP |
06b4923c475dfb33589dff644ff184ec30e722f6 | 281 | 2023-06-22 16:30:48+02:00 | -7,200 | ['c7bbd606216d2a5ceea93e6a536c39f6636a1f90'] | Add fallback dist type extension to temp archive files for URLs without extension, fixes #11513 (#11520) | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -436,7 +436,12 @@ public function remove(PackageInterface $package, string $path, bool $output = t\n */\n protected function getFileName(Packag... | PHP |
bc28582723723da363513171d41816c9c85f0575 | 31 | 2023-06-23 09:47:36+02:00 | -3,600 | ['06b4923c475dfb33589dff644ff184ec30e722f6'] | Reinstall command test (#11502) | [{'old_path': None, 'new_path': 'tests/Composer/Test/Command/ReinstallCommandTest.php', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,69 @@\n+<?php declare(strict_types=1);\n+\n+/*\n+ * This file is part of Composer.\n+ *\n+ * (c) Nils Adermann <naderman@naderman.de>\n+ * Jordi Boggiano <j.boggiano@seld.be... | PHP |
1db0a4708019d4eed2cf6012a984c527905fe991 | 281 | 2023-06-23 11:15:03+02:00 | -7,200 | ['196ac105055986a176e064c1a221f781572f8588'] | Add prompt to require command if a package name is not found but there are similar names that could be used (#11284)
fixes #11279 | [{'old_path': 'src/Composer/Command/PackageDiscoveryTrait.php', 'new_path': 'src/Composer/Command/PackageDiscoveryTrait.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,6 +15,7 @@\n use Composer\\Factory;\n use Composer\\Filter\\PlatformRequirementFilter\\IgnoreAllPlatformRequirementFilter;\n use Composer\\F... | PHP |
2b18799c4451a8362c9b7e51916a45ecd83d3637 | 281 | 2023-06-23 13:13:20+02:00 | -7,200 | ['1db0a4708019d4eed2cf6012a984c527905fe991'] | Fix problem output of exact constraints to state more clearly that only those versions are matched (#11521)
Fixes #11479 | [{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,7 +26,7 @@\n "composer/ca-bundle": "^1.0",\n "composer/class-map-generator": "^1.0",\n "composer/metadata-minifier": "^1.0",\n- "composer/semver": "^3.0",\n+ "composer/... | PHP |
e8757252e51e9a70ce70568399105887c1d1a389 | 31 | 2023-07-01 13:34:57+02:00 | -3,600 | ['2b18799c4451a8362c9b7e51916a45ecd83d3637'] | Adds .vscode dir to gitignore file (#11524) | [{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,4 +9,5 @@ phpunit.xml\n .vagrant\n Vagrantfile\n .idea\n+.vscode\n .php-cs-fixer.cache\n'}] | PHP |
d05f4791cd3eef7f1937e91d927b89f5f9583f1d | 384 | 2023-07-01 14:04:02+02:00 | -7,200 | ['e8757252e51e9a70ce70568399105887c1d1a389'] | Fix outdated package name regex pattern in documentation (#11523) | [{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,7 @@ separated by `/`. Examples:\n * igorw/event-source\n \n The name must be lowercase and consist of words separated by `-`, `.` or `_`.\n-The complete name should match `^[a-z0-9]([_.-]?[a-z0... | PHP |
69746f699f01f7b33d411cd4ddceeeb3e26b5139 | 423 | 2023-07-01 14:20:19+02:00 | -7,200 | ['d05f4791cd3eef7f1937e91d927b89f5f9583f1d'] | docs: add binary dependencies (#11505) | [{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -50,6 +50,24 @@ PHP versions 5.3.2 - 8.1 are still supported via the LTS releases of Composer (2\n run the installer or the `self-update` command the appropriate Composer version for your PHP\n should be automatically ... | PHP |
68b7a07187a62435e514324052d5a649b6662efb | 510 | 2023-07-18 11:44:53+02:00 | -7,200 | ['69746f699f01f7b33d411cd4ddceeeb3e26b5139'] | Feature: Allow local directory paths in repository of type composer (#11526)
Fixes: #11519 | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -139,9 +139,14 @@ public function __construct(array $repoConfig, IOInterface $io, Config $config,\n {\n parent::__construct();\n ... | PHP |
16d1b11c265831b78be0087aedd772d8200fcd02 | 104 | 2023-07-19 11:28:17+02:00 | -7,200 | ['68b7a07187a62435e514324052d5a649b6662efb'] | Add homepage links in why/why-not commands (#11308) | [{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,10 +24,12 @@\n use Composer\\Repository\\RepositoryFactory;\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n+us... | PHP |
1c9fbeb9785d01cfb59d45eccb63f67134fa3de4 | 117 | 2023-07-19 14:13:06+02:00 | -10,800 | ['16d1b11c265831b78be0087aedd772d8200fcd02'] | Preserve indentation when writing JSON files (#11390)
Refs #11341 | [{'old_path': 'src/Composer/Json/JsonFile.php', 'new_path': 'src/Composer/Json/JsonFile.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -42,12 +42,16 @@ class JsonFile\n \n public const COMPOSER_SCHEMA_PATH = __DIR__ . \'/../../../res/composer-schema.json\';\n \n+ public const INDENT_DEFAULT = \' \';\... | PHP |
c1f2964105f75d2123783b1a649d6c0260316785 | 228 | 2023-07-19 17:38:21+02:00 | 25,200 | ['82bc8cf94e06e388f8917cbde3f0331453216481'] | Allow executing binaries which are not marked executable via shell proxies (#11557) | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -401,7 +401,7 @@ public function url_stat(\\$path, \\$flags)\n fi\n fi\n \n-"\\${dir}/$binFile" "\\$@"\n+sh "\\${dir}/$binFile" "\\$@"\n \n PROXY;\n... | PHP |
e7016b00a9d7f5be76655e82c6968fc289fb9768 | 281 | 2023-07-20 12:52:28+02:00 | -7,200 | ['c1f2964105f75d2123783b1a649d6c0260316785'] | Upgrade to react/promise 3.0.0 (#10429) | [{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,7 +37,7 @@\n "symfony/filesystem": "^5.4 || ^6.0 || ^7",\n "symfony/finder": "^5.4 || ^6.0 || ^7",\n "symfony/process": "^5.4 || ^6.0 || ^7",\n- "react/promise": "^2.8",\n+ ... | PHP |
4b210d916e859262f20e68998ec8756d8d0a0b09 | 140 | 2023-07-21 10:39:20+02:00 | -7,200 | ['e7016b00a9d7f5be76655e82c6968fc289fb9768'] | Add support for phpunit 10 (#11532)
* Use static test data providers
Using non-static methods as a data providers was deprecated in phpunit
10.
* Rename abstract test class
Abstract test case classes with Test suffix are deprecated in PHPUnit
10. We also change the ArchiverTest file name to match the new cl... | [{'old_path': 'tests/Composer/Test/Command/HomeCommandTest.php', 'new_path': 'tests/Composer/Test/Command/HomeCommandTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -57,7 +57,7 @@ public function testHomeCommandWithShowFlag(\n $this->assertSame(trim($expected), trim($appTester->getDisplay(true)));\... | PHP |
ce876e7a6f11c07e72c0a6897d002bcd7eb89f37 | 141 | 2023-07-21 10:59:59+02:00 | -10,800 | ['4b210d916e859262f20e68998ec8756d8d0a0b09'] | Fix broken junctions leading to installation failure on Windows (#11550) | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -785,6 +785,12 @@ public function junction(string $target, string $junction)\n if (!is_dir($target)) {\n throw new IOException(sprintf(\'Cannot junction... | PHP |
8f49166ec6bc3512404b3be49551ab2da3b50971 | 207 | 2023-07-21 11:06:03+02:00 | -7,200 | ['ce876e7a6f11c07e72c0a6897d002bcd7eb89f37'] | Fix lib-curl-openssl parsing for SecureTransport (#11534)
On macOS, if libcurl is built against SecureTransport, the platform repository will contain an invalid package name:
% composer show --platform | grep curl
ext-curl 8.2.7 The curl PHP extension
lib-curl ... | [{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -238,7 +238,12 @@ protected function initialize(): void\n $parsedVersion = Version::parseOpenssl($sslMatches['versio... | PHP |
cf8ea3c70e90146d3c6e0d7bb51101ac46484d1b | 242 | 2023-07-21 11:09:32+02:00 | -3,600 | ['8f49166ec6bc3512404b3be49551ab2da3b50971'] | GitHubDriver: better handle empty composer.json file (#11552) | [{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -310,7 +310,7 @@ public function getFileContent(string $file, string $identifier): ?string\n $resource = $this->getContents($resource['g... | PHP |
9eb9e0dcb38f725629869dbed24aca78a647d1eb | 118 | 2023-07-21 11:10:15+02:00 | -7,200 | ['cf8ea3c70e90146d3c6e0d7bb51101ac46484d1b'] | Fix: Require tests on PHP 8.2 to pass (#11554) | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,6 +30,7 @@ jobs:\n - "7.4"\n - "8.0"\n - "8.1"\n+ - "8.2"\n dependencies: [locked]\n os: ... | PHP |
07f706e57de283d152bfba1af0dc25b660cffc5d | 207 | 2023-07-21 11:28:36+02:00 | -7,200 | ['9eb9e0dcb38f725629869dbed24aca78a647d1eb'] | Fix 'composer show --platform <package>' erroring if no composer.json is present (#11533)
Sort of related to #11046 (although this is not a regression, but didn't work before, either) | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -815,7 +815,7 @@ protected function printMeta(CompletePackageInterface $package, array $versions,\n $io->write('<info>homepage</info> : ' . $package->getHom... | PHP |
3e9c148b63aeeb089e155ef5c1e070fb15eda00d | 207 | 2023-07-21 11:29:38+02:00 | -7,200 | ['07f706e57de283d152bfba1af0dc25b660cffc5d'] | Fix trailing whitespace in 'composer show -N' (#11536)
The name column was always padded to maximum width, even if no other columns were printed.
This makes it difficult to use the output e.g. in pipelines.
Fixed for all possible columns, and with tests for two cases (regular show and show outdated). | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -442,6 +442,10 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $exitCode = 0;\n $viewData = [];\n $viewMetaD... | PHP |
a6c7b0b32753b34abb246d00ed0985b6b88ce064 | 290 | 2023-07-21 14:29:56+02:00 | -7,200 | ['3e9c148b63aeeb089e155ef5c1e070fb15eda00d'] | Retry download if curl error 55 is encountered (#11543) | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -357,6 +357,13 @@ public function tick(): void\n continue;\n }\n \n+ // TODO: Remove this a... | PHP |
7f78decad7202c1942090bd6f896c98478fbd984 | 196 | 2023-07-21 14:34:59+02:00 | -3,600 | ['a6c7b0b32753b34abb246d00ed0985b6b88ce064'] | Fix PHPStan after running autoloader tests (#11558) | [{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,7 @@ parameters:\n excludePaths:\n - '../tests/Composer/Test/Fixtures/*'\n - '../tests/Composer/Test/Autoload/Fixtures/*'\n+ - '../tests/Composer/Test/Autoload/Mini... | PHP |
0cdabcc4ee3a4daf43db746acf9b041ab9214c0b | 281 | 2023-07-21 14:36:38+02:00 | -7,200 | ['7f78decad7202c1942090bd6f896c98478fbd984'] | Add audit.ignored config setting to ignore security advisories by id or CVE id, fixes #11298 (#11556) | [{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -101,6 +101,24 @@ optionally be an object with package name patterns for keys for more granular in\n > configuration in global and package configurations the string notation\n > is translated to a `*` pac... | PHP |
f752a9e3584de3f559d2fc41c6bd9a6d2daf5c44 | 386 | 2023-07-21 14:47:54+02:00 | -7,200 | ['0cdabcc4ee3a4daf43db746acf9b041ab9214c0b'] | Unify wording in docs (#11545) | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -968,7 +968,7 @@ performance.\n * **--ignore-platform-req:** ignore a specific platform requirement (`php`, `hhvm`,\n `lib-*` and `ext-*`) and skip the [platform check](07-runtime.md#platform-check) for it.\n... | PHP |
ff70ab7ce91cb4dc0057f472ddcbb8e99813d44d | 21 | 2023-07-26 08:19:20+02:00 | -7,200 | ['f752a9e3584de3f559d2fc41c6bd9a6d2daf5c44'] | Minor Typo CHANGELOG.md 2.5.8 release (#11564)
ICU CDLR -> ICU CLDR (issue has correct title). | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,7 +2,7 @@\n \n * Fixed regression in edge cases where root package gets added to a repository already during the install process (#11495)\n * Fixed EventDispatcher on windows picking bat files when using "... | PHP |
f4738d97b78721196b81f2dcc5feda39739cbb95 | 281 | 2023-07-28 19:33:33+02:00 | -7,200 | ['ff70ab7ce91cb4dc0057f472ddcbb8e99813d44d'] | Add support for Application::setCatchErrors in symfony 6.4+, refs symfony/symfony#50420 | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -87,6 +87,10 @@ class Application extends BaseApplication\n \n public function __construct(string $name = 'Composer', string $version = '')\n {\n+ if... | PHP |
9c25633d6d88f08a67488bc50b9263e2b537cc43 | 196 | 2023-08-02 11:55:24+02:00 | -3,600 | ['f4738d97b78721196b81f2dcc5feda39739cbb95'] | Set $_SERVER['SCRIPT_NAME'] within proxy command (#11562) | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -359,6 +359,11 @@ public function url_stat(\\$path, \\$flags)\n \n $globalsCode\n $streamProxyCode\n+\n+if (__FILE__ === realpath(\\$_SERVER['SCRIPT_NAM... | PHP |
c5baa37cdf9b8623bb56236f16f56202620572a4 | 5 | 2023-08-03 11:28:29+02:00 | -43,200 | ['9c25633d6d88f08a67488bc50b9263e2b537cc43'] | Update Silverstripe casing (#11565) | [{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -91,7 +91,7 @@ Out of the box, Composer supports four types:\n - **library:** This is the default. It will copy the files to `vendor`.\n - **project:** This denotes a project rather than a library. For ex... | PHP |
7ffcaacd08e4820ca3a43631999054df941e9788 | 281 | 2023-08-04 11:05:59+02:00 | -7,200 | ['c5baa37cdf9b8623bb56236f16f56202620572a4'] | Fix ignored config merging when audit is present but ignored isnt | [{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -212,7 +212,7 @@ public function merge(array $config, string $source = self::SOURCE_UNKNOWN): voi\n $currentIgnores = $this->config['audit']['ignored'];\n ... | PHP |
95dca79fc2e18c3a4e33f207c1fcaa7d5b559400 | 281 | 2023-08-04 11:06:00+02:00 | -7,200 | ['7ffcaacd08e4820ca3a43631999054df941e9788'] | Output error message in verbose mode before asking for credentials, fixes #11570 | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -223,6 +223,7 @@ public function runCommand(callable $commandCallable, string $url, ?string $cwd,\n }\n \n $this->io->writeError(' Authenticati... | PHP |
f605389dc3101c903081ed0e95f9a872a8bfc930 | 21 | 2023-08-16 14:05:14+02:00 | -7,200 | ['95dca79fc2e18c3a4e33f207c1fcaa7d5b559400'] | Minor Typo CHANGELOG.md 2.3.0-RC1 release (#11583)
- ..._PLATFOR_... -> ..._PLATFORM_... (missing M)
- Backticks style to streamlined with other environment parameters around. | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -254,7 +254,7 @@\n * Added abandoned flag to `show`/`outdated` commands JSON-formatted output (#10485)\n * Added config.reference option to `path` repositories to configure the way the reference is generated,... | PHP |
c9a4b2db11019117b0344cd9aa5f300510996243 | 237 | 2023-08-29 14:17:16+02:00 | 25,200 | ['f605389dc3101c903081ed0e95f9a872a8bfc930'] | Fix #11507: phpstan/rules.neon missing from archives (#11586) | [{'old_path': '.gitattributes', 'new_path': '.gitattributes', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,7 +11,7 @@\n # Exclude non-essential files from dist\n /.github/ export-ignore\n /doc export-ignore\n-/phpstan/ export-ignore\n+/phpstan/* export-ignore\n /tests/ export-ignore\n /.editorconfig export-ign... | PHP |
4137bf38ad358f53957742b550a1b7e2d010274d | 428 | 2023-08-29 15:06:19+02:00 | 18,000 | ['c9a4b2db11019117b0344cd9aa5f300510996243'] | Tests for base dependency command (#11547)
* add a test case for "not provided a required parameter"
* add a test cases for "not provided locked file"
* cleanup for case provider
* add a test case for "package existence"
* add a test case for "warning when dependencies are not installed"
* fix the test ... | [{'old_path': None, 'new_path': 'tests/Composer/Test/Command/BaseDependencyCommandTest.php', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,457 @@\n+<?php declare(strict_types=1);\n+\n+/*\n+ * This file is part of Composer.\n+ *\n+ * (c) Nils Adermann <naderman@naderman.de>\n+ * Jordi Boggiano <j.boggiano@s... | PHP |
50623380798dccafa03a68e3acc9c6620b43e9b8 | 242 | 2023-08-29 15:16:34+02:00 | 0 | ['4137bf38ad358f53957742b550a1b7e2d010274d'] | Audit: ignores configured repository options (#11173)
* Audit: ignores configured repository options
* ComposerRepository: add test case to assert that repo http options are used to make security advisory POST request | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -690,14 +690,15 @@ static function ($data) use ($name, $create) {\n }\n \n if ($apiUrl !== null && count($packageConstraintMap) ... | PHP |
83792838c954d713bf9773e43ab4baf379aaaa59 | 281 | 2023-08-30 10:45:57+02:00 | -7,200 | ['50623380798dccafa03a68e3acc9c6620b43e9b8'] | Fix problem output bug when purely numeric versions are condensed | [{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -453,7 +453,7 @@ private static function getPlatformPackageVersion(Pool $pool, string $packageNam\n }\n \n /**\n- * @param array<string, s... | PHP |
bbd2c9613e9359480173a4504488327bb1e22347 | 281 | 2023-08-30 11:19:47+02:00 | -7,200 | ['83792838c954d713bf9773e43ab4baf379aaaa59'] | Fix uncaught promises when doing synchronous file downloads that fail, fixes #11563 | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -107,7 +107,10 @@ public function get(string $url, array $options = [])\n if ('' === $url) {\n throw new \\InvalidArgumentException('$url must n... | PHP |
094fb6cd70007d2d469c2cf699cf33ca292e39dc | 281 | 2023-08-30 11:38:36+02:00 | -7,200 | ['bbd2c9613e9359480173a4504488327bb1e22347'] | Fix support for react/promise 2.x | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -108,7 +108,7 @@ public function get(string $url, array $options = [])\n throw new \\InvalidArgumentException('$url must not be an empty string');\n ... | PHP |
512690dba4f021c11fc1ef758bffe6080c1cb9b1 | 55 | 2023-08-30 11:42:33+02:00 | -7,200 | ['094fb6cd70007d2d469c2cf699cf33ca292e39dc'] | PHP 8.3 | Tests: fix deprecation notices (#11599)
* PHP 8.3 | ZipDownloaderTest: fix deprecation notice
Calling `ReflectionProperty::setValue()` with only one argument (to set a static property) is deprecated.
Passing `null` as the first (`$object`) parameter will work cross-version.
As the `ZipDownloaderTest::... | [{'old_path': 'tests/Composer/Test/Downloader/ZipDownloaderTest.php', 'new_path': 'tests/Composer/Test/Downloader/ZipDownloaderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -65,12 +65,8 @@ public function setPrivateProperty(string $name, $value, $obj = null): void\n $reflectionClass = new \\Refle... | PHP |
5af6151493ab2e22838204fdad4ffc7ebd094937 | 55 | 2023-08-30 11:43:12+02:00 | -7,200 | ['512690dba4f021c11fc1ef758bffe6080c1cb9b1'] | PHP 8.3 | ComposerRepositoryTest: fix test failure (#11602)
Prior to PHP 8.3, ReflectionMethod could set a private method on a parent class to accessible. This is no longer possible in PHP 8.3 since php/php-src 9470 and breaks the Composer\Test\Repository\ComposerRepositoryTest::testWhatProvides test.
Also see: https... | [{'old_path': 'tests/Composer/Test/Repository/ComposerRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/ComposerRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -161,7 +161,7 @@ public function testWhatProvides(): void\n ],\n ]));\n \n- $reflMethod... | PHP |
388485b98ad8ee723bb43ce1c72ca8bb8cd533be | 227 | 2023-08-30 11:46:40+02:00 | 10,800 | ['5af6151493ab2e22838204fdad4ffc7ebd094937'] | Update 05-repositories.md (#11603) | [{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -225,7 +225,7 @@ This field is optional.\n #### list\n \n The `list` field allows you to return the names of packages which match a\n-given field (or all names if no filter is present). It sho... | PHP |
80b02cdef9eb68de01b4aba2e7cbca333274bfc2 | 55 | 2023-08-30 14:09:14+02:00 | -7,200 | ['388485b98ad8ee723bb43ce1c72ca8bb8cd533be'] | CONTRIBUTING: remove outdated suggestion (#11600)
This doesn't appear to be needed anymore since 2a771dfb2d911754dd4d91aecb2f0778ef2a3f4c.
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com> | [{'old_path': '.github/CONTRIBUTING.md', 'new_path': '.github/CONTRIBUTING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -44,10 +44,6 @@ To achieve this, you need to acquire the Composer source code:\n You can run the test suite by executing `vendor/bin/simple-phpunit` when inside the\n composer directory, and... | PHP |
52f52dd636d615d45019184d1001a902d809d956 | 281 | 2023-08-30 15:02:59+02:00 | -7,200 | ['80b02cdef9eb68de01b4aba2e7cbca333274bfc2'] | Disable color output in tests by default to avoid issues on windows, fixes #11598 | [{'old_path': 'tests/bootstrap.php', 'new_path': 'tests/bootstrap.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -27,6 +27,11 @@\n \n Platform::putEnv('COMPOSER_TESTS_ARE_RUNNING', '1');\n \n+// ensure Windows color support detection does not attempt to use colors\n+// as this is dependent on env vars and not ... | PHP |
bb1aa8432f4c9abbbdc224f898af0c4e2815cb43 | 55 | 2023-08-30 15:53:45+02:00 | -7,200 | ['52f52dd636d615d45019184d1001a902d809d956'] | GH Actions: run against PHP 8.3 (#11601)
* GH Actions: run against PHP 8.3
What with PHP 8.3 being close to the first RC, I'd like to suggest enabling runs against PHP 8.3 for the linting and test runs.
* Linting passes on PHP 8.3, so I propose to not allow new failures to be introduced there.
* The test runs, ... | [{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,6 +31,7 @@ jobs:\n - "8.0"\n - "8.1"\n - "8.2"\n+ - "8.3"\n dependencies: [locked]\n os: ... | PHP |
879524d8e3fc04a0bd9a1b6f29ea49f1280741c0 | 346 | 2023-08-30 16:09:05+02:00 | -7,200 | ['bb1aa8432f4c9abbbdc224f898af0c4e2815cb43'] | Add tests for DumpAutoloadCommand (#11581) | [{'old_path': None, 'new_path': 'tests/Composer/Test/Command/DumpAutoloadCommandTest.php', 'type': <ModificationType.ADD: 1>, 'diff': "@@ -0,0 +1,77 @@\n+<?php declare(strict_types=1);\n+\n+namespace Composer\\Test\\Command;\n+\n+use Composer\\Test\\TestCase;\n+use InvalidArgumentException;\n+\n+class DumpAutoloadComma... | PHP |
25f4854ad710a892222d120959acf36fe6b65d84 | 227 | 2023-08-30 18:03:12+02:00 | 10,800 | ['879524d8e3fc04a0bd9a1b6f29ea49f1280741c0'] | Fix typo 03-cli.md (#11587) | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -74,7 +74,7 @@ php composer.phar init\n * **--repository:** Provide one (or more) custom repositories. They will be stored\n in the generated composer.json, and used for auto-completion when prompting for\n ... | PHP |
83771ce9bafcdf3dba7eb0af3f65a66d8593bdae | 482 | 2023-08-30 18:05:58+02:00 | -7,200 | ['25f4854ad710a892222d120959acf36fe6b65d84'] | Fix the mtime of the vendor folder when running composer install (#11593)
When splitting the logic between the lock file management and the vendor
folder management in composer 2.0, the logic playing nice with make was
broken by running the logic based on operations performed in the lock
file instead of operations ... | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -609,16 +609,6 @@ protected function doUpdate(InstalledRepositoryInterface $localRepo, bool $doIns\n $this->io->writeError('<info>Writing lock file</info>');\n }\n ... | PHP |
db53c65986cc9f4f1437cee965f4e5e576362d7a | 21 | 2023-08-30 21:35:59+02:00 | -7,200 | ['83771ce9bafcdf3dba7eb0af3f65a66d8593bdae'] | COMPOSER_DISABLE_NETWORK aware `diagnose` checks; SKIP output (#11597)
Make `diagnose` checks aware of COMPOSER_DISABLE_NETWORK (true) and skip
Composer network operations that would otherwise spill stack traces into
diagnostic messages and taint the result as error while the check itself
is not applicable/useful w... | [{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -251,7 +251,7 @@ private function checkGit(): string\n */\n private function checkHttp(string $proto, Config $config)\n {\n- $result = $... | PHP |
02e4a2d1a3c6a6f85ab5daa4190d063178d6a90d | 346 | 2023-08-30 21:42:45+02:00 | -7,200 | ['db53c65986cc9f4f1437cee965f4e5e576362d7a'] | Add test case for `DumpAutoloadCommand` with failing --strict-psr check (#11606) | [{'old_path': 'tests/Composer/Test/Command/DumpAutoloadCommandTest.php', 'new_path': 'tests/Composer/Test/Command/DumpAutoloadCommandTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -47,6 +47,24 @@ public function testUsingOptimizeAndStrictPsr(): void\n $this->assertMatchesRegularExpression('/Genera... | PHP |
6fd145f01e0bacc7032f492a7f6cbfc012371995 | 346 | 2023-08-30 21:43:16+02:00 | -7,200 | ['02e4a2d1a3c6a6f85ab5daa4190d063178d6a90d'] | Allow --strict-psr in `DumpAutoloadCommand` also with --classmap-authoritative (#11607) | [{'old_path': 'src/Composer/Command/DumpAutoloadCommand.php', 'new_path': 'src/Composer/Command/DumpAutoloadCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -70,8 +70,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $apcuPrefix = $input->getOption('apcu-prefix');\... | PHP |
1c4ac1c4372698d6391e9908667a6584492be21a | 503 | 2023-08-31 10:35:02+02:00 | 14,400 | ['6fd145f01e0bacc7032f492a7f6cbfc012371995'] | Add `dumpautoload --dry-run` option (#11608) | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -70,6 +70,11 @@ class AutoloadGenerator\n */\n private $apcuPrefix;\n \n+ /**\n+ * @var bool\n+ */\n+ private $dryRun = false;\... | PHP |
1a2bd387640930442b54058e40d9d39538b5111c | 208 | 2023-08-31 11:05:49+02:00 | -7,200 | ['1c4ac1c4372698d6391e9908667a6584492be21a'] | allow bumping for patch level version constraints fixes #11579 (#11590) | [{'old_path': 'src/Composer/Package/Version/VersionBumper.php', 'new_path': 'src/Composer/Package/Version/VersionBumper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -83,7 +83,7 @@ public function bumpRequirement(ConstraintInterface $constraint, PackageInterfac\n (?<=,|\\ |\\||^) # leading separat... | PHP |
e0abc40dedb6124b552ccadd5658de92e2008e67 | 62 | 2023-08-31 13:46:43+02:00 | -7,200 | ['e1587cf698f70492bd9f0a8a97e14650a354a8a6'] | Add test for `ArchiveCommand` with package name (#11551)
* test(ArchiveCommand): Add test for ArchiveCommand with package name
* fix : using explicit variable name for eventDispatcher Mock
---------
Co-authored-by: Damien Carrier <damien.carrier@alximy.io> | [{'old_path': 'tests/Composer/Test/Command/ArchiveCommandTest.php', 'new_path': 'tests/Composer/Test/Command/ArchiveCommandTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,9 +15,16 @@\n use Composer\\Composer;\n use Composer\\Config;\n use Composer\\Factory;\n+use Composer\\Package\\RootPackage;\n use C... | PHP |
0ab4dfba7cd15bf37edce6162f677bb598618655 | 387 | 2023-09-01 10:04:31+02:00 | -7,200 | ['b6fe9419114e61124ad136b7849cd5eed234ccc4'] | Change audit.ignore behavior before 2.6.0 (#11605)
* Still report ignored security advisories
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be> | [{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -105,15 +105,31 @@ optionally be an object with package name patterns for keys for more granular in\n \n Security audit configuration options\n \n-### ignored\n+### ignore\n \n-A set of advisory ids, remo... | PHP |
7dc5666f33c17e89d98e3bf870961dc9a28f4b4c | 281 | 2023-09-01 10:05:13+02:00 | -7,200 | ['0ab4dfba7cd15bf37edce6162f677bb598618655'] | Avoid failing the require command if the audit step failed | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -488,7 +488,7 @@ private function doUpdate(InputInterface $input, OutputInterface $output, IOInte\n }\n \n $status = $install->run();\n- ... | PHP |
90cbb144b29576509c1bfdb1c926bb1c296815a4 | 508 | 2023-09-03 10:54:07+02:00 | -7,200 | ['d221d5c69a3bf16763d3096ad75bbd90d4f7a4f4'] | Fix exit code 5 on composer require/create-project command (#11616) | [{'old_path': 'src/Composer/Command/InstallCommand.php', 'new_path': 'src/Composer/Command/InstallCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -136,6 +136,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n ->setApcuAutoloader($apcu, $apcuPrefix)\n ... | PHP |
98a588eb908f6abb08949cb2cb23693d9a2b8da7 | 281 | 2023-09-03 11:13:54+02:00 | -7,200 | ['90cbb144b29576509c1bfdb1c926bb1c296815a4'] | Avoid COMPOSER env being set if not necessary as it can cause issues with scripts, fixes #11613, refs #11493 | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -472,8 +472,8 @@ protected function installRootPackage(IOInterface $io, Config $config, string $p\n // ensure that the env var being set d... | PHP |
370b394714aa6284dfd87c69aeab39e29dab4b75 | 52 | 2023-09-11 13:52:05+02:00 | -3,600 | ['77de19dcaa0025a130e6e1a95858fb08e20ca297'] | updated memory limit distinction for memory limit errors in docs (#11624) | [{'old_path': 'doc/articles/troubleshooting.md', 'new_path': 'doc/articles/troubleshooting.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -153,7 +153,6 @@ See [aliases](aliases.md) for more information.\n \n Use `php composer.phar config --list --source` to see where each config value originated from.\n \n-\n #... | PHP |
087b21d68719cc1a39b80e2b4da2e6a1ff777431 | 482 | 2023-09-11 17:40:43+02:00 | -7,200 | ['370b394714aa6284dfd87c69aeab39e29dab4b75'] | Fix the promise resolution for the cleanup logic (#11620) | [{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -654,10 +654,10 @@ private function runCleanup(array $cleanupPromises): void\n $promises[] = new \\React\\Promise\\Promise(static fu... | PHP |
755e89fc91318225be12ead02572fface9522334 | 281 | 2023-09-11 17:45:19+02:00 | -7,200 | ['087b21d68719cc1a39b80e2b4da2e6a1ff777431'] | Fix loading of root aliases on path repo packages when doing partial updates, fixes #11630 (#11632) | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -421,7 +421,10 @@ private function loadPackage(Request $request, array $repositories, BasePackage\n \n // if propagateUpdate is false ... | PHP |
1ac0ea87392d4722607920a050cf7bd26440c1f2 | 281 | 2023-09-12 10:10:53+02:00 | -7,200 | ['755e89fc91318225be12ead02572fface9522334'] | Retry curl receive errors when connection reset by peer, fixes #11622 | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -349,7 +349,7 @@ public function tick(): void\n (!isset($job['options']['http']['method']) || $job['options']['http']['method'] ==... | PHP |
7a7f364184377d83b5f2a0708b8d863ea3ad9aa7 | 281 | 2023-09-12 11:28:26+02:00 | -7,200 | ['1ac0ea87392d4722607920a050cf7bd26440c1f2'] | Fix bitbucket redirect URLs failing old PHP builds which do not support long headers
https://github.com/php/php-src/commit/51e2015af3fc4757a666736aae7899a43f76ae6d | [{'old_path': 'tests/Composer/Test/Util/RemoteFilesystemTest.php', 'new_path': 'tests/Composer/Test/Util/RemoteFilesystemTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -277,6 +277,7 @@ public static function provideBitbucketPublicDownloadUrls(): array\n *\n * @dataProvider provideBitbucketPublic... | PHP |
1e4966c31306584c25a9922831f20a8257185a6f | 288 | 2023-09-13 09:59:22+02:00 | 14,400 | ['7a7f364184377d83b5f2a0708b8d863ea3ad9aa7'] | Get realpath for `ZipArchive` (#11636) | [{'old_path': 'src/Composer/Package/Archiver/ZipArchiver.php', 'new_path': 'src/Composer/Package/Archiver/ZipArchiver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,6 +31,11 @@ class ZipArchiver implements ArchiverInterface\n public function archive(string $sources, string $target, string $format, arra... | PHP |
5474dc9b5bb3f93601a64a0c818e65279cee65da | 534 | 2023-09-13 10:42:47+02:00 | -7,200 | ['1e4966c31306584c25a9922831f20a8257185a6f'] | Fixed replaced packages being incorrectly missing when unlocked by an old version (#11629)
Co-authored-by: Nils Adermann <naderman@naderman.de> | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -672,6 +672,10 @@ private function unlockPackage(Request $request, array $repositories, string $na\n \n private function markPackageNameFo... | PHP |
e2f5afd4cdde2ba180dca8b9c986f2e411b7be77 | 46 | 2023-09-13 14:11:00+02:00 | -7,200 | ['5474dc9b5bb3f93601a64a0c818e65279cee65da'] | Add warning when duplicate "files" autoload rules are detected (#11109)
Co-authored-by: Wout Gevaert <wout@wikibase.nl>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be> | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -679,10 +679,26 @@ protected function getIncludePathsFile(array $packageMap, Filesystem $filesystem\n */\n protected function getIncludeFiles... | PHP |
3bc72f75cbfc43b25ba4fb6013449b69cf29fc66 | 281 | 2023-09-13 18:17:28+02:00 | -7,200 | ['e2f5afd4cdde2ba180dca8b9c986f2e411b7be77'] | Fix build, update deps | [{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -877,16 +877,16 @@\n },\n {\n "name": "seld/signal-handler",\n- "version": "2.0.1",\n+ "version": "2.0.2",\n "source": {\n "type": "... | PHP |
e3484c8581c7e59c2132be27846c4fdc49c0769c | 281 | 2023-09-14 11:30:09+02:00 | -7,200 | ['3bc72f75cbfc43b25ba4fb6013449b69cf29fc66'] | Add audit.abandoned warnings for abandoned packages, fixes #11623 (#11639) | [{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -135,6 +135,14 @@ or\n }\n ```\n \n+### abandoned\n+\n+Defaults to `report` in Composer 2.6, and defaults to `fail` from Composer 2.7 on. Defines whether the audit command reports abandoned packages or no... | PHP |
218b9041c9f7f393d0739a64e9f612d32ad91ce0 | 31 | 2023-09-14 11:45:18+02:00 | -3,600 | ['e3484c8581c7e59c2132be27846c4fdc49c0769c'] | Test status command (#11522) | [{'old_path': None, 'new_path': 'tests/Composer/Test/Command/StatusCommandTest.php', 'type': <ModificationType.ADD: 1>, 'diff': "@@ -0,0 +1,108 @@\n+<?php declare(strict_types=1);\n+\n+/*\n+ * This file is part of Composer.\n+ *\n+ * (c) Nils Adermann <naderman@naderman.de>\n+ * Jordi Boggiano <j.boggiano@seld.be>\... | PHP |
af90590c8f88cf7ecc146ac0685b1cb3f69de84d | 281 | 2023-09-14 11:47:53+02:00 | -7,200 | ['218b9041c9f7f393d0739a64e9f612d32ad91ce0'] | Update baseline (1689, 92) | [{'old_path': 'phpstan/baseline-8.1.neon', 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -180,11 +180,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Util/Http/CurlDownloader.php\n \n-\t\t-\n-\t\t\tmessage: "#^Parameter \\\\#1 \\\\$haystack of function strpos... | PHP |
1f9f91cfea32e946bf7cd6add08c699b2141e480 | 512 | 2023-09-22 09:49:08+02:00 | -10,800 | ['39faacbca937815e8667a81edbf78953f4e39366'] | Changed psr/logger to psr/log (#11652) | [{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -450,7 +450,7 @@ that exact version, and not any other version, which would be incorrect.\n \n Map of packages that are provided by this package. This is mostly\n useful for implementations of common inte... | PHP |
755de04bf52a612517df8b9f44151d996c657e64 | 387 | 2023-09-26 14:23:45+02:00 | -7,200 | ['1f9f91cfea32e946bf7cd6add08c699b2141e480'] | Fix abandoned package list JSON serialization (#11647)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be> | [{'old_path': 'src/Composer/Advisory/Auditor.php', 'new_path': 'src/Composer/Advisory/Auditor.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -86,7 +86,10 @@ public function audit(IOInterface $io, RepositorySet $repoSet, array $packages,\n if ($ignoredAdvisories !== []) {\n $json['ig... | PHP |
f6ce8349c511f6ce991b9cff763c16f8c3f1e070 | 534 | 2023-09-27 09:08:29+02:00 | -7,200 | ['755de04bf52a612517df8b9f44151d996c657e64'] | Use CompilingMatcher in DefaultPolicy for performance reasons (#11638)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be> | [{'old_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'new_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,7 @@\n use Composer\\Package\\AliasPackage;\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\PackageInterface;\n+u... | PHP |
892eaacedf34686b0f705521eb1673bc4e003ecc | 281 | 2023-09-27 11:28:33+02:00 | -7,200 | ['c7e696dbdeefada3371eced094d41caf950aa843'] | Optimize show -a by loading only the requested package (#11659)
Fixes #11648 | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -102,11 +102,21 @@ class PoolBuilder\n * @var BasePackage[]\n */\n private $unacceptableFixedOrLockedPackages = [];\n- /** @v... | PHP |
b608b8e87eeafec47fa04a8156ea44fc3f9745b0 | 423 | 2023-09-28 11:43:52+02:00 | -7,200 | ['77fadf0e1ed75904fc284c71891f2129ddafd509'] | feat: improve Composer's output reproducibility (#11663)
* AutoloadGenerator: add `Locker` parameter to the `dump` method
* AutoloadGenerator: do not create a random hash, re-use the one from the lock file if it exists
* FileSystem: make sure `safeCopy` copy also the file time metadata | [{'old_path': 'doc/01-basic-usage.md', 'new_path': 'doc/01-basic-usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -152,6 +152,13 @@ a Composer `install` to make sure the vendor directory is up in sync with your\n php composer.phar install\n ```\n \n+Composer enables reproducible builds by default. This mean... | PHP |
cb363b0e84459b8d280d0ff6b5a7d4ccde93420d | 281 | 2023-10-06 09:34:10+02:00 | -7,200 | ['64c5bdd55b7d95d263c87b5a1c6e187b3f0ac01e'] | Fix autoload generator dump() non-BC signature change in 2.6.4 | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -173,7 +173,7 @@ public function setPlatformRequirementFilter(PlatformRequirementFilterInterface\n * @throws \\Seld\\JsonLint\\ParsingException\n... | PHP |
3e22e1ceda0d794c114bb4688c3fd533908b3842 | 508 | 2023-10-06 09:53:39+02:00 | -7,200 | ['cb363b0e84459b8d280d0ff6b5a7d4ccde93420d'] | Fix error when vendor dir contains broken symlinks (#11670) | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -251,10 +251,13 @@ public function ensureDirectoryExists(string $directory)\n $directory.' exists and is not a directory.'\n );\n ... | PHP |
40cb97870878be64743a85d1e1b8aabaacda84e2 | 423 | 2023-10-06 09:59:15+02:00 | -7,200 | ['3e22e1ceda0d794c114bb4688c3fd533908b3842'] | chore: remove `composer.lock` from `.gitattributes` (#11674) | [{'old_path': '.gitattributes', 'new_path': '.gitattributes', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -19,7 +19,6 @@\n /.php-cs-fixer.php export-ignore\n /CHANGELOG.md export-ignore\n /CODE_OF_CONDUCT.md export-ignore\n-/composer.lock export-ignore\n /phpunit.xml.dist export-ignore\n /PORTING_INFO export-igno... | PHP |
9a407b5ad3a2115645fcd3ee931332a5230edcfa | 297 | 2023-10-11 13:43:30+02:00 | -7,200 | ['d2bd9836a604f5b475013c077706e6dc6f420e35'] | 10796 Increase coverage of ShowCommand (#11677)
* Added more tests for ShowCommand class
By doing so, my local setup shows increase in coverage from some 38% to
67%.
* PHP-CS-Fixer
* PHPStan fixes | [{'old_path': 'tests/Composer/Test/Command/ShowCommandTest.php', 'new_path': 'tests/Composer/Test/Command/ShowCommandTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,6 +12,7 @@\n \n namespace Composer\\Test\\Command;\n \n+use Composer\\Package\\Link;\n use Composer\\Pcre\\Preg;\n use Composer\\Pcre\\Reg... | PHP |
c827c93b62186488dbffdf4b614413ae7a785607 | 196 | 2023-10-11 14:19:31+02:00 | -3,600 | ['9a407b5ad3a2115645fcd3ee931332a5230edcfa'] | Use global constant if available for libpq version (#11684) | [{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -449,6 +449,12 @@ protected function initialize(): void\n break;\n \n case 'pgsql':\n+ if... | PHP |
c66894278c03bf88ccae12fa3d8f3a9d68e64495 | 281 | 2023-10-25 17:13:36+02:00 | -7,200 | ['708b07a2fe90bc71a8d715cbc30281c4b854bd01'] | Bump dev version to 2.7, fix issues with symfony 7 | [{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,7 +65,7 @@\n },\n "extra": {\n "branch-alias": {\n- "dev-main": "2.6-dev"\n+ "dev-main": "2.7-dev"\n },\n "phpstan": {\n "includes": [\n'}, ... | PHP |
7a09e05560652f24a2d14e5966fa2f118f499e3e | 196 | 2023-10-25 18:04:52+02:00 | -3,600 | ['c2414c1d17fe3096a308dcb03247504f59b176d2'] | Bump wildcard constraints to >=current (#11694) | [{'old_path': 'src/Composer/Package/Version/VersionBumper.php', 'new_path': 'src/Composer/Package/Version/VersionBumper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -40,6 +40,7 @@ class VersionBumper\n * * ^3@dev + 3.2.99999-dev -> ^3.2@dev\n * * ~2 + 2.0-beta.1 -> ~2\n * * dev-mas... | PHP |
899dcedf66fcd9b8f6876248ee813e5d82a0de68 | 281 | 2023-10-26 10:25:04+02:00 | -7,200 | ['7a09e05560652f24a2d14e5966fa2f118f499e3e'] | Add --minimal-changes mode to perform partial updates --with-dependencies while changing only what is necessary in other dependencies (#11665) | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -229,6 +229,8 @@ php composer.phar update vendor/package:2.0.1 vendor/package2:3.0.*\n * **--prefer-lowest:** Prefer lowest versions of dependencies. Useful for testing minimal\n versions of requirements, gen... | PHP |