Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
fa4d4e20e9cafcb76c3b3703b330a266d7e79158 | 346 | 2021-10-25 10:25:39+02:00 | -7,200 | ['b99e21259c09a6da2614f286b7ad548fec8036a0'] | Add types to `Downloader` (#10193) | [{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -54,9 +54,13 @@ public function cleanup($type, PackageInterface $package, $path, PackageInterfac\n \n /**\n * {@inheritDoc}\n+ *\n+ ... | PHP |
a921d9b233b622ffb10ea1a5fce6be0cff6e1369 | 444 | 2021-10-25 10:44:29+02:00 | -7,200 | ['fa4d4e20e9cafcb76c3b3703b330a266d7e79158'] | Reaching phpstan level 6 in EventDispatcher Exception and Installer folders (#10192) | [{'old_path': 'src/Composer/EventDispatcher/Event.php', 'new_path': 'src/Composer/EventDispatcher/Event.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -95,6 +95,8 @@ public function isPropagationStopped()\n \n /**\n * Prevents the event from being passed to further listeners\n+ *\n+ * @return ... | PHP |
aa4c2ab63c48584aa62ec5bcdd3462ca21752a63 | 346 | 2021-10-25 11:02:54+02:00 | -7,200 | ['a921d9b233b622ffb10ea1a5fce6be0cff6e1369'] | Add types to `Plugin` (#10194) | [{'old_path': 'src/Composer/Plugin/CommandEvent.php', 'new_path': 'src/Composer/Plugin/CommandEvent.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,8 +45,8 @@ class CommandEvent extends Event\n * @param string $commandName The command name\n * @param InputInterface $input\n * @param... | PHP |
3fa7a6cb5104cc2235a767ee7b2df1475c4763a0 | 346 | 2021-10-25 11:09:52+02:00 | -7,200 | ['aa4c2ab63c48584aa62ec5bcdd3462ca21752a63'] | Add types to `Package/Version` (#10199) | [{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,6 +26,8 @@\n *\n * @author Jordi Boggiano <j.boggiano@seld.be>\n * @author Samuel Roze <samuel.roze@gmail.com>\n+ *\n+ * @phpstan-type ... | PHP |
b1a96a314150ef62191d328cf4b43e8cb70328ab | 122 | 2021-10-25 12:58:31+02:00 | -36,000 | ['3fa7a6cb5104cc2235a767ee7b2df1475c4763a0'] | PHPStan level 6 in src/Composer/Repository (#10197) | [{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,7 @@\n \n use Composer\\Package\\Link;\n use Composer\\Package\\PackageInterface;\n+use Composer\\Package\\CompletePackageInterface;\n... | PHP |
13d433fad02ecc272b5cb1cb983b095632f94499 | 346 | 2021-10-25 13:08:05+02:00 | -7,200 | ['b1a96a314150ef62191d328cf4b43e8cb70328ab'] | Add types to `Package/Loader` (#10206) | [{'old_path': 'src/Composer/Package/BasePackage.php', 'new_path': 'src/Composer/Package/BasePackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,7 +23,7 @@\n abstract class BasePackage implements PackageInterface\n {\n /**\n- * @phpstan-var array<string, array{description: string, method: Link::T... | PHP |
6aec6ecbfa0335eadf8232c609b21891f0b7e1bc | 527 | 2021-10-25 13:11:41+02:00 | -7,200 | ['13d433fad02ecc272b5cb1cb983b095632f94499'] | Use `composer.phar` consistently in the examples | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -9,7 +9,7 @@ can give you more information.\n \n As Composer uses [symfony/console](https://github.com/symfony/console) you can call commands by short name if it's not ambiguous.\n ```sh\n-composer dump\n+php c... | PHP |
bb128c465ca852076bd1bd70a77d7cc6d918d57b | 527 | 2021-10-25 13:11:56+02:00 | -7,200 | ['6aec6ecbfa0335eadf8232c609b21891f0b7e1bc'] | Capitalize Composer in the docs | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -230,7 +230,7 @@ to the command.\n php composer.phar require "vendor/package:2.*" vendor/package2:dev-master\n ```\n \n-If you do not specify a package, composer will prompt you to search for a package, and giv... | PHP |
0e96f363e1b9fa1d7c977147ad12fa5d1711ff0b | 281 | 2021-10-25 13:13:01+02:00 | -7,200 | ['13d433fad02ecc272b5cb1cb983b095632f94499'] | Remove redundancy in package type | [{'old_path': 'src/Composer/Repository/ArrayRepository.php', 'new_path': 'src/Composer/Repository/ArrayRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,11 +30,11 @@\n */\n class ArrayRepository implements RepositoryInterface\n {\n- /** @var ?array<PackageInterface&BasePackage> */\n+ /** @va... | PHP |
bd8b39fe01b55b3afba8058afb78adfd0fbb4737 | 346 | 2021-10-25 13:45:09+02:00 | -7,200 | ['36484ff01a322ccfb65aafaa66744a566486c198'] | Add types to `Package` (#10210) | [{'old_path': 'src/Composer/Package/AliasPackage.php', 'new_path': 'src/Composer/Package/AliasPackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -29,6 +29,7 @@ class AliasPackage extends BasePackage\n /** @var bool */\n protected $rootPackageAlias = false;\n /** @var string */\n+ /** @phpsta... | PHP |
f267b01852985da79d2f86f3d0610b8b66feb363 | 346 | 2021-10-25 21:42:03+02:00 | -7,200 | ['81ad4e7e58270afbc38e5fbd26edb45b884a2bfa'] | Use single docblock for parameter types (#10212) | [{'old_path': 'src/Composer/Package/AliasPackage.php', 'new_path': 'src/Composer/Package/AliasPackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -28,8 +28,10 @@ class AliasPackage extends BasePackage\n protected $dev;\n /** @var bool */\n protected $rootPackageAlias = false;\n- /** @var stri... | PHP |
3645d3042c1ee531deda178cbcc5b3fe9ee0181b | 346 | 2021-10-26 12:40:52+02:00 | -7,200 | ['f267b01852985da79d2f86f3d0610b8b66feb363'] | Add types to root namespace (#10213) | [{'old_path': 'src/Composer/Cache.php', 'new_path': 'src/Composer/Cache.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -61,6 +61,8 @@ public function __construct(IOInterface $io, $cacheDir, $allowlist = 'a-z0-9.',\n \n /**\n * @param bool $readOnly\n+ *\n+ * @return void\n */\n public... | PHP |
a7686e82f003284f167a064eacd7e3194d52a3c3 | 171 | 2021-10-26 17:24:17+02:00 | -7,200 | ['3645d3042c1ee531deda178cbcc5b3fe9ee0181b'] | Filter candidates requiring an unknown platform package; fixes #10167 (#10184) | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -869,10 +869,10 @@ private function findBestVersionAndNameForPackage(InputInterface $input, $name,\n return array($name, $requiredVersion ?: '*');\n... | PHP |
15934a083ca895296e13312d05f723904e197fe7 | 282 | 2021-10-26 17:43:03+02:00 | -7,200 | ['a7686e82f003284f167a064eacd7e3194d52a3c3'] | Added link to composer-allow-superuser (#10215) | [{'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': '@@ -17,3 +17,6 @@ The `exec` command will always run third party code as the user which runs `comp\n \n In some cases, like in CI syste... | PHP |
4071125172db4371b2dbde79262c1fd2c4c66d21 | 19 | 2021-10-26 21:05:03+02:00 | -7,200 | ['15934a083ca895296e13312d05f723904e197fe7'] | Added return type docs (#10221) | [{'old_path': 'tests/Composer/Test/Command/RunScriptCommandTest.php', 'new_path': 'tests/Composer/Test/Command/RunScriptCommandTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -88,6 +88,7 @@ public function testDetectAndPassDevModeToEventAndToDispatching($dev, $noDev)\n $command->run($input, $output... | PHP |
79da1c266e456a95e8115bd66c06a43d2679c03a | 346 | 2021-10-26 21:08:54+02:00 | -7,200 | ['4071125172db4371b2dbde79262c1fd2c4c66d21'] | Add types to `Script` tests (#10220) | [{'old_path': 'tests/Composer/Test/Script/EventTest.php', 'new_path': 'tests/Composer/Test/Script/EventTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -68,6 +68,9 @@ public function testEventCalculatesNestedOriginatingEvent()\n );\n }\n \n+ /**\n+ * @return Composer\n+ */\n priva... | PHP |
f19d01ef92bf7b2092e44e4ee908e131cc04132e | 281 | 2021-10-26 21:14:44+02:00 | -7,200 | ['79da1c266e456a95e8115bd66c06a43d2679c03a'] | Ignore less things in tests | [{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -40,8 +40,7 @@ parameters:\n - '~^Call to an undefined method (PHPUnit\\\\Framework\\\\MockObject\\\\MockObject|Prophecy\\\\Prophecy\\\\ObjectProphecy)::.*$~'\n \n # Ignore some irre... | PHP |
3d5a100018d311ad76b89e7afc940c4a17477f5a | 346 | 2021-10-26 21:17:28+02:00 | -7,200 | ['f19d01ef92bf7b2092e44e4ee908e131cc04132e'] | Add types to `Question` tests (#10219) | [{'old_path': 'tests/Composer/Test/Question/StrictConfirmationQuestionTest.php', 'new_path': 'tests/Composer/Test/Question/StrictConfirmationQuestionTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,6 +26,11 @@\n */\n class StrictConfirmationQuestionTest extends TestCase\n {\n+ /**\n+ * @return s... | PHP |
135f806f6f503e8ec11773fb78b0eade8b738cb2 | 67 | 2021-10-26 21:48:56+02:00 | -3,600 | ['3d5a100018d311ad76b89e7afc940c4a17477f5a'] | phpstan: update tests/Composer/Test/Autoload/* to level 6 standard (#10223) | [{'old_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'new_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -84,7 +84,7 @@ class AutoloadGeneratorTest extends TestCase\n * Note: must be public for compatibility with PHP 5.3 runtime... | PHP |
f0d621e1011c05d75a043b48c0635fbca312b449 | 171 | 2021-10-27 09:39:15+02:00 | -7,200 | ['135f806f6f503e8ec11773fb78b0eade8b738cb2'] | Prevent uncaught exception when iconv/mbstring are missing; fixes #10168 (#10224) | [{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,6 +24,12 @@ if (defined('HHVM_VERSION') && version_compare(HHVM_VERSION, '4.0', '>=')) {\n echo 'HHVM 4.0 has dropped support for Composer, please use PHP instead. Aborting.'.PHP_EOL;\n exit(1);\n }\n... | PHP |
44a2aa9be4d1c9b9fc45ce2882cdd058ee95137a | 18 | 2021-10-27 09:40:20+02:00 | -46,800 | ['f0d621e1011c05d75a043b48c0635fbca312b449'] | Log when COMPOSER_AUTH environment variable is malformed, but do not throw an error. Fixes #10208. (#10209)
Co-authored-by: Joseph Wynn <joseph@wildlyinaccurate.com> | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -230,14 +230,16 @@ public static function createConfig(IOInterface $io = null, $cwd = null)\n $authData = json_decode($composerAuthEnv, true);\n \n if (null === $au... | PHP |
e1dbd65aff6b1d0e7ec01d09de62fcdbb1c8a785 | 281 | 2021-10-27 11:16:34+02:00 | -7,200 | ['44a2aa9be4d1c9b9fc45ce2882cdd058ee95137a'] | Fix bin proxies to use output buffering instead of the eval hack, as the __FILE__ and __DIR__ replacement is not safe when done in strings/nowdocs/.. | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -271,21 +271,27 @@ protected function generateUnixyProxyCode($bin, $link)\n /**\n * Proxy PHP file generated by Composer\n *\n- * This file includes t... | PHP |
df6c2ce1db47404d67ce7c2fec03f92cca5d155c | 281 | 2021-10-27 11:24:50+02:00 | -7,200 | ['e1dbd65aff6b1d0e7ec01d09de62fcdbb1c8a785'] | Simplify php bin proxies further | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -277,25 +277,13 @@ protected function generateUnixyProxyCode($bin, $link)\n * @generated\n */\n \n-\\$binPath = realpath(__DIR__ . "/" . $binPathExpor... | PHP |
f667c7b8de9ce11d00ff4f055d0557498c37b103 | 282 | 2021-10-27 11:37:51+02:00 | -7,200 | ['df6c2ce1db47404d67ce7c2fec03f92cca5d155c'] | Add types to tests/composer/test/json (#10222)
Co-authored-by: Jakob Vibe <jv@ipw.dk> | [{'old_path': 'tests/Composer/Test/Json/ComposerSchemaTest.php', 'new_path': 'tests/Composer/Test/Json/ComposerSchemaTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -90,6 +90,11 @@ public function testMinimumStabilityValues()\n $this->assertTrue($this->check($json), 'stable');\n }\n \n+ /**\... | PHP |
3ccb54832b39ec148e00d162b0ed004a0db5c164 | 452 | 2021-10-27 14:18:16+02:00 | 10,800 | ['f667c7b8de9ce11d00ff4f055d0557498c37b103'] | PHPStan level 6 in src/Composer/Command (#10214) | [{'old_path': 'src/Composer/Command/AboutCommand.php', 'new_path': 'src/Composer/Command/AboutCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,6 +21,9 @@\n */\n class AboutCommand extends BaseCommand\n {\n+ /**\n+ * @return void\n+ */\n protected function configure()\n {\n ... | PHP |
c2a2198089b402d5d2ac55ad413992770028a173 | 67 | 2021-10-27 14:41:30+02:00 | -3,600 | ['3ccb54832b39ec148e00d162b0ed004a0db5c164'] | phpstan: update tests/Composer/Test/Installer/* to level 6 standard (#10225) | [{'old_path': 'tests/Composer/Test/Installer/InstallationManagerTest.php', 'new_path': 'tests/Composer/Test/Installer/InstallationManagerTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,8 +21,19 @@\n \n class InstallationManagerTest extends TestCase\n {\n+ /**\n+ * @var \\Composer\\Repository\\In... | PHP |
1ba14630131c912ef75a6556baf69297e5928139 | 282 | 2021-10-27 14:52:34+02:00 | -7,200 | ['c2a2198089b402d5d2ac55ad413992770028a173'] | Added types to plugin test (#10231)
Co-authored-by: Jakob Vibe <jv@ipw.dk> | [{'old_path': 'tests/Composer/Test/Plugin/PluginInstallerTest.php', 'new_path': 'tests/Composer/Test/Plugin/PluginInstallerTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -249,6 +249,8 @@ public function testRegisterPluginOnlyOneTime()\n /**\n * @param string $newPluginApiVersion\n ... | PHP |
e89459d96462371ace8fc67437b737c1c52be47f | 516 | 2021-10-27 14:54:36+02:00 | -7,200 | ['1ba14630131c912ef75a6556baf69297e5928139'] | Separate CI steps (#10226) | [{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -49,8 +49,9 @@ jobs:\n - name: "Install highest dependencies from composer.json using composer binary provided by system"\n run: "composer config platform --unset &... | PHP |
d06eb1ec3a0fa0e16836cdb8fe8076cd85c1d80f | 282 | 2021-10-27 14:56:39+02:00 | -7,200 | ['e89459d96462371ace8fc67437b737c1c52be47f'] | Fix types on mock tests (#10230)
* Fix types on mock tests
* Added $tty again
Co-authored-by: Jakob Vibe <jv@ipw.dk> | [{'old_path': 'tests/Composer/Test/Mock/InstallationManagerMock.php', 'new_path': 'tests/Composer/Test/Mock/InstallationManagerMock.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -122,21 +122,25 @@ public function markAliasUninstalled(InstalledRepositoryInterface $repo, MarkAli\n parent::markAliasUnins... | PHP |
3d9e9ba66f77c506e6c69b7df41d300959e2f962 | 281 | 2021-10-27 15:10:18+02:00 | -7,200 | ['d06eb1ec3a0fa0e16836cdb8fe8076cd85c1d80f'] | Fix exclusion of fooProvider errors | [{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -41,14 +41,7 @@ parameters:\n \n # Ignore some irrelevant errors in test files\n - '~Method Composer\\\\Test\\\\[^:]+::(setUp(BeforeClass)?|tearDown(AfterClass)?|test[^(]+)\\(\\) has... | PHP |
d51c7685dad75f97f99609a4d54e694b63301064 | 346 | 2021-10-27 15:29:52+02:00 | -7,200 | ['3d9e9ba66f77c506e6c69b7df41d300959e2f962'] | Add types to `Repository` tests (#10227) | [{'old_path': 'tests/Composer/Test/Repository/ComposerRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/ComposerRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,6 +24,9 @@ class ComposerRepositoryTest extends TestCase\n {\n /**\n * @dataProvider loadDataProvider\n+ ... | PHP |
2992e8651a18adeddf3735218d61d8a9dde9f0a0 | 346 | 2021-10-27 16:18:46+02:00 | -7,200 | ['d51c7685dad75f97f99609a4d54e694b63301064'] | Add types to `Util` tests (#10228) | [{'old_path': 'src/Composer/Util/Perforce.php', 'new_path': 'src/Composer/Util/Perforce.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -296,7 +296,7 @@ public function getUser()\n }\n \n /**\n- * @param string $user\n+ * @param string|null $user\n *\n * @return void\n */\n'}, {'o... | PHP |
44b69ba77f167cfaa3a903e40ebdcf6ae62e7563 | 281 | 2021-10-27 16:21:45+02:00 | -7,200 | ['c65d09dff7771db24c8a8415e09482e840604801'] | Upgrade php-cs-fixer to 3.x and fix CS | [{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,4 +9,4 @@ phpunit.xml\n .vagrant\n Vagrantfile\n .idea\n-.php_cs.cache\n+.php-cs-fixer.cache\n'}, {'old_path': '.php_cs', 'new_path': '.php-cs-fixer.php', 'type': <ModificationType.RENAME: 3>, 'diff': "@@ -18,10 +... | PHP |
f8ad0bb3d181c033cf37da1452c3f3e138c96e99 | 281 | 2021-10-27 16:37:20+02:00 | -7,200 | ['44b69ba77f167cfaa3a903e40ebdcf6ae62e7563'] | Add types to the base TestCase | [{'old_path': 'tests/Composer/Test/TestCase.php', 'new_path': 'tests/Composer/Test/TestCase.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -23,9 +23,12 @@\n use Composer\\Package\\Loader\\ArrayLoader;\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\RootPackage;\n+use Composer\\Package\\AliasPack... | PHP |
467fe3c1be06830ea4d4b08a86d97d138cce1a24 | 346 | 2021-10-27 20:34:48+02:00 | -7,200 | ['974c471ad8bec1f66f8b69691b7c3038424bb79d'] | Add types to `Config` tests (#10234) | [{'old_path': 'tests/Composer/Test/Config/JsonConfigSourceTest.php', 'new_path': 'tests/Composer/Test/Config/JsonConfigSourceTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,6 +24,11 @@ class JsonConfigSourceTest extends TestCase\n /** @var string */\n private $workingDir;\n \n+ /**\n+ * ... | PHP |
a861d664699ff24e7bad5f56cd9415b62390acc4 | 346 | 2021-10-27 20:35:16+02:00 | -7,200 | ['467fe3c1be06830ea4d4b08a86d97d138cce1a24'] | Add types to `EventDispatcher` tests (#10235) | [{'old_path': 'tests/Composer/Test/EventDispatcher/EventDispatcherTest.php', 'new_path': 'tests/Composer/Test/EventDispatcher/EventDispatcherTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -17,6 +17,7 @@\n use Composer\\Installer\\InstallerEvents;\n use Composer\\Config;\n use Composer\\Composer;\n+use Com... | PHP |
96370657b82192137f5c7a63176bc71b442018f7 | 346 | 2021-10-28 10:00:25+02:00 | -7,200 | ['a861d664699ff24e7bad5f56cd9415b62390acc4'] | Fix phpstan return type in `SvnTest::urlProvider` (#10233) | [{'old_path': 'tests/Composer/Test/Util/SvnTest.php', 'new_path': 'tests/Composer/Test/Util/SvnTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -36,11 +36,6 @@ public function testCredentials($url, $expect)\n $this->assertEquals($expect, $reflMethod->invoke($svn));\n }\n \n- /**\n- * Prov... | PHP |
3f243d37c30d2cdeb378b483c8172d4ef5e100a8 | 281 | 2021-10-29 22:19:38+02:00 | -7,200 | ['96370657b82192137f5c7a63176bc71b442018f7'] | Add temporary metadata for download size tracking | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -57,6 +57,13 @@ class FileDownloader implements DownloaderInterface, ChangeReportInterface\n protected $eventDispatcher;\n /** @var ProcessExecu... | PHP |
8b7e2b600d58345afb5ada01b6ada03c94617399 | 67 | 2021-10-30 10:21:50+02:00 | -3,600 | ['ec63178d38d36d765c632e6b01cc01b7700fcf61'] | phpstan: update tests/Composer/Test/Downloader/* to level 6 standard (#10238) | [{'old_path': 'tests/Composer/Test/Downloader/ArchiveDownloaderTest.php', 'new_path': 'tests/Composer/Test/Downloader/ArchiveDownloaderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n \n class ArchiveDownloaderTest extends TestCase\n {\n+ /** @var \\Composer\\Config&\\PHPUnit\\Framework\... | PHP |
a155c076dbe826c7ca9947eb874295a9b283d756 | 67 | 2021-10-30 10:30:36+02:00 | -3,600 | ['8b7e2b600d58345afb5ada01b6ada03c94617399'] | phpstan: update tests/Composer/Test/DependencyResolver/* to level 6 standard (#10242) | [{'old_path': 'tests/Composer/Test/DependencyResolver/PoolBuilderTest.php', 'new_path': 'tests/Composer/Test/DependencyResolver/PoolBuilderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -140,6 +140,9 @@ public function testPoolBuilder($file, $message, $expect, $root, $requestData, $\n $this->asser... | PHP |
bcbd8fdb612fc96a6833f72a30b40288c339723c | 346 | 2021-11-01 21:44:12+01:00 | -3,600 | ['a155c076dbe826c7ca9947eb874295a9b283d756'] | Add types to `Package` tests (#10245) | [{'old_path': 'tests/Composer/Test/Package/Archiver/ArchivableFilesFinderTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ArchivableFilesFinderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -302,6 +302,9 @@ public function testSkipExcludes()\n ));\n }\n \n+ /**\n+ * @return ... | PHP |
90087b4fb37b06d21f17325165e93fb9295b800a | 281 | 2021-11-02 11:36:31+01:00 | -3,600 | ['bcbd8fdb612fc96a6833f72a30b40288c339723c'] | Fix handling of php bin proxies combined with declare() on php <8, fixes #10246 (#10249) | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -255,14 +255,10 @@ protected function generateUnixyProxyCode($bin, $link)\n $binContents = file_get_contents($bin);\n // For php files, ... | PHP |
6b62f98d3c38c7b90c9b9e2fc8aec3ca41e0f3d9 | 345 | 2021-11-02 11:43:34+01:00 | -3,600 | ['90087b4fb37b06d21f17325165e93fb9295b800a'] | GithubActionError: escape more special chars (#10243) | [{'old_path': 'src/Composer/Console/GithubActionError.php', 'new_path': 'src/Composer/Console/GithubActionError.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -36,9 +36,8 @@ public function __construct(IOInterface $io)\n public function emit($message, $file = null, $line = null)\n {\n if (gete... | PHP |
cb0293cf302d38d10dca8eacc5509502dad3ff44 | 281 | 2021-11-02 14:32:09+01:00 | -3,600 | ['a86046f9e4f8f1f4bf25ad3e2f95cab3257e4827'] | Finalize phpstan level 6 for tests dir, closes #10159 | [{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,3 +9,8 @@ parameters:\n message: "#^Parameter \\\\#2 \\\\$capabilityClassName of method Composer\\\\\\\\Plugin\\\\\\\\PluginManager\\\\:\\\\:getPluginCapability\\\\(\\\\) expects ... | PHP |
d7154c2a72101b40c0f93daeea9b81dd484129c3 | 345 | 2021-11-02 14:39:04+01:00 | -3,600 | ['cb0293cf302d38d10dca8eacc5509502dad3ff44'] | Fix GithubActionError on php 8.1 (#10250) | [{'old_path': 'src/Composer/Console/GithubActionError.php', 'new_path': 'src/Composer/Console/GithubActionError.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,11 +37,12 @@ public function emit($message, $file = null, $line = null)\n {\n if (getenv(\'GITHUB_ACTIONS\') && !getenv(\'COMPOSER_TESTS... | PHP |
5b47fa1896298985f3c2e1261d362ebb7c76380f | 346 | 2021-11-08 10:27:45+01:00 | -3,600 | ['d7154c2a72101b40c0f93daeea9b81dd484129c3'] | Add back abandoned key in repository search results (#10259) | [{'old_path': 'src/Composer/Repository/ArrayRepository.php', 'new_path': 'src/Composer/Repository/ArrayRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -166,6 +166,10 @@ public function search($query, $mode = 0, $type = null)\n 'name' => $package->getPrettyName(),\n ... | PHP |
9f433aba768c127eb8e532dff9abdee7d6128376 | 281 | 2021-11-08 10:43:25+01:00 | -3,600 | ['5b47fa1896298985f3c2e1261d362ebb7c76380f'] | Fix 9999999-dev showing on composer show when no branch alias is defined for the default branch, fixes #10260 | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -604,6 +604,11 @@ protected function getPackage(InstalledRepository $installedRepo, RepositoryInte\n }\n $matches = $pool->whatProvides($name, $cons... | PHP |
4c9e567c39a4f8d9709b0867d0ba0abdbc753be0 | 378 | 2021-11-08 10:52:22+01:00 | -3,600 | ['9f433aba768c127eb8e532dff9abdee7d6128376'] | Provide different URL options to encourage users to create low-privilege GitHub tokens (#10256) | [{'old_path': 'src/Composer/Util/GitHub.php', 'new_path': 'src/Composer/Util/GitHub.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -90,9 +90,15 @@ public function authorizeOAuthInteractively($originUrl, $message = null)\n }\n $note .= \' \' . date(\'Y-m-d Hi\');\n \n+ $url = \'https://\'... | PHP |
abf832aa49cac76bb148d926ececbdfe402a5239 | 378 | 2021-11-08 10:53:12+01:00 | -3,600 | ['4c9e567c39a4f8d9709b0867d0ba0abdbc753be0'] | Update what GitHub token scope is needed and what it implies (#10257)
Follows up on https://github.com/composer/composer/pull/10256. | [{'old_path': 'doc/articles/authentication-for-private-packages.md', 'new_path': 'doc/articles/authentication-for-private-packages.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -250,8 +250,13 @@ php composer.phar config [--global] --editor --auth\n \n ## github-oauth\n \n-To create a new access token, head to ... | PHP |
6a7264fc2dae6cd22abb10b82bd2b615e11a0031 | 281 | 2021-11-08 11:45:06+01:00 | -3,600 | ['abf832aa49cac76bb148d926ececbdfe402a5239'] | Trigger autoloading of a few classes before executing self-update command, fixes #10252 | [{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -79,6 +79,11 @@ protected function configure()\n */\n protected function execute(InputInterface $input, OutputInterface $output)\n {\n+ ... | PHP |
3bb78fd1ee8a254878a71cf12c275b5f8303c2b0 | 281 | 2021-11-08 11:45:07+01:00 | -3,600 | ['6a7264fc2dae6cd22abb10b82bd2b615e11a0031'] | Make new phar filename random to avoid possible concurrency issues, refs #10252 | [{'old_path': 'src/Composer/Command/SelfUpdateCommand.php', 'new_path': 'src/Composer/Command/SelfUpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -213,7 +213,7 @@ class_exists('Composer\\Downloader\\FilesystemException');\n return 0;\n }\n \n- $tempFilename = $tmpDir . '... | PHP |
28c34128eeb70dd4ec1c7e736ffc9ee75a80e8c0 | 281 | 2021-11-08 15:03:05+01:00 | -3,600 | ['3bb78fd1ee8a254878a71cf12c275b5f8303c2b0'] | Fix php proxies to resolve __FILE__ and __DIR__ using realpath on PHP <8, fixes #10261 | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -291,6 +291,7 @@ public function stream_open(\\$path, \\$mode, \\$options, &\\$opened_path)\n {\n // get rid of composer-bin... | PHP |
85f3bb070d874dab84e35cfe93505a39372a556f | 281 | 2021-11-09 16:04:21+01:00 | -3,600 | ['9e762a4f9a3af6905b5ea25f5de8e292bbb5f919'] | Add abandoned flag in search command output | [{'old_path': 'src/Composer/Command/SearchCommand.php', 'new_path': 'src/Composer/Command/SearchCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -93,12 +93,13 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $nameLength += 1;\n foreach ($results as $... | PHP |
bd4d624cc7468623b29e56fa800b1750886b04c7 | 281 | 2021-11-09 16:31:27+01:00 | -3,600 | ['1900f0e6e09549c4b0d0efd68300f0166c093cb6'] | Read first from $_SERVER and $_ENV before using getenv (#10218) | [{'old_path': 'src/Composer/Cache.php', 'new_path': 'src/Composer/Cache.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,6 +14,7 @@\n \n use Composer\\IO\\IOInterface;\n use Composer\\Util\\Filesystem;\n+use Composer\\Util\\Platform;\n use Composer\\Util\\Silencer;\n use Symfony\\Component\\Finder\\Finder;\n... | PHP |
b09a39f9c80185ae96643294b9af08a39aaff379 | 281 | 2021-11-10 11:10:52+01:00 | -3,600 | ['bd4d624cc7468623b29e56fa800b1750886b04c7'] | Error out on recursive links in validating loader and ignore them in regular loader | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -327,6 +327,12 @@ private function configureCachedLinks(&$linkCache, $package, array $config)\n $links = array();\n fo... | PHP |
a48afcd79012cbbe8f47c8ec8e644a7dc60b4866 | 41 | 2021-11-10 15:23:39+01:00 | -3,600 | ['b09a39f9c80185ae96643294b9af08a39aaff379'] | [add_sorting_to_archiving] Add natural sorting to ArchivableFilesFinder. | [{'old_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'new_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -84,7 +84,8 @@ public function __construct($sources, array $excludes, $ignoreFilters = false)\n ->in($sources)\n ... | PHP |
5fb4286550cd714d8cf1951847a471bf8fc730c4 | 41 | 2021-11-10 15:30:18+01:00 | -3,600 | ['a48afcd79012cbbe8f47c8ec8e644a7dc60b4866'] | [add_sorting_to_archiving] Revert changes to test, because they were pointless. | [{'old_path': 'tests/Composer/Test/Package/Archiver/ArchivableFilesFinderTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ArchivableFilesFinderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -48,36 +48,36 @@ protected function setUp()\n 'A/prefixD.foo',\n 'A/prefixE.foo'... | PHP |
41a0c660b160c588c8502490e44b45e9563e9d40 | 41 | 2021-11-10 15:39:50+01:00 | -3,600 | ['5fb4286550cd714d8cf1951847a471bf8fc730c4'] | [add_sorting_to_archiving] Do not use natural sorting, cause of minimum required versions. | [{'old_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'new_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -85,7 +85,7 @@ public function __construct($sources, array $excludes, $ignoreFilters = false)\n ->filter($filter)\... | PHP |
8553c6d9784c9ab4ef22240725c1344728a4b279 | 398 | 2021-11-10 21:37:33+01:00 | -3,600 | ['b09a39f9c80185ae96643294b9af08a39aaff379'] | Add loading of files autoload section for plugins and Composer runtime autoloaders (#10065) | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -611,6 +611,12 @@ public function createLoader(array $autoloads, $vendorDir = null)\n }\n }\n \n+ if (isset($autoloads['fil... | PHP |
150acc5559a25035af035536f0a51dfdb48c106e | 283 | 2021-11-10 21:58:03+01:00 | 10,800 | ['ba5b7a5a9f3e1aff30d129b9b8e4379796785030'] | Removed HgBitbucketDriver support (#10248) | [{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -400,8 +400,8 @@ VCS repository provides `dist`s for them that fetch the packages as zips.\n * **BitBucket:** [bitbucket.org](https://bitbucket.org) (Git and Mercurial)\n \n The VCS driver to ... | PHP |
cda7863f20f2e3a39008dde3ed8662fcaa2bce09 | 281 | 2021-11-10 22:08:30+01:00 | -3,600 | ['150acc5559a25035af035536f0a51dfdb48c106e'] | Get rid of the abstract BitbucketDriver class, fixes #9856 | [{'old_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': "@@ -1,475 +0,0 @@\n-<?php\n-\n-/*\n- * This file is part of Composer.\n- *\n- * (c) Nils Adermann <naderman@naderman.de>\n- * Jordi Boggiano <j.boggiano@seld.be>\n- *\n- * For the full c... | PHP |
ba1814f306a85cf55c4c153d6efa93ff12f65942 | 281 | 2021-11-10 22:12:42+01:00 | -3,600 | ['6aa8a466b7b7ea34bcf60298ead85481ea9c4dec'] | Added retry behavior for certain http status and curl error codes (#10162) | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1267,19 +1267,6 @@ protected function fetchFile($filename, $cacheKey = null, $sha256 = null, $store\n throw $e;\n ... | PHP |
68847ed60907901f5c29d2b82e8d41b265c29bbf | 281 | 2021-11-11 12:21:26+01:00 | -3,600 | ['ba1814f306a85cf55c4c153d6efa93ff12f65942'] | Tweak bitbucket driver to uniformize regexes | [{'old_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,9 +26,9 @@\n class GitBitbucketDriver extends VcsDriver\n {\n /** @var string */\n- private $owner;\n+ protected $owner;\n... | PHP |
3013674c925ca2fee817e8e9f8b11ff80453cad0 | 346 | 2021-11-11 12:24:12+01:00 | -3,600 | ['68847ed60907901f5c29d2b82e8d41b265c29bbf'] | Refactor ignore platform reqs checks (#10079)
Introduces a `PlatformRequirementFilter` with methods that help to decide if a requirement is ignored or not as discussed in #10045 but without changing behaviour. | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -14,13 +14,15 @@\n \n use Composer\\Config;\n use Composer\\EventDispatcher\\EventDispatcher;\n+use Composer\\Filter\\PlatformRequirementFilter\\Ignor... | PHP |
012556daeea9011c202dd07a8a226caad98664ac | 242 | 2021-11-11 12:24:47+01:00 | 0 | ['3013674c925ca2fee817e8e9f8b11ff80453cad0'] | VcsRepository: limit type of versionTransportExceptions (#10275) | [{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -66,7 +66,7 @@ class VcsRepository extends ArrayRepository implements ConfigurableRepositoryInt\n private $versionCache;\n /** @var string[] */\n ... | PHP |
44c5b6cde6b478f36bc42f7246ae1ccd44866a2b | 242 | 2021-11-11 15:17:58+01:00 | 0 | ['012556daeea9011c202dd07a8a226caad98664ac'] | Config: add source option for command to show where a config value is loaded from (#10129) | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -736,6 +736,8 @@ See the [Config](06-config.md) chapter for valid configuration options.\n instead of relative.\n * **--json:** JSON decode the setting value, to be used with `extra.*` keys.\n * **--merge:** ... | PHP |
8542321a31a129398eebb87f819b33c15615fc60 | 281 | 2021-11-11 15:18:16+01:00 | -3,600 | ['44c5b6cde6b478f36bc42f7246ae1ccd44866a2b'] | Updates to the troubleshooting docs, refs #10129 | [{'old_path': 'doc/articles/troubleshooting.md', 'new_path': 'doc/articles/troubleshooting.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,6 +5,7 @@\n \n This is a list of common pitfalls on using Composer, and how to avoid them.\n \n+\n ## General\n \n 1. When facing any kind of problems using Composer, be s... | PHP |
7eca450d9bbcb1c379fe380064d0c045fa445dc8 | 346 | 2021-11-11 15:56:38+01:00 | -3,600 | ['8542321a31a129398eebb87f819b33c15615fc60'] | Add wildcard support to ignore-platform-req, fixes #10045 (#10083) | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -117,7 +117,7 @@ resolution.\n See also the [`platform`](06-config.md#platform) config option.\n * **--ignore-platform-req:** ignore a specific platform requirement(`php`,\n `hhvm`, `lib-*` and `ext-*`) and... | PHP |
ce2a40b2598a3381e5050fd8d7b5bbf14619775d | 281 | 2021-11-11 16:13:25+01:00 | -3,600 | ['34183f49f9228f5f0036de7f29993e05a372977c'] | List identical/compatible removed versions in problem output as if they had not been removed | [{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -36,16 +36,57 @@ class Pool implements \\Countable\n protected $providerCache = array();\n /** @var BasePackage[] */\n protected $unacceptableFi... | PHP |
c06be086a6bfa33a148c81579e4f24f2df26aa50 | 281 | 2021-11-11 16:30:39+01:00 | -3,600 | ['ce2a40b2598a3381e5050fd8d7b5bbf14619775d'] | To be reverted: Disable pool optimizer by default, run solver twice and compare outputs if user opts into optimizer | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -431,12 +431,73 @@ protected function doUpdate(InstalledRepositoryInterface $localRepo, $doInstall)\n $request->setUpdateAllowList($this->updateAllowList, $this->updateAllo... | PHP |
0662fa2662b6bb7d683aaaf89e4ec3dfb5e833f6 | 398 | 2021-11-12 09:44:34+01:00 | -3,600 | ['410771af36d9930619020a7bb93474041a93507c'] | Fix loading files for plugins/scripts (#10279) | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -621,12 +621,6 @@ public function createLoader(array $autoloads, $vendorDir = null)\n }\n }\n \n- if (isset($autoloads['fil... | PHP |
65765a148a9833a394e20a234db9ae981c43c8b1 | 281 | 2021-11-12 21:38:08+01:00 | -3,600 | ['903173ead52bdc08e43185d686713a10343bef61'] | Explicitly deprecate misuse of the link setters to enforce the fact they expect maps (#10281) | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -364,7 +364,8 @@ public function parseLinks($source, $sourceVersion, $description, $links)\n {\n $res = array();\n foreach ($links... | PHP |
61b50cb7ec87176df389841780e0fd742d4f1780 | 281 | 2021-11-13 13:25:25+01:00 | -3,600 | ['65765a148a9833a394e20a234db9ae981c43c8b1'] | Remove hack from ComposerRepository, fixes #9297 | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -967,12 +967,6 @@ protected function loadRootServerFile()\n $this->hasPartialPackages = !empty($data['packages']) && is_array($data[... | PHP |
f509c41280768b1d3047271ec5b50da33184d98d | 281 | 2021-11-14 20:42:24+01:00 | -3,600 | ['61b50cb7ec87176df389841780e0fd742d4f1780'] | Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org> | [{'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 |
7fc90008349fe3b22f481a795e183f38dbdeab42 | 281 | 2021-11-17 11:02:43+01:00 | -3,600 | ['f509c41280768b1d3047271ec5b50da33184d98d'] | Also retry for SSL connection failures, refs #10124 | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -351,8 +351,10 @@ public function tick()\n \n if (\n (!isset($job['options']['http']['method']) || $job['optio... | PHP |
0f5f0fb9e188d83c18b8f05bc80cdfc97a7b09b4 | 10 | 2021-11-17 11:03:48+01:00 | -3,600 | ['7fc90008349fe3b22f481a795e183f38dbdeab42'] | (Probable) typo fix (#10286)
Isn't "to" missing before "raise awareness" ? | [{'old_path': 'doc/articles/troubleshooting.md', 'new_path': 'doc/articles/troubleshooting.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -273,7 +273,7 @@ If you have been pointed to this page, you want to check a few things:\n - If you are using IPv6, try disabling it. If that solves your issues, get in touch\... | PHP |
63b5cbe000cbf3b4f34549d942576d6c4b7b31c2 | 242 | 2021-11-17 19:53:10+01:00 | 0 | ['0f5f0fb9e188d83c18b8f05bc80cdfc97a7b09b4'] | GitDownloader: add option for single use git clone to avoid --dissociate when cloning from local copy (#10288) | [{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -92,8 +92,15 @@ protected function doInstall(PackageInterface $package, $path, $url)\n \n if (!empty($this->cachedPackages[$package->getId()][$ref... | PHP |
5297f72e3fd383edaee6788b31168941241e216f | 242 | 2021-11-17 19:54:30+01:00 | 0 | ['63b5cbe000cbf3b4f34549d942576d6c4b7b31c2'] | Docs: add transport options example and differentiate between cURL and stream options (#10289)
+ remove Bitbucket mercurial reference | [{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -299,12 +299,33 @@ described [above](#packages).\n These fields are optional. You probably don\'t need them for your own custom\n repository.\n \n-#### stream options\n+#### cURL or stream opt... | PHP |
8386264c9820e35d95d0df5f6a38727a6d1fe752 | 346 | 2021-11-17 20:54:18+01:00 | -3,600 | ['5297f72e3fd383edaee6788b31168941241e216f'] | Fix spelling of Bitbucket (#10290) | [{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -383,7 +383,7 @@ For more information [see the aliases article](articles/aliases.md).\n #### Using private repositories\n \n Exactly the same solution allows you to work with your private repo... | PHP |
13b7527fca1d804688d38d76999e2d4827bc94c9 | 281 | 2021-11-23 13:00:28+01:00 | -3,600 | ['8386264c9820e35d95d0df5f6a38727a6d1fe752'] | Fix unlocking of replacers when a replaced package is unlocked in partial updates | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -535,7 +535,19 @@ private function unlockPackage(Request $request, $name)\n // as long as it was not unfixed yet\n && ... | PHP |
3242de2438ec69feec2fa881f5b475bc813c7049 | 281 | 2021-11-23 13:07:19+01:00 | -3,600 | ['13b7527fca1d804688d38d76999e2d4827bc94c9'] | Backport tests from #9538 and fix everything | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -99,7 +99,7 @@ class PoolBuilder\n private $unacceptableFixedOrLockedPackages = array();\n /** @var string[] */\n private $updateA... | PHP |
bbc442b0ade931cc1fcf4f7ee99a8368932f18af | 281 | 2021-11-23 16:11:44+01:00 | -3,600 | ['3242de2438ec69feec2fa881f5b475bc813c7049'] | Undo changes to providers, only unlock replacers when unlocking a given name | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -156,10 +156,10 @@ public function buildPool(array $repositories, Request $request)\n foreach ($request->getLockedRepository()->ge... | PHP |
78583ab678aefaee6efcf8e1cf37cd46e2981fb6 | 68 | 2021-11-23 17:16:58+01:00 | -3,600 | ['bac7b826f2d89c27b60818ad17c8e18966fda33e'] | Support ignore-platform-reqs in `composer outdated` (#10293)
This allows users to also find libraries that require major platform
changes to unlock updates.
It addresses #10291. | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -485,6 +485,13 @@ php composer.phar show monolog/monolog 1.0.2\n * **--direct (-D):** Restricts the list of packages to your direct dependencies.\n * **--strict:** Return a non-zero exit code when there are out... | PHP |
ebf4cbdc69cc761568b36e5553216313729fefac | 532 | 2021-11-24 11:32:19+01:00 | 18,000 | ['78583ab678aefaee6efcf8e1cf37cd46e2981fb6'] | Add COMPOSER_NO_DEV environment variable to set the --no-dev flag (#10262) | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1163,3 +1163,8 @@ If set to `1`, outputs information about events being dispatched, which can be\n useful for plugin authors to identify what is firing when exactly.\n \n ← [Libraries](02-libraries.md) |... | PHP |
7e3626362eb67b102e95c17fb5a34ba219d46bc6 | 281 | 2021-11-24 16:00:57+01:00 | -3,600 | ['ebf4cbdc69cc761568b36e5553216313729fefac'] | Add support for warnings/infos keys to report more complex information to diverse Composer versions | [{'old_path': 'src/Composer/Util/HttpDownloader.php', 'new_path': 'src/Composer/Util/HttpDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -448,11 +448,12 @@ private function getResponse($index)\n * @internal\n *\n * @param string ... | PHP |
1b5b5c48bf91f256745740b6b60e460180213d7d | 281 | 2021-11-24 16:35:58+01:00 | -3,600 | ['e96656d85086928d247440b6ee08cbbb91ba30a6'] | Bump plugin api version, fixes #10082 | [{'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- const PLUGIN_API_VERSION = '2.1.0';\n+ const PLUGIN_API_VERSION = '2... | PHP |
cc3b53bc2e3ea3a497961982a6f155ba0bbc19d9 | 281 | 2021-11-24 22:30:57+01:00 | -3,600 | ['1b5b5c48bf91f256745740b6b60e460180213d7d'] | Also mark @putenv and @php deprecated/forbidden as script names to avoid clashes | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -252,8 +252,10 @@ private function configureObject(PackageInterface $package, array $config)\n foreach ($config['scripts'] as $event =... | PHP |
126f95a8d75d81bc8c2701209f957c449aa9e1a6 | 281 | 2021-11-24 22:56:51+01:00 | -3,600 | ['cc3b53bc2e3ea3a497961982a6f155ba0bbc19d9'] | Get rid of gitignore/hgignore handling (fixes #7358), Add support for -export-ignore (fixes #9153) | [{'old_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'new_path': 'src/Composer/Package/Archiver/ArchivableFilesFinder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -49,7 +49,6 @@ public function __construct($sources, array $excludes, $ignoreFilters = false)\n $filters = array()... | PHP |
f12a5b82140bff33062f09ac2b1d3d907ebc0911 | 510 | 2021-11-25 09:53:03+01:00 | -3,600 | ['dc526d354ca196ec760b94657710ad235977d1fd'] | Expose path to autoload in a global var for binaries (#10137)
Always create proxy files for package binaries,
to avoid not working binaries in case the package
was installed from a path repository and is itself linked
If the binary is a PHP script, a global variable is now exposed,
which holds the path to the ve... | [{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -884,8 +884,8 @@ Optional.\n \n ### bin\n \n-A set of files that should be treated as binaries and symlinked into the `bin-dir`\n-(from config).\n+A set of files that should be treated as binaries and mad... | PHP |
c15eba3fe36ea58db866c382759a36bc67c0ba83 | 281 | 2021-11-25 10:21:37+01:00 | -3,600 | ['f12a5b82140bff33062f09ac2b1d3d907ebc0911'] | Turn naming errors into hard failures in validating array loader | [{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -64,7 +64,7 @@ public function load(array $config, $class = 'Composer\\Package\\CompletePackage')\n $this->config = $confi... | PHP |
deaec7c0acf77241511bdc530ced6a05a6c9946b | 281 | 2021-11-25 10:21:37+01:00 | -3,600 | ['c15eba3fe36ea58db866c382759a36bc67c0ba83'] | Report validation error if a package replaces and conflicts against the same name, fixes #9845 | [{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -281,6 +281,11 @@ public function load(array $config, $class = 'Composer\\Package\\CompletePackage')\n ... | PHP |
91548d178b76682e8cc15efac3f93c6476d01194 | 281 | 2021-11-25 14:46:25+01:00 | -3,600 | ['2c1ff41f8f1de4ed6e95172b4dccbf5e9b5cf0dd'] | Add support for setting platform packages to false to disable them (#10308)
Fixes #9664 | [{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -191,6 +191,9 @@ you may ignore it instead by passing `--ignore-platform-req=ext-foo` to `update`\n extensions as if you ignore one now and a new package you add a month later also\n requires it, you may ... | PHP |
d86049565dc190602d8ea979260e2196a511b61a | 281 | 2021-11-25 15:03:23+01:00 | -3,600 | ['91548d178b76682e8cc15efac3f93c6476d01194'] | Deactivate plugins before recreating a new composer instance and loading new plugins in require/remove commands, fixes #9962 | [{'old_path': 'src/Composer/Command/RemoveCommand.php', 'new_path': 'src/Composer/Command/RemoveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -210,6 +210,10 @@ protected function execute(InputInterface $input, OutputInterface $output)\n return 0;\n }\n \n+ if ($composer = $t... | PHP |
bd4ba36fa9abad52639f0e78b41efc2cc13c5fc8 | 281 | 2021-11-25 15:05:09+01:00 | -7,200 | ['d86049565dc190602d8ea979260e2196a511b61a'] | Prevent auto-unlocked path repo packages from also unlocking their transitive deps when -w/-W is used | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -102,6 +102,16 @@ class PoolBuilder\n /** @var array<string, array<PackageInterface>> */\n private $skippedLoad = array();\n \n+ /*... | PHP |
0ae5a6ef594610b89c606a49123e7381e0bd6650 | 281 | 2021-11-25 15:05:10+01:00 | -7,200 | ['bd4ba36fa9abad52639f0e78b41efc2cc13c5fc8'] | Add test verifying unfixing behavior of path repo packages | [{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/mirrored-path-repo/composer.json', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,8 @@\n+{\n+ "name": "mirrored/path-pkg",\n+ "version": "2.0.0",\n+ "require": {\n+ "mirrored/transitive": "2.*",\n+ ... | PHP |
d0c1e6cb058fe0adaa6fe135bc0a1005cfebd535 | 281 | 2021-11-25 15:05:10+01:00 | -3,600 | ['0ae5a6ef594610b89c606a49123e7381e0bd6650'] | Add InstallerTest for path repo symlink unfixing | [{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/partial-update-with-symlinked-path-repos.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,91 @@\n+--TEST--\n+Partially updating one root requirement with transitive deps fully updates transitive deps, and always updates symlinked path ... | PHP |
fcda22659ab9471858c0340ff6cc624d22866d30 | 281 | 2021-11-25 15:05:59+01:00 | -3,600 | ['d0c1e6cb058fe0adaa6fe135bc0a1005cfebd535'] | Update deprecation baseline for 8.1 | [{'old_path': 'tests/deprecations-8.1.json', 'new_path': 'tests/deprecations-8.1.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -77,12 +77,12 @@\n {\n "location": "Composer\\\\Test\\\\InstallerTest::testIntegrationWithRawPool",\n "message": "preg_match(): Passing null to parameter #4 ($fla... | PHP |
b8caf4b214562aceb6406da23b1c18ae0ea52573 | 388 | 2021-11-25 15:05:59+01:00 | -3,600 | ['fcda22659ab9471858c0340ff6cc624d22866d30'] | Test path repo dependencies are updated in transitive partial updates (#7) | [{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-unfixes-path-repo-replacer-with-transitive-deps.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,82 @@\n+--TEST--\n+Partially updating with deps a root requirement which depends on packages in a syml... | PHP |
4352f23962e98a2c7e6be5d36781b516e60d6ac9 | 281 | 2021-11-25 15:06:00+01:00 | -3,600 | ['b8caf4b214562aceb6406da23b1c18ae0ea52573'] | Fix implementation & tweak test | [{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -165,9 +165,18 @@ public function buildPool(array $repositories, Request $request)\n \n foreach ($request->getLockedRepository()->... | PHP |
613526bab21259b82af3fa3a3885e2d37bb95c7c | 260 | 2021-11-25 15:43:37+01:00 | -10,800 | ['00c6215c81b438b2ce22138b5c611ef17fd06944'] | Feature proposal: sorting keys by logical blocks (#10089) | [{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,18 +8,38 @@\n "description": "Package name, including \'vendor-name/\' prefix.",\n "pattern": "^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]+)*$"\n... | PHP |