Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
f946d8eb5a0104d3aefbd5b5fb8803355f482abf | 281 | 2019-01-14 17:29:23+01:00 | -3,600 | ['713bc4de1d506a83f341e033569ded22bff7d228'] | More RemoteFilesystem usage removals and some repository/vcs driver refactorings | [{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -176,7 +176,7 @@ class AwsPlugin implements PluginInterface, EventSubscriberInterface\n \n if ($protocol === 's3') {\n $awsClient = new AwsClient($this->io, $this->compos... | PHP |
1cd9f4f9dbd5a2830e116b427076ce6c3d7f4b16 | 281 | 2019-01-14 17:29:23+01:00 | -3,600 | ['f946d8eb5a0104d3aefbd5b5fb8803355f482abf'] | Disable request_fulluri by default for HTTPS connections | [{'old_path': 'src/Composer/Util/StreamContextFactory.php', 'new_path': 'src/Composer/Util/StreamContextFactory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -87,15 +87,15 @@ public static function getContext($url, array $defaultOptions = array(), array $\n \n // enabled request_fulluri unless it ... | PHP |
655a784fac39230dcc5065aa37888ff614e6f5d4 | 281 | 2019-01-14 17:29:23+01:00 | -3,600 | ['346de47af23cbc8441bd1683491d5c25592b8a42'] | Fix findPackage(s) implementation | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -127,15 +127,24 @@ public function setRootAliases(array $rootAliases)\n */\n public function findPackage($name, $constraint)\n {\n-... | PHP |
fd11cf3618d960e4fd00e891b9e260a42ed92e0b | 281 | 2019-01-14 17:29:23+01:00 | -3,600 | ['4a8a1cb0c9d462c715b01a765df3bbc3b9ae69de'] | Port/extract most behavior of RemoteFilesystem to CurlDownloader | [{'old_path': 'src/Composer/Composer.php', 'new_path': 'src/Composer/Composer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -32,6 +32,7 @@ class Composer\n const VERSION = '@package_version@';\n const BRANCH_ALIAS_VERSION = '@package_branch_alias_version@';\n const RELEASE_DATE = '@release_date@';... | PHP |
9986b797fb1b9acca9add379337717fe16a27ea0 | 281 | 2019-01-14 17:29:23+01:00 | -3,600 | ['fd11cf3618d960e4fd00e891b9e260a42ed92e0b'] | Add support for redirects/retries in curl downloader | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -19,6 +19,7 @@\n use Composer\\Util\\RemoteFilesystem;\n use Composer\\Util\\StreamContextFactory;\n use Composer\\Util\\AuthHelper;\n+use Composer\\Util\... | PHP |
5d2b3276ebf6b98114eb73a5bd315e59f0f08c0a | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['64384f8b15314e618f1a6821dd71325e8b8178ab'] | Avoid starting all jobs immediately | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -95,12 +95,17 @@ public function __construct(IOInterface $io, Config $config, array $options = ar\n \n public function download($resolve, $reject, $or... | PHP |
ed65625126c42354f3b27a3ed922eb75de8f57d7 | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['788a822b240dfc51569ebe842079a8a05f274ff9'] | Handle custom http options cleaner in ComposerRepo | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -102,11 +102,6 @@ public function __construct(array $repoConfig, IOInterface $io, Config $config,\n $this->cache = new Cache($io, $confi... | PHP |
0961e16795dffb5a1ed10eac209e28e44dfcdb2e | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['e67030076a135bb9e1c1f1201441128c581b307e'] | Add support for new metadata-url repo attribute | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -667,6 +667,17 @@ protected function loadRootServerFile()\n $this->hasPartialPackages = !empty($data['packages']) && is_array($data[... | PHP |
e8c694877047f331e042c17a4ac3b63b1a25962d | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['e753bf08b1cd3c2438a7e9aca0b94f5957626704'] | Deduplicate link instances between versions of a given package | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -38,6 +38,70 @@ public function __construct(VersionParser $parser = null, $loadOptions = false)\n }\n \n public function load(array $config, $... | PHP |
fc03ab9bbae520a38bdc71f2d5620edd90967893 | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['e8c694877047f331e042c17a4ac3b63b1a25962d'] | Add COMPOSER_DISABLE_NETWORK env var for debugging | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -928,4 +928,9 @@ repository options.\n Defaults to `1`. If set to `0`, Composer will not create `.htaccess` files in the\n composer home, cache, and data directories.\n \n+### COMPOSER_DISABLE_NETWORK\n+\n+If s... | PHP |
14d6bcedda172844cda2dcc2ccb15c86a653d61b | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['00de0f58541b09d863e025d0b881256ef1d63ae8'] | Fix redirect handling and some output tweaks | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -108,7 +108,7 @@ private function initDownload($resolve, $reject, $origin, $url, $options, $copyT\n {\n $attributes = array_merge(array(\n ... | PHP |
b47330adf10738e2533b774e39f75fcec40365c2 | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['14d6bcedda172844cda2dcc2ccb15c86a653d61b'] | Refactor ComposerRepository to work with combined repos having lazy providers and partial packages | [{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -317,8 +317,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n } else {\n $type = 'available';\n ... | PHP |
137c32e72e45ec2c9cbdfb3dc7226897fe1ea92f | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['b47330adf10738e2533b774e39f75fcec40365c2'] | Do not prohibit http for old provider URLs on .org in case they are used | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -114,8 +114,10 @@ private function initDownload($resolve, $reject, $origin, $url, $options, $copyT\n \n $originalOptions = $options;\n \n- ... | PHP |
a5d5270a7e8db39baf141bccdfc4c4875ed0f1db | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['137c32e72e45ec2c9cbdfb3dc7226897fe1ea92f'] | Make sure other providers of a name are never loaded | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -136,7 +136,7 @@ public function findPackage($name, $constraint)\n \n if ($this->lazyProvidersUrl) {\n if ($this->hasPartial... | PHP |
4b7658a2a86ee9f834dd022de1e25487e4a140c4 | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['a5d5270a7e8db39baf141bccdfc4c4875ed0f1db'] | Small tweaks and make sure composer fails properly in a plane | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -250,13 +250,18 @@ public function loadPackages(array $packageNameMap, $isPackageAcceptableCallable\n foreach ($packageNameMap as $n... | PHP |
fd5c5ff6bc4b7662d342efebace527295f5f4160 | 281 | 2019-01-14 17:29:24+01:00 | -3,600 | ['4b7658a2a86ee9f834dd022de1e25487e4a140c4'] | Fix implementation of whatProvides for older provider-only repos | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -95,7 +95,6 @@ public function loadPackages(array $versions, $class)\n \n $packages[] = $package;\n }\n-\n }\n \n ... | PHP |
0f2f950cb6aa583b60c7b63845734dce185874a7 | 281 | 2019-01-15 11:40:49+01:00 | -3,600 | ['c97b7a9be5701ea606ef3eecb01016903f9d25ac'] | Add available-packages key for new repo format, and many consistency tweaks/fixes across various repo formats | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -47,6 +47,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito\n protected $searchUrl;\n protected $has... | PHP |
59360983c604bb44e8ada7a281c81046f8cd4ff5 | 479 | 2019-01-17 13:08:51+01:00 | -3,600 | ['0e44d53bda39ba1ac8ab4bfdc1aed410fdb49fa5'] | Archive: cleanup temp dir on download error | [{'old_path': 'src/Composer/Package/Archiver/ArchiveManager.php', 'new_path': 'src/Composer/Package/Archiver/ArchiveManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -147,8 +147,13 @@ public function archive(PackageInterface $package, $format, $targetDir, $fileNam\n $sourcePath = sys_get_temp_... | PHP |
3dfcae99a901c8743272e93a0698b4838439041c | 281 | 2019-01-18 08:39:03+01:00 | -3,600 | ['0f2f950cb6aa583b60c7b63845734dce185874a7'] | Add parallel download capability to FileDownloader and derivatives | [{'old_path': 'src/Composer/Command/ArchiveCommand.php', 'new_path': 'src/Composer/Command/ArchiveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,6 +22,7 @@\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n use Composer\\Util\\Filesystem;\n+use Composer\\Util\\Loop;\n use... | PHP |
5b78ea529a90f273684b338132e6b84f46b5209f | 200 | 2019-01-18 11:45:35+02:00 | -7,200 | ['154ae6fae28c210cd6cf5d76aace04aefef1ca65'] | Fix: Keep replaced packages for autoload dumping with --no-dev | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -940,9 +940,13 @@ protected function filterPackageMap(array $packageMap, PackageInterface $mainPac\n $packageMap,\n function (... | PHP |
549ccd8f794c0c1c51b957e864cc914482e82a85 | 281 | 2019-01-18 11:48:51+01:00 | -3,600 | ['ea978ee7f8e4897667c4b490c839145582a33cd1'] | Remote outputProgress concept from downloaders as it does not make sense when things happen in parallel, refs #7901 | [{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -162,7 +162,6 @@ public function installProject(IOInterface $io, Config $config, InputInterface $\n }\n \n $composer = Factory::cr... | PHP |
bb2f64c7bc37bbc01de6eb4efa49719c5ff80a77 | 281 | 2019-01-18 12:14:37+01:00 | -3,600 | ['549ccd8f794c0c1c51b957e864cc914482e82a85'] | Remove ability to override the entire HttpDownloader instance in PRE_FILE_DOWNLOAD events | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -106,21 +106,19 @@ public function download(PackageInterface $package, $path, $output = true)\n \n $io = $this->io;\n $cache = $this->ca... | PHP |
37550ce44b5c7d8f42c3528389a354af4b975d59 | 281 | 2019-01-18 18:49:45+01:00 | -3,600 | ['f54237159da2437aea09a0b70a8214c7766527a0'] | Add support for new minified format | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -598,8 +598,6 @@ private function loadAsyncPackages(array $packageNames, $isPackageAcceptableCall\n \n $promises[] = $this->asyncFet... | PHP |
bcff704bc52efc22be7f74a8a62145ea924250e5 | 393 | 2019-01-21 11:09:52+07:00 | -25,200 | ['0e44d53bda39ba1ac8ab4bfdc1aed410fdb49fa5'] | Add alias of run-script command | [{'old_path': 'src/Composer/Command/RunScriptCommand.php', 'new_path': 'src/Composer/Command/RunScriptCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -48,6 +48,7 @@ protected function configure()\n {\n $this\n ->setName('run-script')\n+ ->setAliases(array('run'))\n ... | PHP |
3d1e0e79ccc79af687beaf807123496fa74053d3 | 313 | 2019-01-22 11:18:35+10:30 | -37,800 | ['0fca816d8f0a12775cfa567ffea793ff72eb1311'] | Allow for no-api for Github to be a composer configuration as well as repo specific | [{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -61,6 +61,7 @@ class Config\n 'archive-format' => 'tar',\n 'archive-dir' => '.',\n 'htaccess-protect' => true,\n+ 'no-api' => false,\n // valid keys wi... | PHP |
8b1f8a46293669ac9b5b0737bd4715108b3245c6 | 313 | 2019-01-22 11:22:55+10:30 | -37,800 | ['3d1e0e79ccc79af687beaf807123496fa74053d3'] | Add no-api in the config as an acceptable config | [{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -302,6 +302,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $uniqueConfigValues = array(\n 'process-timeou... | PHP |
c5cc178375cad478efabf74270e8583e217afa4a | 281 | 2019-01-28 14:31:16+01:00 | -3,600 | ['d2085936fe01a1b9ee1d3faa97a090e7110e2498'] | Update to latest CA bundle | [{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,16 +8,16 @@\n "packages": [\n {\n "name": "composer/ca-bundle",\n- "version": "1.1.3",\n+ "version": "1.1.4",\n "source": {\n "type":... | PHP |
a9aaa25d4c705219a4c14f2f3bb58395aac6cf24 | 281 | 2019-01-28 14:46:34+01:00 | -3,600 | ['c5cc178375cad478efabf74270e8583e217afa4a'] | Fix compat with Symfony Process 4.2, fixes #7923 | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -557,7 +557,12 @@ protected function getGitConfig()\n $finder = new ExecutableFinder();\n $gitBin = $finder->find('git');\n \n+ // TODO in v3... | PHP |
02ceb74151eb027cf74c17059dfb80a1af1a088d | 281 | 2019-01-28 15:29:37+01:00 | -3,600 | ['61bd9f83f1e32bd534fe1cee2c46e81212d57bde'] | Tweak --no-cache option to be available globally and to not break VCS drivers relying on it, refs #7880, refs #6650 | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,6 +22,8 @@ The following options are available with every command:\n * **--quiet (-q):** Do not output any message.\n * **--no-interaction (-n):** Do not ask any interactive question.\n * **--no-plugins:** ... | PHP |
abcde190224398da456ae1bc352091f9bce38231 | 281 | 2019-01-28 16:17:46+01:00 | -3,600 | ['a9aaa25d4c705219a4c14f2f3bb58395aac6cf24'] | Document --no-check-all better, fixes #7889 | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -491,7 +491,7 @@ php composer.phar validate\n \n ### Options\n \n-* **--no-check-all:** Do not emit a warning if requirements in `composer.json` use unbound version constraints.\n+* **--no-check-all:** Do not e... | PHP |
ea333aa134ad36e104e2cb45c79093df4df67b6e | 118 | 2019-01-28 16:47:33+01:00 | -3,600 | ['2200043a433164bfba28692655b605d1f5166a4d'] | Fix: Remove empty node | [{'old_path': 'src/Composer/Config/JsonConfigSource.php', 'new_path': 'src/Composer/Config/JsonConfigSource.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -193,6 +193,10 @@ public function removeLink($type, $name)\n {\n $this->manipulateJson('removeSubNode', $type, $name, function (&$config, $type,... | PHP |
3b6b63784fe5e11e5eaf469aebd6fa40e723403a | 200 | 2019-01-28 17:02:32+01:00 | -7,200 | ['abcde190224398da456ae1bc352091f9bce38231'] | Fix: Keep replaced packages for autoload dumping with --no-dev | [{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -940,9 +940,13 @@ protected function filterPackageMap(array $packageMap, PackageInterface $mainPac\n $packageMap,\n function (... | PHP |
386382503dfb009f378f8318c2b9b973c3e6aee7 | 388 | 2019-01-28 17:08:51+01:00 | -7,200 | ['3b6b63784fe5e11e5eaf469aebd6fa40e723403a'] | Add a test for autoloading if a package is only required via replacing name | [{'old_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'new_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -453,6 +453,39 @@ public function testNonDevAutoloadShouldIncludeReplacedPackages()\n );\n }\n \n+ public functio... | PHP |
50cb5fe3daa8e29b1de19cc24dddd278422b8ddd | 276 | 2019-01-28 17:34:08+01:00 | -3,600 | ['386382503dfb009f378f8318c2b9b973c3e6aee7'] | Update all whitelist matching root dependencies
The update command can receive a pattern like `vendor/prefix-*`
to update all matching packages.
This has not worked if multiple packages, depending on each other,
where matched to the given pattern. No package has been updated
in this case as only the first package matc... | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1332,8 +1332,8 @@ private function whitelistUpdateDependencies($localOrLockRepo, array $rootRequir\n $whitelistPatternRegexp = BasePackage::packageNameToRegexp($packag... | PHP |
dc59af555aadcf52ff74735de571f5f5e3318560 | 276 | 2019-01-28 17:34:19+01:00 | -3,600 | ['50cb5fe3daa8e29b1de19cc24dddd278422b8ddd'] | Fix invalid call to array_merge | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1323,7 +1323,7 @@ private function whitelistUpdateDependencies($localOrLockRepo, array $rootRequir\n foreach ($this->updateWhitelist as $packageName => $void) {\n ... | PHP |
1845adcfbdeeff9884ff4561287a32ffaab25749 | 276 | 2019-01-28 17:34:24+01:00 | -3,600 | ['dc59af555aadcf52ff74735de571f5f5e3318560'] | Fix update whitelist pattern resolving and add more tests | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1301,11 +1301,6 @@ private function whitelistUpdateDependencies($localOrLockRepo, array $rootRequir\n \n $rootRequires = array_merge($rootRequires, $rootDevRequires);\n \n- ... | PHP |
4765a8f21b38b7ee65968569a00fa96d00f9d2f9 | 366 | 2019-01-28 17:55:13+01:00 | -3,600 | ['1f97ffdcd700df530376f7a5e013c9a78ee0d93b'] | MB to MiB
I did not study computer science, so correct me if I'm wrong. But I think you are calculating mebibyte (MiB) not megabyte (MB). Megabyte would be:
... round($valueInByte / 1000 / 1000, 2).'MB ...
Or is there some specific standard you follow? According to https://en.wikipedia.org/wiki/Binary_prefix both ca... | [{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -262,7 +262,7 @@ function_exists('php_uname') ? php_uname('s') . ' / ' . php_uname('r') : 'Unknow\n }\n \n if (isset($startTime)) {\n- ... | PHP |
909d1c430eb439a91cab7fc6373be97f9396cba1 | 303 | 2019-01-28 20:52:02+00:00 | 0 | ['e0c44f2a25dfca01394dd497ee302ce7fbe1d595'] | Update xdebug-handler, fixes #7921 | [{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -187,16 +187,16 @@\n },\n {\n "name": "composer/xdebug-handler",\n- "version": "1.3.1",\n+ "version": "1.3.2",\n "source": {\n "type... | PHP |
fbb9d20c33597b2aeb1d985e2d44ff8cb00e9c62 | 313 | 2019-01-29 07:26:38+10:30 | -37,800 | ['8b1f8a46293669ac9b5b0737bd4715108b3245c6'] | Adjusted config name to be more descriptive, added documentation | [{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -234,6 +234,14 @@ github API will have a date instead of the machine hostname.\n Defaults to `["gitlab.com"]`. A list of domains of GitLab servers.\n This is used if you use the `gitlab` repository type.\... | PHP |
dec2b5cd5008a5e69a2f47ea32310ac39ac71052 | 236 | 2019-01-29 10:45:02+01:00 | 18,000 | ['e0c44f2a25dfca01394dd497ee302ce7fbe1d595'] | add gitlab token auth for git clone | [{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -153,6 +153,28 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n return;\n }\n }\n+ ... | PHP |
98a15bc93cd4bbe1b11778f9a8a424b5d0f6b043 | 281 | 2019-01-29 11:38:18+01:00 | -3,600 | ['dec2b5cd5008a5e69a2f47ea32310ac39ac71052'] | Add output for metapackage installs/updates/.. fixes #7586 | [{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -215,8 +215,8 @@ protected function clearLastCacheWrite(PackageInterface $package)\n public function update(PackageInterface $initial, PackageInterf... | PHP |
acea4a4d4de0f9cf8523cc0fb81c654d0190d483 | 281 | 2019-01-29 13:46:23+01:00 | -3,600 | ['98a15bc93cd4bbe1b11778f9a8a424b5d0f6b043'] | Warn on invalid package name or require/provide/.., fixes #7874 | [{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -347,7 +347,7 @@ public function createComposer(IOInterface $io, $localConfig = null, $disablePlu\n // load package\n $parser = new VersionParser;\n $guesser = new ... | PHP |
1b196720bf451774f65a55e35b2298b9ef5482a4 | 222 | 2019-01-29 09:48:15-08:00 | 28,800 | ['5e35464044ac7eb623028f13276c1ff4caf58b30'] | Support identifying the HHVM version when not running with HHVM
hhvm-nightly (and the next release) are no longer able to execute
Composer. Support executing Composer with PHP to install dependencies
for hack projects.
The goal is for this to be temporary, until Hack identifies a new
package manager, given that Compo... | [{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,8 +16,11 @@\n use Composer\\Package\\PackageInterface;\n use Composer\\Package\\Version\\VersionParser;\n use Composer\\Plugin\\PluginInterf... | PHP |
6d58b13ee4aef653529d455f2e0f416f72261c28 | 80 | 2019-01-29 18:03:03+00:00 | 0 | ['f42d4d9ede439f27cbb2ceeb2502521f5c90d603'] | Update installer commit to fix SHA384 bug
Installer linked is affected by #7669 | [{'old_path': 'doc/faqs/how-to-install-composer-programmatically.md', 'new_path': 'doc/faqs/how-to-install-composer-programmatically.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,7 @@ give it uniqueness and authenticity as long as you can trust the GitHub servers.\n For example:\n \n ```bash\n-wget h... | PHP |
19ba2edd5c9e86a5786245e6349e979e5ca380d1 | 281 | 2019-01-30 08:58:38+01:00 | -3,600 | ['e05fa2368feaec043bedcb17c2d330d17ef70186'] | Add warning/info msg when tweaking disable-tls setting to avoid confusion, fixes #7935 | [{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -456,6 +456,10 @@ function ($vals) {\n );\n \n if ($input->getOption('unset') && (isset($uniqueConfigValues[$settingKey]) || isset($multiConfigV... | PHP |
e085a72f6450a83d173f0eaa7399158a7f5fd686 | 303 | 2019-01-31 11:23:48+00:00 | 0 | ['b3182b0f7dd84f36e7d8e57dc6316bb8a937871c'] | Fix mode bitmask when detecting a Windows junction | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -648,6 +648,10 @@ public function junction($target, $junction)\n /**\n * Returns whether the target directory is a Windows NTFS Junction.\n *\n+ * We test... | PHP |
d1ce9f6246f797b4c65f47e4c156fdb064b9f8b0 | 136 | 2019-01-31 13:46:45+01:00 | -3,600 | ['b3182b0f7dd84f36e7d8e57dc6316bb8a937871c'] | Fix defaultRepos fallback does not use auth config
When a full 'composer' cannot be constructed (because there is no
local composer.json and no global composer.json), some commands
(e.g. `show -a`) fall back to the default repositories from the
`$COMPOSER_HOME/config.json` file. Without this fix, any auth
configuratio... | [{'old_path': 'src/Composer/Repository/RepositoryFactory.php', 'new_path': 'src/Composer/Repository/RepositoryFactory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -93,6 +93,7 @@ public static function defaultRepos(IOInterface $io = null, Config $config = nul\n {\n if (!$config) {\n $c... | PHP |
e151a6c51c08e638d271c64b5384cbbd5ecc6333 | 136 | 2019-01-31 13:46:45+01:00 | -3,600 | ['d1ce9f6246f797b4c65f47e4c156fdb064b9f8b0'] | Only load configuration into IO if IO is available | [{'old_path': 'src/Composer/Repository/RepositoryFactory.php', 'new_path': 'src/Composer/Repository/RepositoryFactory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -93,8 +93,10 @@ public static function defaultRepos(IOInterface $io = null, Config $config = nul\n {\n if (!$config) {\n $... | PHP |
82b010782d1c1a3553862621d4eae83e31cdb3d1 | 136 | 2019-01-31 13:46:46+01:00 | -3,600 | ['e151a6c51c08e638d271c64b5384cbbd5ecc6333'] | Also load config into IO if not freshly created | [{'old_path': 'src/Composer/Repository/RepositoryFactory.php', 'new_path': 'src/Composer/Repository/RepositoryFactory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -93,10 +93,10 @@ public static function defaultRepos(IOInterface $io = null, Config $config = nul\n {\n if (!$config) {\n ... | PHP |
bac2ef3dfdfe60cec4c1cea7371f776fa6073d0a | 222 | 2019-02-01 11:20:34-08:00 | 28,800 | ['1b196720bf451774f65a55e35b2298b9ef5482a4'] | Don't do (new Foo())->bar() - not 5.3-compatible | [{'old_path': 'tests/Composer/Test/Repository/PlatformRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/PlatformRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -49,7 +49,8 @@ public function testHHVMVersionWhenExecutingInPHP() {\n $this->markTestSkipped('Test does not r... | PHP |
6b2edeae56d83b84ba60957aee18c314257d98fa | 388 | 2019-02-03 16:33:55+01:00 | -3,600 | ['27bdda1fd3d6065a2a1ff4e33854668d80f76f6f'] | Fix solver problem exceptions with unexpected contradictory "Conclusions"
This 5 character fix comes with a solver test as well as a functional
installer test essentially verifying the same thing. The solver test is
more useful when working on the solver. But the functional test is less
likely to be accidentally modif... | [{'old_path': 'src/Composer/DependencyResolver/Decisions.php', 'new_path': 'src/Composer/DependencyResolver/Decisions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -196,4 +196,16 @@ protected function addDecision($literal, $level)\n $this->decisionMap[$packageId] = -$level;\n }\n }\n+\... | PHP |
17788c76f635f0f4ff43e19e672e651fc144faf4 | 222 | 2019-02-06 12:51:30-08:00 | 28,800 | ['bac2ef3dfdfe60cec4c1cea7371f776fa6073d0a'] | Better error message for present but incompatible versions
hhvm-nightly (and next week's release) now report 4.x, so all the 3.x
constraints are now giving misleading error messages with this patch.
Before:
```
- facebook/fbexpect v2.3.0 requires hhvm ^3.28 -> you are running this with PHP and not HHVM.
```
Aft... | [{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -175,12 +175,17 @@ public function getPrettyString(Pool $pool, array $installedMap = array())\n return $text . ' -> your HHVM ve... | PHP |
f89f9439e4a24013cb48c20fa84e96f00ae280b2 | 342 | 2019-02-07 17:26:17+01:00 | -3,600 | ['fdcae616b0bdf57b1460491badb4501906a83044'] | Update aliases.md
Add composer command for alias. | [{'old_path': 'doc/articles/aliases.md', 'new_path': 'doc/articles/aliases.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -89,6 +89,12 @@ Add this to your project\'s root `composer.json`:\n }\n ```\n \n+Or let composer add it for you with:\n+\n+```\n+php composer.phar require monolog/monolog:"dev-bugfix as 1.0.... | PHP |
f4b9bbbf42064548f77a77d602ff29ce06bd2f10 | 303 | 2019-02-08 17:33:13+00:00 | 0 | ['f2cc666c2caa5ef23b5f6dd2eabbe4a12ff7631b'] | Make unixy proxy code POSIX compatible | [{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -196,9 +196,13 @@ protected function generateUnixyProxyCode($bin, $link)\n \n dir=\\$(cd "\\${0%[/\\\\\\\\]*}" > /dev/null; cd $binDir && pwd)\n \n-if [... | PHP |
eee98018f72903424d6d2a5d5bfd26baf3a1a13f | 383 | 2019-02-10 11:38:47+01:00 | -3,600 | ['6599f46c23601e86399f2c2646fe27c67aae4fae'] | Soften hard exit after revert of composer file | [{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -195,7 +195,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n $status = $install->run();\n if ($status !== ... | PHP |
408df4b87804503dc2c8861256dd303055652089 | 281 | 2019-02-10 12:39:00+01:00 | -3,600 | ['eee98018f72903424d6d2a5d5bfd26baf3a1a13f'] | Avoid dumping null values for dist reference/shasum and source reference, fixes #7955 | [{'old_path': 'src/Composer/Package/Dumper/ArrayDumper.php', 'new_path': 'src/Composer/Package/Dumper/ArrayDumper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -48,7 +48,9 @@ public function dump(PackageInterface $package)\n if ($package->getSourceType()) {\n $data['source']['type'] = $pac... | PHP |
4de1f021f59a4565f362712558650de4d94e363e | 281 | 2019-02-10 12:40:11+01:00 | -3,600 | ['408df4b87804503dc2c8861256dd303055652089'] | Quote wildcards to avoid issues in some shells, fixes #7960 | [{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -138,7 +138,7 @@ php composer.phar update vendor/package vendor/package2\n You can also use wildcards to update a bunch of packages at once:\n \n ```sh\n-php composer.phar update vendor/*\n+php composer.phar up... | PHP |
e1ac0c794880e269f8600d21149d8a4c5dfa0ed5 | 281 | 2019-02-10 12:49:29+01:00 | -3,600 | ['4de1f021f59a4565f362712558650de4d94e363e'] | Recognize composer-plugin-api as a platform package, fixes #7951 | [{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -27,7 +27,7 @@\n */\n class PlatformRepository extends ArrayRepository\n {\n- const PLATFORM_PACKAGE_REGEX = '{^(?:php(?:-64bit|-ipv6|-zts|-... | PHP |
94df55425596c0137d0aa14485bba2fb05e15de6 | 281 | 2019-02-10 12:57:39+01:00 | -3,600 | ['e1ac0c794880e269f8600d21149d8a4c5dfa0ed5'] | Make sure config command output is also output on --quiet so that warnings can be hidden, fixes #7963 | [{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,6 +21,7 @@\n use Composer\\Config;\n use Composer\\Config\\JsonConfigSource;\n use Composer\\Factory;\n+use Composer\\IO\\IOInterface;\n use Composer\\Json\... | PHP |
da0dc74414fd8e6eca65619a6d9c1dd1a04facc6 | 303 | 2019-02-10 14:41:20+00:00 | 0 | ['e085a72f6450a83d173f0eaa7399158a7f5fd686'] | Update doc block, remove redundant clearstatcache | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -652,6 +652,11 @@ public function junction($target, $junction)\n * that the mode value returned from lstat (which gives the status of the\n * link itself) is not ... | PHP |
29ff6a40ae2e64d52b444329ce16cf6b10eaf652 | 388 | 2019-02-10 20:26:47+01:00 | -3,600 | ['c66bb0b1d06454cb73e6cd65b6be470417fae5ff'] | Follow up to #7946 test: add solver flag to assert path execution | [{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -57,6 +57,9 @@ class Solver\n /** @var array */\n protected $learnedWhy = array();\n \n+ /** @var bool */\n+ public $testFlagLearnedPositi... | PHP |
1211ba1d5177cf17a635fb8eb0f16db13fdf31a4 | 388 | 2019-02-10 20:28:45+01:00 | -3,600 | ['287419f6a0ddda7824888af7bc33d65932b39743'] | BC break: Remove workaround for loading lock files without dev requires | [{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -350,16 +350,7 @@ protected function doInstall($localRepo, $installedRepo, $platformRepo, $aliases\n // and a lock file is present as we need to force install non-whitelisted l... | PHP |
10ada7bf82d317bb18813e62b7b103a0f5a86880 | 388 | 2019-02-11 01:00:02+01:00 | -7,200 | ['1211ba1d5177cf17a635fb8eb0f16db13fdf31a4'] | Refactor Installer class into separate install and update processes
- Introduce separate Lock and LocalRepo transactions, one for changes
to the lock file, one for changes to locally installed packages based
on lock file
- Remove various hacks to keep dev dependencies updated and
incorporated the functionality i... | [{'old_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'new_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -44,7 +44,7 @@ public function versionCompare(PackageInterface $a, PackageInterface $b, $operat\n return $constraint->matchSpecifi... | PHP |
c903a63f100cd6a5afbbcbdca4bb8fceae2261fd | 303 | 2019-02-11 10:20:47+00:00 | 0 | ['a5cd912c02b94e8f5c97a0506eda456d47286a37'] | Update appveyor to PHP 7.3 | [{'old_path': 'appveyor.yml', 'new_path': 'appveyor.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,7 +3,7 @@ clone_depth: 5\n \n environment:\n # This sets the PHP version (from Chocolatey)\n- PHPCI_CHOCO_VERSION: 7.2.9\n+ PHPCI_CHOCO_VERSION: 7.3.1\n PHPCI_CACHE: C:\\tools\\phpci\n PHPCI_PHP: C:\\t... | PHP |
d1cf69fa922d6a46cad283e9d347761175ee0b0a | 303 | 2019-02-11 13:32:52+00:00 | 0 | ['875a7dd924c08178725c250d3ff4faf39b194397'] | Remove junctions with PHP rather than system rmdir
PHP will happily remove junctions using its `rmdir` function (tested on
versions back to 5.2.17). This saves invoking system `rmdir` through
cmd.exe. | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -692,9 +692,7 @@ public function removeJunction($junction)\n if (!$this->isJunction($junction)) {\n throw new IOException(sprintf('%s is not a junction ... | PHP |
6212eadcb07349ed946fc8e9a7698f49d20084b7 | 303 | 2019-02-11 22:23:23+00:00 | 0 | ['603fe500f941b4bd681cfc2c57a065c73ee894f8'] | Only use junctions if they can be safely removed | [{'old_path': 'src/Composer/Downloader/PathDownloader.php', 'new_path': 'src/Composer/Downloader/PathDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -82,6 +82,12 @@ public function download(PackageInterface $package, $path, $output = true)\n $allowedStrategies = array(self::STRATEGY_MIRRO... | PHP |
fc2c445c063cc71eafc945e6a19125215b0acb00 | 345 | 2019-02-12 13:57:21+01:00 | -3,600 | ['4d26198ddecf400c0059e7862a70d9edf63836db'] | Make sure we properly usleep() on windows rmdir/unlink
usleep() returns void, therefore the previous code didn't work | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -199,9 +199,15 @@ public function ensureDirectoryExists($directory)\n */\n public function unlink($path)\n {\n- if (!@$this->unlinkImplementation($path)... | PHP |
0aa030f09d3fb47b708e39cffeb7470099010f0c | 345 | 2019-02-13 07:26:14+01:00 | -3,600 | ['f7f0a978bba1253f763417c4cbd66e9d65480496'] | Fixed typo introduced in recent fix | [{'old_path': 'src/Composer/Util/Filesystem.php', 'new_path': 'src/Composer/Util/Filesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -235,7 +235,7 @@ public function rmdir($path)\n // retry after a bit on windows since it tends to be touchy with mass removals\n if (Platform::isWin... | PHP |
c875f538ea49048a783d43082e3dfeb0a3d5c5dc | 388 | 2019-02-14 17:57:29+01:00 | -3,600 | ['10ada7bf82d317bb18813e62b7b103a0f5a86880'] | Make root alias behaviour consistent, add root ref handling, lock to newest metadata
root aliases during install should come from the lock file only, for
better reproducibility we don't reuse the value from update for the
following install | [{'old_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'new_path': 'src/Composer/DependencyResolver/LockTransaction.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -108,7 +108,7 @@ protected function calculateOperations()\n }\n \n // TODO additionalFixedRepository needs to be looked at her... | PHP |
d9f873d00e6670f6802441e21538e0e4704128a2 | 281 | 2019-02-16 17:40:47+01:00 | -3,600 | ['723308a1e70cd43955f80c93265e4db0d5bd0568'] | Abort when HHVM 4.0 is detected to output a clear user message, refs #7990 | [{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -18,6 +18,11 @@ $xdebug = new XdebugHandler('Composer', '--ansi');\n $xdebug->check();\n unset($xdebug);\n \n+if (defined('HHVM_VERSION') && version_compare(HHVM_VERSION, '4.0', '>=')) {\n+ echo 'HHVM 4.0 has ... | PHP |
4d85e217c30ebcc67618e0978cd99544f7aeb634 | 123 | 2019-02-16 18:46:59+01:00 | -3,600 | ['69745745b39bf6b24c8f88dc18b44980ee042e28'] | Extract the ZIP utility functions from ArtifactRepository | [{'old_path': 'src/Composer/Repository/ArtifactRepository.php', 'new_path': 'src/Composer/Repository/ArtifactRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n use Composer\\Json\\JsonFile;\n use Composer\\Package\\Loader\\ArrayLoader;\n use Composer\\Package\\Loader\\LoaderInterface;\n... | PHP |
0fd74d1cc43ce7bedfc21e473ea4b44e9b3a2503 | 281 | 2019-02-18 12:28:21+01:00 | -3,600 | ['9957807990d2957388706fa65e0db917428c320a'] | Fix PerforceDownloader, fixes #7979 | [{'old_path': 'src/Composer/Downloader/PerforceDownloader.php', 'new_path': 'src/Composer/Downloader/PerforceDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -78,7 +78,7 @@ private function getRepoConfig(VcsRepository $repository)\n */\n public function doUpdate(PackageInterface $initial, Pac... | PHP |
a062cd1a31f05dd5b87f761f1784dec4775f7306 | 492 | 2019-02-18 13:05:14+01:00 | -3,600 | ['fb3d0981c04570d283485da984f4d4d96a998b78'] | added phpstan on level 0 | [{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,10 +23,15 @@ matrix:\n - php: 5.6\n - php: 7.0\n - php: 7.1\n+ env: PHPSTAN=1\n - php: 7.2\n+ env: PHPSTAN=1\n - php: 7.3\n+ env: PHPSTAN=1\n - php: 7.3\n- env: deps=... | PHP |
799717f102ec64482d2aaaa5fef58bd86952e9ad | 281 | 2019-02-18 13:05:14+01:00 | -3,600 | ['a062cd1a31f05dd5b87f761f1784dec4775f7306'] | Tweak and fix some more phpstan reports | [{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -29,9 +29,11 @@ parameters:\n - '~^Undefined variable: \\$vendorDir$~'\n - '~^Undefined variable: \\$baseDir$~'\n \n+ # variable defined in eval\n+ - '~^Undefined varia... | PHP |
169fb2347ac63cf3a105bd65589fc982577d07e2 | 281 | 2019-02-18 17:00:57+01:00 | -3,600 | ['d381b3a781b70e92152e752df3c704e700e6270e'] | Avoid issues with git signatures when running tests | [{'old_path': 'tests/Composer/Test/Package/Archiver/ArchivableFilesFinderTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ArchivableFilesFinderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -189,6 +189,7 @@ public function testGitExcludes()\n \'git init && \'.\n \'git c... | PHP |
1b7e957cc1b62ad815dfdd4fab912bd8916e428f | 281 | 2019-02-18 18:12:38+01:00 | -3,600 | ['169fb2347ac63cf3a105bd65589fc982577d07e2'] | Add EventDispatcher::removeListener to allow deregistration of listeners | [{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -46,7 +46,7 @@ class EventDispatcher\n protected $io;\n protected $loader;\n protected $process;\n- protected $listeners;\n+ ... | PHP |
3fc9ede24b85cbca0914060e6043abdc2cb1e406 | 281 | 2019-02-18 18:14:46+01:00 | -3,600 | ['1b7e957cc1b62ad815dfdd4fab912bd8916e428f'] | Add plugin callbacks for deactivation and uninstall, fixes #3000 | [{'old_path': 'src/Composer/Installer/PluginInstaller.php', 'new_path': 'src/Composer/Installer/PluginInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -70,7 +70,7 @@ public function install(InstalledRepositoryInterface $repo, PackageInterface $pa\n $this->composer->getPluginManager()->regis... | PHP |
6c782599f1e2e4a07a102aa28d5f70d39300bf95 | 281 | 2019-02-19 10:54:42+01:00 | -3,600 | ['1b7e957cc1b62ad815dfdd4fab912bd8916e428f'] | Make IOInterface implement psr-4 LoggerInterface, fixes #5180 | [{'old_path': 'src/Composer/IO/BaseIO.php', 'new_path': 'src/Composer/IO/BaseIO.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,10 +14,9 @@\n \n use Composer\\Config;\n use Composer\\Util\\ProcessExecutor;\n-use Psr\\Log\\LoggerInterface;\n use Psr\\Log\\LogLevel;\n \n-abstract class BaseIO implements IOInt... | PHP |
ab945a6ec1899d5f5f5f844d39d5e921ddcebccd | 281 | 2019-02-19 11:11:55+01:00 | -3,600 | ['6c782599f1e2e4a07a102aa28d5f70d39300bf95'] | Clean up RepositoryInterface, fixes #5464 | [{'old_path': 'src/Composer/Repository/RepositoryInterface.php', 'new_path': 'src/Composer/Repository/RepositoryInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -78,8 +78,9 @@ public function loadPackages(array $packageNameMap, $isPackageAcceptableCallable\n *\n * @param string $query search ... | PHP |
65903aacfdc19acb52c441dc5567d45052cfa169 | 241 | 2019-02-19 15:35:48+01:00 | 18,000 | ['ab945a6ec1899d5f5f5f844d39d5e921ddcebccd'] | Fix type issues (#7996)
* Fix type issues found by Psalm | [{'old_path': 'src/Composer/Command/BaseCommand.php', 'new_path': 'src/Composer/Command/BaseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -27,6 +27,8 @@\n /**\n * Base class for Composer commands\n *\n+ * @method Application getApplication()\n+ *\n * @author Ryan Weaver <ryan@knplabs.com>\n * @aut... | PHP |
61cd8664e56cfd71ed88537edabf616262518a9a | 281 | 2019-02-20 08:43:40+01:00 | -3,600 | ['7a301d9ad1d759e3206d8faa5a318ddba9db8486'] | Avoid creating empty bitbucket files if there was no composer.json present in the original branch/tag | [{'old_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/BitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -124,6 +124,7 @@ public function getComposerInformation($identifier)\n \n $composer = $this->getBaseComposerInformation($identifie... | PHP |
ff82334124633d35f23343db17017e0d5abab1c2 | 281 | 2019-02-20 09:24:13+01:00 | -3,600 | ['65903aacfdc19acb52c441dc5567d45052cfa169'] | Load ~dev files as well as main provider files for new v2 protocol, fixes #6415 | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -581,6 +581,13 @@ private function loadAsyncPackages(array $packageNames, $isPackageAcceptableCall\n throw new \\LogicException('loa... | PHP |
177f21ec5c975df8771517d53192da7aa2b46651 | 281 | 2019-02-20 10:51:07+01:00 | -3,600 | ['ff82334124633d35f23343db17017e0d5abab1c2'] | Fix loading of dev providers, refs #6415 | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -591,8 +591,9 @@ private function loadAsyncPackages(array $packageNames, $isPackageAcceptableCall\n foreach ($packageNames as $name => $... | PHP |
2e204b016187c1ce4a50021fc127ff19ea5c650e | 281 | 2019-02-20 11:10:44+01:00 | -3,600 | ['177f21ec5c975df8771517d53192da7aa2b46651'] | Remove support for the first version of the compression algo (#7906) | [{'old_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -62,32 +62,10 @@ public function load(array $config, $class = 'Composer\\Package\\CompletePackage')\n \n public function loadPackages(array $versi... | PHP |
bdf1f7f82b6c7c876278fdcd2c85fa13b318a6e8 | 281 | 2019-02-20 13:24:44+01:00 | -3,600 | ['2e204b016187c1ce4a50021fc127ff19ea5c650e'] | Fix loading of aliased packages in ComposerRepository when filtering by callback | [{'old_path': 'src/Composer/Repository/BaseRepository.php', 'new_path': 'src/Composer/Repository/BaseRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -32,9 +32,11 @@ public function loadPackages(array $packageMap, $isPackageAcceptableCallable)\n \n $result = array();\n foreach ($packag... | PHP |
60df8925174dfb385368efbbfd2d19c7f372c2cd | 281 | 2019-02-21 12:46:02+01:00 | -3,600 | ['8fe2b9ec69b8da2e4a0ca9629f20559c568bff6a'] | Store dev mode in installed.json, fixes #3008 | [{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -62,7 +62,7 @@ script:\n - ls -d tests/Composer/Test/* | grep -v TestCase.php | parallel --gnu --keep-order \'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml --colors=always {} || (ech... | PHP |
ba346ef04d7cc6fdbf9423b06f51e48485d20b77 | 281 | 2019-02-21 12:57:27+01:00 | -3,600 | ['61cd8664e56cfd71ed88537edabf616262518a9a'] | Add forward compatibility for upcoming v2 installed.json format, refs #7999 | [{'old_path': 'src/Composer/Repository/FilesystemRepository.php', 'new_path': 'src/Composer/Repository/FilesystemRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -51,6 +51,11 @@ protected function initialize()\n try {\n $packages = $this->file->read();\n \n+ // forward c... | PHP |
0f36a42d614deb4638f5e00cd3a86309df78db72 | 281 | 2019-02-21 14:05:56+01:00 | -3,600 | ['427116749558f99e4c04ffa3fe358ebfd74d2fa5'] | Allow filtering of warning/info msgs by composer version | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -20,6 +20,7 @@\n use Composer\\Json\\JsonFile;\n use Composer\\Cache;\n use Composer\\Config;\n+use Composer\\Composer;\n use Composer\\Factory;... | PHP |
3f5a986170867e1c06517f7cc82c6db9cf99f1d7 | 281 | 2019-02-21 14:49:06+01:00 | -3,600 | ['5f988a34a69d81a86dee7779fadd9d7d41193d50'] | Show warning in all 400/500 responses if available, fixes #7814 | [{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -962,7 +962,7 @@ protected function fetchFile($filename, $cacheKey = null, $sha256 = null, $store\n }\n \n $data... | PHP |
f77285916a8c0481a57554ad8615a049660e6b9b | 281 | 2019-02-21 15:28:50+01:00 | -3,600 | ['d37642d9f2719316e99ab186ab971e6ccf255bb8'] | Clean up temp file on curl request failure and make sure the response body is avaiable on 3xx/4xx/5xx responses | [{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -251,16 +251,20 @@ public function tick()\n \n // prepare response object\n if ($job[\'filename\']) {\n- ... | PHP |
05d6b2178542857131011e3e46a8165414abc8aa | 123 | 2019-02-25 08:02:04+01:00 | -3,600 | ['9de07bed1b3f4b96e0da90f2caab525073cf5048'] | Use self:: for private method | [{'old_path': 'src/Composer/Util/Zip.php', 'new_path': 'src/Composer/Util/Zip.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,7 +38,7 @@ public static function findFile($pathToZip, $filename)\n return null;\n }\n \n- $foundFileIndex = static::locateFile($zip, $filename);\n+ ... | PHP |
0d0cb53f314eb7422f16b479e2efd145c730362f | 123 | 2019-03-01 11:06:03+01:00 | -3,600 | ['05d6b2178542857131011e3e46a8165414abc8aa'] | Adjust Zip Util to only find the root composer.json | [{'old_path': 'src/Composer/Repository/ArtifactRepository.php', 'new_path': 'src/Composer/Repository/ArtifactRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -83,7 +83,7 @@ private function scanDirectory($path)\n \n private function getComposerInformation(\\SplFileInfo $file)\n {\n- $co... | PHP |
627a832cc15f9321cbf97eb5692e515800b30f6f | 413 | 2019-03-01 19:39:07+01:00 | -3,600 | ['ba1e5c213c2932093ee3d8aa3ee1591ffa35e877'] | Return non zero exit code on deprecation | [{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -195,7 +195,9 @@ public function load(array $config, $class = 'Composer\\Package\\CompletePackage')\n foreach (array_keys(... | PHP |
5d14a95543d12436f3962b32357bafb6ae4bac8b | 413 | 2019-03-01 20:11:20+01:00 | -3,600 | ['627a832cc15f9321cbf97eb5692e515800b30f6f'] | Add test for warning on deprecated naming | [{'old_path': 'tests/Composer/Test/Package/Loader/ValidatingArrayLoaderTest.php', 'new_path': 'tests/Composer/Test/Package/Loader/ValidatingArrayLoaderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -337,6 +337,18 @@ public function warningProvider()\n ),\n false,\n ... | PHP |
6bce9da8c87450c9a08c217e1a4e6142087b4cf5 | 281 | 2019-03-04 08:53:18+01:00 | -3,600 | ['6473dd91850460b9825fa8300b71e7712618bafe'] | Only keep track of empty references that returned a 404 | [{'old_path': 'src/Composer/Repository/VcsRepository.php', 'new_path': 'src/Composer/Repository/VcsRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -223,7 +223,7 @@ protected function initialize()\n \n $this->addPackage($this->loader->load($this->preProcess($driver, $data, $identifier)... | PHP |
a91fd20673843e40e7d692f5f40fe3132912b030 | 123 | 2019-03-04 09:54:35+01:00 | -3,600 | ['0d0cb53f314eb7422f16b479e2efd145c730362f'] | Return the composer.json content instead of a zip:// path | [{'old_path': 'src/Composer/Repository/ArtifactRepository.php', 'new_path': 'src/Composer/Repository/ArtifactRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -83,15 +83,13 @@ private function scanDirectory($path)\n \n private function getComposerInformation(\\SplFileInfo $file)\n {\n- $... | PHP |
0e2215dc6c40c67ca720fe4863eaff5624d8ead1 | 123 | 2019-03-04 11:08:59+01:00 | -3,600 | ['a91fd20673843e40e7d692f5f40fe3132912b030'] | Added full unit test coverage | [{'old_path': 'src/Composer/Util/Zip.php', 'new_path': 'src/Composer/Util/Zip.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -13,7 +13,7 @@\n namespace Composer\\Util;\n \n /**\n- * @author Jordi Boggiano <j.boggiano@seld.be>\n+ * @author Andreas Schempp <andreas.schempp@terminal42.ch>\n */\n class Zip\n {\n'... | PHP |
d96d046209646e93259d54ca9985004341c40fe2 | 281 | 2019-03-04 11:38:58+01:00 | -3,600 | ['6bce9da8c87450c9a08c217e1a4e6142087b4cf5'] | Fix require of platform packages with --ignore-platform-reqs, fixes #8012 | [{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -694,15 +694,22 @@ private function findBestVersionAndNameForPackage(InputInterface $input, $name,\n {\n // find the latest version allowed in this pool... | PHP |
c876613d5c651d1aa0f0d6621d7955bfe09520e2 | 334 | 2019-03-04 12:55:38+01:00 | -3,600 | ['d96d046209646e93259d54ca9985004341c40fe2'] | Added "Read more at" links to all commands (#8019) | [{'old_path': 'src/Composer/Command/ArchiveCommand.php', 'new_path': 'src/Composer/Command/ArchiveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -56,6 +56,7 @@ protected function configure()\n \n <info>php composer.phar archive [--format=zip] [--dir=/foo] [package [version]]</info>\n \n+Read more at ht... | PHP |
8ae8d131d5c8635a6bd34063adfd340e29e3a158 | 413 | 2019-03-05 10:44:55+01:00 | -3,600 | ['5d14a95543d12436f3962b32357bafb6ae4bac8b'] | Add deprecation warning for name attribute | [{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -49,6 +49,10 @@ public function load(array $config, $class = 'Composer\\Package\\CompletePackage')\n $this->warnings = arr... | PHP |