Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
8d24b61bef4839104db7f05c23400e598a8915e4
281
2020-01-13 15:50:34+01:00
-3,600
['6b8f1c71b6c689b3ddbca0730d546de2b5990a7c']
Tweak and add comments to the working dir fix with global exec, refs #8515
[{'old_path': 'src/Composer/Command/ExecCommand.php', 'new_path': 'src/Composer/Command/ExecCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -92,9 +92,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $output->setVerbosity(OutputInterface::VERBOSITY_QUIET);\n ...
PHP
e8426d2c013562c187f2c2e1a26ac6fdf2d7ee45
281
2020-01-13 17:51:38+01:00
-3,600
['f203b3eb412bf778cbfedd62bdb04022c923a507']
Adjust config handling of suggest, refs #8520
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -111,6 +111,14 @@ protected function configure()\n You can alter repositories in the global config.json file by passing in the\n <info>--global</info> option.\n...
PHP
f5dab18b7d392ce17c17aa0c29f0a2559aca3390
281
2020-01-13 18:21:57+01:00
-3,600
['ee3fd0f74544406dbcdae4ea72a1baef3b62c049']
Remove dead code, refs #8517
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -466,16 +466,6 @@ function ($vals) {\n },\n ),\n );\n- $uniqueOrDotNestedArray = array(\n- \t'preferred-instal...
PHP
3791a574a242704ecec2ea7a11da74d264bbb86c
11
2020-01-14 09:31:57+01:00
-3,600
['ef6ef8ac0fcbb4c2c45202d87a791b63b5528f97']
Provide partial packages names if available, closes #8516, fixes #8526
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -249,6 +249,11 @@ public function getProviderNames()\n $this->loadProviderListings($this->loadRootServerFile());\n }\n \n+ ...
PHP
0b767e0b83efa80005a781a8141c94016365f907
281
2020-01-14 09:31:57+01:00
-3,600
['3791a574a242704ecec2ea7a11da74d264bbb86c']
Allow calling getProviderNames multiple times, refs #8516
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -249,8 +249,11 @@ public function getProviderNames()\n $this->loadProviderListings($this->loadRootServerFile());\n }\n \n- ...
PHP
6c795dedc0c72ffd2e16b43ef04a839f534eb66b
281
2020-01-14 09:36:53+01:00
-3,600
['a902279a5b6ebb8fa0eb9651f9ef64d20b4436c8']
Add openssl version to diagnose command, refs #8506
[{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -172,6 +172,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $io->write(sprintf('PHP binary path: <comment>%s</...
PHP
a2dadb91bf87a0d5cccb98fdca1e4fd66459a896
281
2020-01-14 12:52:20+01:00
-3,600
['0b767e0b83efa80005a781a8141c94016365f907']
Return two packages in PathRepository when on a feature branch, one for feature branch and one for the source branch it came from, fixes #8498, fixes #8477
[{'old_path': 'src/Composer/Package/Version/VersionGuesser.php', 'new_path': 'src/Composer/Package/Version/VersionGuesser.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -59,7 +59,7 @@ public function __construct(Config $config, ProcessExecutor $process, SemverVers\n * @param array $packageConfig\n *...
PHP
669033f1e7773dcd1f363e2cd7f2aca14f61be4e
281
2020-01-14 14:45:15+01:00
-3,600
['c0714e5ff8204572fa8cd76d48177962b799b673']
Collect existing packages only once, refs #8372
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -439,38 +439,32 @@ final protected function determineRequirements(InputInterface $input, OutputInte\n \n $versionParser = new VersionParser();\n \n+ ...
PHP
4b6c25d4bc33d49097320e29e6e5705b12e9d6ef
281
2020-01-14 15:35:52+01:00
-3,600
['c3d3d45903547b0c57b0e74fb2a7bbd34288a97c']
Use Authorization header instead of deprecated access_token query param, fixes #8454
[{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -278,7 +278,7 @@ protected function get($originUrl, $fileUrl, $additionalOptions = array(), $file\n if (isset($options['github-token'])) {\n ...
PHP
47a94b3a88a22c155cd8832fc681a9071dbfa0c5
281
2020-01-15 12:02:12+01:00
-3,600
['4a7d42604fe2f0f0bb34f3e6ee9e17f44476f3dc']
Ensure packages that exist in a higher prio repo never get loaded in lower prio repos, fixes #5076
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -97,9 +97,14 @@ public function buildPool(array $repositories, array $rootAliases, array $rootRe\n }\n \n // T...
PHP
926afab1f4e937ddaa3ca22c79d55743069261b8
281
2020-01-15 12:37:24+01:00
-3,600
['47a94b3a88a22c155cd8832fc681a9071dbfa0c5']
Move loadPackages impl out of BaseRepository
[{'old_path': 'src/Composer/Repository/ArrayRepository.php', 'new_path': 'src/Composer/Repository/ArrayRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -41,6 +41,42 @@ public function __construct(array $packages = array())\n }\n }\n \n+ /**\n+ * {@inheritDoc}\n+ */\n+ public ...
PHP
f68731e6631f9a17ff011cf2d53abfeb9d04f81f
281
2020-01-15 14:52:44+01:00
-3,600
['926afab1f4e937ddaa3ca22c79d55743069261b8']
Remove package/repo priority concept as it is enforced by the pool builder now
[{'old_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'new_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -69,7 +69,6 @@ public function selectPreferredPackages(Pool $pool, array $literals, $requiredPa\n }\n \n foreach ($package...
PHP
dd556f989b8a6d6605454c2862d6c8856d18bcbf
281
2020-01-15 14:56:58+01:00
-3,600
['6c24e85e54bb7165b402d0608ac15c36beaa743b']
Use LockArrayRepository instead of RepositoryInterface to clearly indicate which type of repo it is in some places
[{'old_path': 'src/Composer/DependencyResolver/Request.php', 'new_path': 'src/Composer/DependencyResolver/Request.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,7 +15,7 @@\n use Composer\\Package\\Package;\n use Composer\\Package\\PackageInterface;\n use Composer\\Package\\RootAliasPackage;\n-use Composer\...
PHP
e6749d8717ab06fc289fa13aa3c465b7958b0d24
281
2020-01-15 16:18:56+01:00
-3,600
['7a4d3e6f25a50aaf950157ad8ae3329c6e76dafb']
Add comment, fix 5.3 build
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -113,6 +113,7 @@ public function buildPool(array $repositories, array $rootAliases, array $rootRe\n $loadNames = $newLoadNames;\n ...
PHP
257d2ce889bf0213900b320c7f4ca840237442ad
281
2020-01-17 11:33:47+01:00
-3,600
['e6749d8717ab06fc289fa13aa3c465b7958b0d24']
Avoid setting the update whitelist in require command on newly created files and when the lock file is disabled
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -236,7 +236,6 @@ private function doUpdate(InputInterface $input, OutputInterface $output, IOInte\n ->setClassMapAuthoritative($authoritative)\n ...
PHP
e50f78043ab6a983217814cc89e6a6744205ac3f
281
2020-01-17 12:20:03+01:00
-3,600
['de189c1b803774d2a57efb4398d169fd8807b0ca']
Try to load packages from lock file only and avoid loading other versions for pinned packages
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,8 +16,6 @@\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\Package;\n use Composer\\Package\\PackageInterface;\n-use Compos...
PHP
73bc137c3ca38b81e0b8ec0ee7437ce39aabd66e
281
2020-01-17 12:20:27+01:00
-3,600
['e50f78043ab6a983217814cc89e6a6744205ac3f']
Avoid nameConstraints from being collected for fixed packages
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -52,6 +52,7 @@ public function buildPool(array $repositories, array $rootAliases, array $rootRe\n // TODO do we really want the reques...
PHP
cc91e9164abd09f07f1e078aee54be66539c429d
281
2020-01-17 13:54:13+01:00
-3,600
['73bc137c3ca38b81e0b8ec0ee7437ce39aabd66e']
Stop unrolling the root aliases
[{'old_path': 'src/Composer/DependencyResolver/Request.php', 'new_path': 'src/Composer/DependencyResolver/Request.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,10 +48,6 @@ public function remove($packageName, ConstraintInterface $constraint = null)\n */\n public function fixPackage(PackageInterfa...
PHP
6f44350c0108c4310fe5e85cfac70fce46a33aa0
281
2020-01-17 14:01:01+01:00
-3,600
['cc91e9164abd09f07f1e078aee54be66539c429d']
Remove problem reporting for locked package not being found, needs to be fixed in #7779 later
[{'old_path': 'tests/Composer/Test/Fixtures/installer/solver-problems.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/solver-problems.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -61,12 +61,10 @@ Your requirements could not be resolved to an installable set of packages.\n Problem 2\n - The ...
PHP
56b2e1ae7ae2335f7292d740a3004901fae7293f
281
2020-01-17 14:26:52+01:00
-3,600
['572ef1add1e9343eccaf7876f9d94d18c0fd26f4']
Allow installing an aliased root package
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,6 +35,7 @@\n use Composer\\Installer\\SuggestedPackagesReporter;\n use Composer\\IO\\IOInterface;\n use Composer\\Package\\AliasPackage;\n+use Composer\\Package\\RootAliasPackage;\...
PHP
b9d00153d9431d75496b048a6a4dcd4d278b1eaf
281
2020-01-17 14:52:07+01:00
-3,600
['1f261f1f7a2d08f72312c716ea4acc538259d67f']
Suggest using -p when a platform package can not be found in show command
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -201,6 +201,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n if (empty($package)) {\n $options ...
PHP
8bb472a6089a14f58648fff8924c49a79c8545ec
281
2020-01-17 14:52:28+01:00
-3,600
['79c59805adf86a78d32f5cb5eca66b25dfd68fc6']
No need to alias platform packages before the repository set as the pool builder already does it
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -170,7 +170,6 @@ private function loadPackage(Request $request, PackageInterface $package)\n $aliasPackage = new AliasPackage($bas...
PHP
98860b86199a4694f68e9ce2f19c8a38b89d0996
281
2020-01-17 14:52:28+01:00
-3,600
['8bb472a6089a14f58648fff8924c49a79c8545ec']
Fix show command when no package is found
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -560,7 +560,7 @@ protected function getPackage(RepositoryInterface $installedRepo, RepositoryInte\n $matches[$index] = $package->getId();\n }\n ...
PHP
304753ff693775f5897afaea71dd1cadf9aa2988
281
2020-01-17 14:57:32+01:00
-3,600
['98860b86199a4694f68e9ce2f19c8a38b89d0996']
Remove callback and pass stabilities all the way instead This allows optimizing the loading of ~dev files, and cleans up a few things
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -25,10 +25,11 @@\n */\n class PoolBuilder\n {\n- private $isPackageAcceptableCallable;\n- private $rootRequires;\n+ private $accepta...
PHP
e162cc6f0a031c7405bced971f6978801ecc4c23
281
2020-01-17 14:57:32+01:00
-3,600
['304753ff693775f5897afaea71dd1cadf9aa2988']
Remove "remove" from request
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -224,10 +224,6 @@ protected function jobToText($job)\n }\n \n return 'Installation request for '.$packageName.$this->c...
PHP
6dc576738a3a0eb68281a3bb4117f4d25d3b5303
281
2020-01-17 15:15:46+01:00
-3,600
['b5e34ca7674a7edb3c88e0fa1c2e1d71bf0218fc']
Avoid partial updates from applying changes to packages which are not locked with an acceptable stability
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,7 +16,9 @@\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\Package;\n use Composer\\Package\\PackageInterface;\n+use Compos...
PHP
ebe910c3a55b2767549350de114f3c63f243d5c3
281
2020-01-17 15:16:01+01:00
-3,600
['6dc576738a3a0eb68281a3bb4117f4d25d3b5303']
Tweak test to follow changes
[{'old_path': 'tests/Composer/Test/Fixtures/installer/partial-update-downgrades-non-whitelisted-unstable.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/partial-update-downgrades-non-whitelisted-unstable.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,25 +48,23 @@ Partial update from lock file s...
PHP
7cc8a4aed8f52f5971f16782ee21c20d783c6ede
281
2020-01-17 15:29:30+01:00
-3,600
['ebe910c3a55b2767549350de114f3c63f243d5c3']
Avoid checking stability on platform packages too
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -61,6 +61,7 @@ public function buildPool(array $repositories, Request $request)\n unset($loadNames[$package->getName()]);\n ...
PHP
7d7e3d594befc601797d4a986c4a88e600868092
410
2020-01-17 15:34:18+01:00
-3,600
['b9d00153d9431d75496b048a6a4dcd4d278b1eaf']
Normalize minimum-stability `rc` to `RC` in `InitCommand` A `minimum-stability` of `rc` is valid according to `composer-schema.json` and works fine with install and update and generally in version comparisons, because it's normalized to `RC`. This commit makes it work in `InitCommand` and `RequireCommand` too.
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,6 +16,7 @@\n use Composer\\Factory;\n use Composer\\Json\\JsonFile;\n use Composer\\Package\\BasePackage;\n+use Composer\\Package\\Package;\n use Composer\\Pack...
PHP
c6a3f48eaf0dd5824b2e22e7267bfc0e730527a2
281
2020-01-17 15:35:37+01:00
-3,600
['7cc8a4aed8f52f5971f16782ee21c20d783c6ede']
Remove some more remove request handling
[{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -325,15 +325,6 @@ protected function addRulesForRequest(Request $request, $ignorePlatformReqs)\n $this->addR...
PHP
1d3119047294476244e872552671a12a41994aed
281
2020-01-17 15:48:31+01:00
-3,600
['c6a3f48eaf0dd5824b2e22e7267bfc0e730527a2']
Keep track of unacceptable fixed packages for later to use in error reporting and make sure the pool state is consistent
[{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,24 +38,26 @@ class Pool implements \\Countable\n protected $packageByExactName = array();\n protected $versionParser;\n protected $providerC...
PHP
921a97457dffbb2e969b54abb13deaa64238c95b
281
2020-01-19 19:46:16+01:00
-3,600
['b1c0d7fb614a210d2f4318f8b0f0d72f4075f752']
Add PoolBuilder test harness for writing .test files
[{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-do-not-load-from-repos.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,23 @@\n+--TEST--\n+Fixed packages do not get loaded from the repos\n+\n+--REQUEST--\n+{\n+ "some/pkg": "*"\n+}\n+\n+--FIXED-...
PHP
5bdc0fc9c5cc107d889dbbce30e2e4483673f2c5
388
2020-01-19 23:21:07+01:00
-3,600
['921a97457dffbb2e969b54abb13deaa64238c95b']
Request jobs replaced by root require / fixed package The only type of request job remaining was "install" which is really a root requirement. The only other kind of input for the solver is now a set of fixed packages. Rules have been updated to account for only two kinds of former job reason: FIXED or ROOT_REQUIRE. ...
[{'old_path': 'src/Composer/DependencyResolver/GenericRule.php', 'new_path': 'src/Composer/DependencyResolver/GenericRule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,11 +26,10 @@ class GenericRule extends Rule\n * @param array $literals\n * @param int|null ...
PHP
0b4e8952f6ba17a4f20b4e81d0e49ee4d7a866a4
388
2020-01-19 23:28:00+01:00
-3,600
['5bdc0fc9c5cc107d889dbbce30e2e4483673f2c5']
PHP5 disallows require as a function name, use requireName analog to fixPackage
[{'old_path': 'src/Composer/DependencyResolver/Request.php', 'new_path': 'src/Composer/DependencyResolver/Request.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,7 +33,7 @@ public function __construct(LockArrayRepository $lockedRepository = null)\n $this->lockedRepository = $lockedRepository;\n ...
PHP
8b877eb068d3f021e43757bb6c2031a2bcb12a14
388
2020-01-20 10:27:04+01:00
-3,600
['0b4e8952f6ba17a4f20b4e81d0e49ee4d7a866a4']
Remove superfluous check in Problem
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -82,7 +82,6 @@ public function getPrettyString(array $installedMap = array(), array $learnedPoo\n }\n \n $request = $rule->get...
PHP
acc040f745e3cfa5398f411e89a46e830dd054c4
101
2020-01-20 08:11:08-02:00
7,200
['dbcf592ea22553d90cf27e81501fe279345473f6']
Append the bin dir on each listener iteration The "composer install" can create the vendor/dir folders and be used as a script item on composer.json. Having another script running after it that relies on vendor/bir binaries (such as phpunit) will cause it to not find the binary. This fix addresses the issue by trying ...
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -145,27 +145,15 @@ public function dispatchInstallerEvent($eventName, $devMode, PolicyInterface $po\n */\n protected function doDis...
PHP
48c7442b63fd74bea6416d80f5095a1723374b05
518
2020-01-20 16:25:38+05:00
-18,000
['1e927806000e46b73fed225446151af8825719e7']
should be || not OR
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1014,7 +1014,7 @@ protected function sortPackageMap(array $packageMap)\n */\n protected function safeCopy($source, $target)\n {\n- ...
PHP
933fe27cd5ecb9da49e0ccb1401ef6c3802dc493
310
2020-01-21 23:07:54+01:00
-3,600
['88cff792cc6f2fa4df736e9abb612b955b783087']
Add support for "composer show --format=json <package>" #8544
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -238,18 +238,12 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n return $exitCode;\n }\n- ...
PHP
94dce374242222d236eb6b891fafc7d055164690
281
2020-01-28 13:52:34+01:00
-3,600
['9db08f988359e09c1744b238e2dc4c1482f8c078']
Avoid use of refs and avoid a false path when showing the root package, refs #8545
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -766,8 +766,8 @@ protected function printPackageInfoAsJson(CompletePackageInterface $package, arr\n 'names' => $package->getNames()\n );\n \n- ...
PHP
fb93036a70c9520cab99b46723ebc8f2e6fd82a6
281
2020-01-28 14:22:11+01:00
-3,600
['94dce374242222d236eb6b891fafc7d055164690']
Fix putenv to avoid leaving the environment in a dirty state
[{'old_path': 'tests/Composer/Test/EventDispatcher/EventDispatcherTest.php', 'new_path': 'tests/Composer/Test/EventDispatcher/EventDispatcherTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -288,7 +288,7 @@ public function testDispatcherAppendsDirBinOnPathForEveryListener()\n rmdir(__DIR__ . sprintf...
PHP
173b96de2deaf543e1d69ac5fc46865f8265f462
281
2020-01-28 15:13:35+01:00
-3,600
['7e6fe585bc8a1d63e15431ae234114e8fa20ac2a']
Make sure the first require does not fail due to a missing lock file
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -35,6 +35,7 @@\n class RequireCommand extends InitCommand\n {\n private $newlyCreated;\n+ private $firstRequire;\n private $json;\n private $fi...
PHP
292d4b3c8f59758fd0de3c486cd480ed9ac6e8bd
281
2020-01-28 15:14:58+01:00
-3,600
['173b96de2deaf543e1d69ac5fc46865f8265f462']
Make sure a lock file is always written and things work well even without any dependencies in the require/require-dev
[{'old_path': 'src/Composer/Package/Locker.php', 'new_path': 'src/Composer/Package/Locker.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -345,18 +345,6 @@ public function setLockData(array $packages, $devPackages, array $platformReqs,\n $lock['platform-overrides'] = $platformOverrides;\n }\...
PHP
41720e9b70471c9396ae228fafd3ce1e408c53d8
281
2020-01-28 15:56:52+01:00
-3,600
['292d4b3c8f59758fd0de3c486cd480ed9ac6e8bd']
Show abandoned warnings from the locked repo
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -262,9 +262,9 @@ public function run()\n $this->suggestedPackagesReporter->output($this->locker->getLockedRepository($this->devMode));\n }\n \n- // TODO prob...
PHP
3f48acf56a2a9ac293563d81af0b269b609e58a2
281
2020-01-28 16:01:17+01:00
-3,600
['41720e9b70471c9396ae228fafd3ce1e408c53d8']
Add test checking references update to latest and remove TODO
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -388,9 +388,6 @@ protected function doUpdate(RepositoryInterface $localRepo, $doInstall)\n \n $pool = $repositorySet->createPool($request);\n \n- // TODO ensure that the...
PHP
8f09f3764b3558ffe7157ec377347c006c47c7e9
281
2020-01-30 08:40:35+01:00
-3,600
['d18b5b6f2e771761a5446f59b3d14f6ecc0f333d']
Avoid fetching non-existing files multiple times
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -65,6 +65,12 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito\n private $rootData;\n private $hasPart...
PHP
2901995fc8fa282d4f90a04b40475ea9e3f8b44c
281
2020-01-30 10:17:42+01:00
-3,600
['8f09f3764b3558ffe7157ec377347c006c47c7e9']
Fix issue excluding unstable packages when stabilityFlags are empty
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -697,7 +697,7 @@ public function isVersionAcceptable(array $acceptableStabilities = null, array $\n }\n \n foreach ($versions as...
PHP
8a41f1a5ca1378845dd0925d74648fd24f7b5c5d
281
2020-01-30 14:09:55+01:00
-3,600
['2901995fc8fa282d4f90a04b40475ea9e3f8b44c']
Allow providers which are selected to be installed in place of existing packages which do not satisfy requirements, fixes #6753
[{'old_path': 'src/Composer/DependencyResolver/Pool.php', 'new_path': 'src/Composer/DependencyResolver/Pool.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -27,7 +27,6 @@\n */\n class Pool implements \\Countable\n {\n- const MATCH_NAME = -1;\n const MATCH_NONE = 0;\n const MATCH = 1;\n const MAT...
PHP
3fc7e10c5c0871d2fceb0de599d3e43a39f19158
281
2020-01-30 14:43:54+01:00
-3,600
['f611c641dbe3ded5356408298c2ddb7a0034bc73']
Improve error reporting of solver issues, refs #7779 Fixes #8525 Fixes #6513
[{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -89,7 +89,7 @@ protected function doExecute(InputInterface $input, OutputInterface $output, $in\n );\n \n // Find packages that ...
PHP
29efc473a1e947638d8323cb5aa0419d4bdf3f6b
281
2020-01-30 14:43:55+01:00
-3,600
['3fc7e10c5c0871d2fceb0de599d3e43a39f19158']
Suggest which providers could be required to fulfill a virtual package requirement, fixes #2811
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -250,6 +250,17 @@ public static function getMissingPackageReason(RepositorySet $repositorySet, Req\n return array("- Root composer.json re...
PHP
e6029d725af3ffe6effaee29acb88e4a9bf35e1f
281
2020-01-30 14:43:55+01:00
-3,600
['29efc473a1e947638d8323cb5aa0419d4bdf3f6b']
Add individual test checking for clashes between requirements at root and transitive dependency level
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/conflict-between-root-and-dependent.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,40 @@\n+--TEST--\n+Test conflicts between a dependency\'s requirements and the root requirements\n+--COMPOSER--\n+{\n+ "repositories": [\n+ ...
PHP
6c9d9e775ccf1d99b5b874bdf8e786d364963382
281
2020-01-30 14:43:56+01:00
-3,600
['e6029d725af3ffe6effaee29acb88e4a9bf35e1f']
Clean up and deduplicate the output of RULE_LEARNED
[{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -196,18 +196,18 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n case self::RULE_PACKAGE_IMPLICIT_OBSOLETES:...
PHP
1d4cdb60d0b4ac3041cd91ec8940bd378c018d3f
281
2020-01-30 14:43:56+01:00
-3,600
['6c9d9e775ccf1d99b5b874bdf8e786d364963382']
Improve error reporting for conflicts/replaces of various kinds, fixes #7254
[{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -188,11 +188,52 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n return $text;\n \n case sel...
PHP
c41df325d837b898da4aaea14a9c9a09e1db2bb2
281
2020-01-30 15:23:22+01:00
-3,600
['f982a10447bd072086f149e4709a3467609cbe6d']
Remove RepositorySet from Solver and remove getPool from RepositorySet
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,7 +63,7 @@ public function getReasons()\n * @param array $installedMap A map of all present packages\n * @return string\n */\n- ...
PHP
1e68555e0ae55c01300a9accc1bd5e4321522f57
281
2020-01-30 15:50:46+01:00
-3,600
['c41df325d837b898da4aaea14a9c9a09e1db2bb2']
Sanitize URLs in getRepoName and centralize the Url sanitization process
[{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,6 +17,7 @@\n use Composer\\Package\\PackageInterface;\n use Composer\\Util\\Filesystem;\n use Composer\\Util\\Git as GitUtil;\n+use Composer\\Util\\Ur...
PHP
ec90c17e3b40b3c5c3d5d996f9ddacf9edecb852
281
2020-01-30 15:55:37+01:00
-3,600
['1e68555e0ae55c01300a9accc1bd5e4321522f57']
Fix conflict order to be more accurate
[{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -162,7 +162,7 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n $package1 = $pool->literalToPackage($lite...
PHP
189d5adab0dd504d1c4eea2f6dde7f2d9c0302b2
281
2020-01-30 17:13:12+01:00
-3,600
['ec90c17e3b40b3c5c3d5d996f9ddacf9edecb852']
Fix reporting of replace conflicts to not mention provides
[{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -190,49 +190,77 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n if (count($literals) === 2 && $literals...
PHP
38f6ae2c4ee25406ac9165044dc71b183694399a
281
2020-01-30 17:30:38+01:00
-3,600
['65dfb26c7757a1571c0258af3099397864efcda1']
Fix react/promise usage for v2
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -35,7 +35,7 @@\n use Composer\\Util\\Http\\Response;\n use Composer\\Util\\MetadataMinifier;\n use Composer\\Util\\Url;\n-use React\\Promise\\Ut...
PHP
2f4ea3a463827e2293b3dc6106b6e1a5d27ae9ae
281
2020-01-30 20:21:17+01:00
-3,600
['38f6ae2c4ee25406ac9165044dc71b183694399a']
Fix show command, refactor RepositorySet constructor
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -311,7 +311,7 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n throw new \\InvalidArgumentExcepti...
PHP
4f44b7b2213ca41e40e2ee34402dfe5871d69115
388
2020-01-30 22:49:15+01:00
-3,600
['a1fe64152ddcb204b16fb648e43bee73e2cdf4a5']
Remove unused policy function findUpdatePackages
[{'old_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'new_path': 'src/Composer/DependencyResolver/DefaultPolicy.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -44,19 +44,6 @@ public function versionCompare(PackageInterface $a, PackageInterface $b, $operat\n return $constraint->matchSpecif...
PHP
fdfdee03c1cb4af7e0cbbfe9b74b8a956c7c6d2f
388
2020-01-30 22:54:59+01:00
-3,600
['4f44b7b2213ca41e40e2ee34402dfe5871d69115']
Remove unused argument to pool->match
[{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -218,7 +218,7 @@ protected function addConflictRules($ignorePlatformReqs = false)\n \n /** @var PackageInterface $po...
PHP
d14d411fa47b721e672f0d2644cf34db38ff24aa
281
2020-01-31 14:34:10+01:00
-3,600
['fdfdee03c1cb4af7e0cbbfe9b74b8a956c7c6d2f']
Add --dry-run to require and remove commands, fixes #7793
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -198,6 +198,7 @@ If you do not specify a package, composer will prompt you to search for a packag\n ### Options\n \n * **--dev:** Add packages to `require-dev`.\n+* **--dry-run:** Simulate the command without a...
PHP
58e2956b954fc536a466096e96aa4303bfb95380
289
2020-01-31 14:56:22+01:00
-7,200
['d14d411fa47b721e672f0d2644cf34db38ff24aa']
Allow referencing scripts to extends @composer
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -173,7 +173,7 @@ protected function doDispatch(Event $event)\n $args = array_merge($script, $event->getArguments());\n ...
PHP
f5726366286b9e2765dfe4947fa825701f306737
281
2020-01-31 15:45:33+01:00
-3,600
['58e2956b954fc536a466096e96aa4303bfb95380']
Add support for TTY mode on Linux/OSX in script handlers when running in interactive mode, fixes #5856, fixes #3299, closes #4036
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -174,7 +174,7 @@ protected function doDispatch(Event $event)\n $flags = $event->getFlags();\n if (substr($ca...
PHP
006c3de54289c3703ca7ae397f824c48bf9a8660
281
2020-01-31 16:33:34+01:00
-3,600
['f5726366286b9e2765dfe4947fa825701f306737']
Fix tests and make TTY usage on ProcessExecutor cleaner
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -174,7 +174,7 @@ protected function doDispatch(Event $event)\n $flags = $event->getFlags();\n if (substr($ca...
PHP
460c673cc40435b3e5def2b3827f3ca0dcead1db
281
2020-02-04 12:55:29+01:00
-3,600
['be08638e40f4c8583b025229e65754f44974ff56']
Use Authorization header instead of deprecated access_token query param, fixes #8454
[{'old_path': 'src/Composer/Util/RemoteFilesystem.php', 'new_path': 'src/Composer/Util/RemoteFilesystem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -277,7 +277,7 @@ protected function get($originUrl, $fileUrl, $additionalOptions = array(), $file\n if (isset($options['github-token'])) {\n ...
PHP
cabf373bf455b9ac7c78412b64beeffd93a3034c
295
2020-02-04 12:57:26+01:00
-3,600
['fb93036a70c9520cab99b46723ebc8f2e6fd82a6']
Added test for exclude-from-classmap (see issue #8563)
[{'old_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'new_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1525,6 +1525,8 @@ public function testExcludeFromClassmap()\n '/composersrc/ClassToExclude.php',\n ...
PHP
0b4763e6c721672014a603ca000165661cf98a4b
281
2020-02-04 13:06:20+01:00
-3,600
['006c3de54289c3703ca7ae397f824c48bf9a8660']
Make it clear which package the error is for when detecting uncommitted changes
[{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -301,7 +301,7 @@ protected function cleanChanges(PackageInterface $package, $path, $update)\n $changes = array_map(function ($elem) {\n ...
PHP
2ff73a8797fa6390bd065689ef3b993aede18c82
278
2020-02-05 15:52:14+08:00
-28,800
['f4762ef0216ae435ab053f68e5bcdff966cf8d4f']
respect `notify-on-install` option
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -233,13 +233,13 @@ public function run()\n return $res;\n }\n } catch (\\Exception $e) {\n- if ($this->executeOperations) {\n+ ...
PHP
58b34d13e8976e4fce7a876df5a6be7b138813a3
278
2020-02-07 14:35:07+08:00
-28,800
['db32d6bc1870c9be596095e178886f22a9f15e6c']
fix risky tests (without any assertion)
[{'old_path': 'tests/Composer/Test/ConfigTest.php', 'new_path': 'tests/Composer/Test/ConfigTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -222,6 +222,7 @@ public function testGitDisabledByDefaultInGithubProtocols()\n \n /**\n * @dataProvider allowedUrlProvider\n+ * @doesNotPerformAssertions\n...
PHP
8d3c1f4a71f46a778ffbd5ba81fee8c5e9dac31b
278
2020-02-07 16:17:18+08:00
-28,800
['a9bace37f6375322f1018dd42dc9cfd661a74262']
downgrade PHPUnit Bridge to 3.4 (fail-fast when passthru fails)
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -40,7 +40,7 @@\n "symfony/console": "2.8.38"\n },\n "require-dev": {\n- "symfony/phpunit-bridge": "^4.2",\n+ "symfony/phpunit-bridge": "^3.4",\n "phpspec/prophecy": "^1.10"...
PHP
c56886ac36f71b9b7f335ae767ddabcabf96e84a
281
2020-02-07 22:33:39+01:00
-3,600
['f1a71f5599a46323acf503c00735794c810bb28e']
Avoid checking for .dockerenv if open_basedir is set, fixes #8585
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -220,7 +220,12 @@ function_exists(\'php_uname\') ? php_uname(\'s\') . \' / \' . php_uname(\'r\') : \'Unknow\n $io->writeError(sprintf(\'<warning>War...
PHP
7634520bdd7488c39c9ca9260c99067eed14eaf6
281
2020-02-07 22:35:57+01:00
-3,600
['45ecbae8f59e43046d40b4ac7b519f3ba25c277c']
Try to fix phpstan errors
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,6 +33,7 @@ matrix:\n env:\n - deps=high\n - PHPSTAN=1\n+ - php: nightly\n fast_finish: true\n allow_failures:\n - php: nightly\n@@ -64,7 +65,7 @@ script:\n - ./vendor/bin/simp...
PHP
54d57fc6e48c3e954b8655211ed6c16c760af6f4
281
2020-02-07 23:24:02+01:00
-3,600
['21ab2f85bba2343041d5afdc2c95eff5dc376296']
Make sure we test locked dependencies with 7.4 too
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,10 +25,16 @@ matrix:\n - php: 7.1\n - php: 7.2\n - php: 7.3\n+ # Regular 7.4 build with locked deps\n+ - php: 7.4\n+ env:\n+ - SYMFONY_PHPUNIT_VERSION=7.5\n+ # High deps check\n...
PHP
3934877efeec5dc6f57396e24bae74b5d0ea1827
156
2020-02-08 10:16:59+02:00
-7,200
['32e2e09c895568b105c4334e1c1817eca2279ff2']
Wrap version constaints that contain * with double quotes Some shells like ZSH require wrapping * with quotes, otherwise, it shows an error like: > zsh: no matches found: 2.2.* But single quotes may cause issues on Windows CMD
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -190,7 +190,7 @@ If you do not want to choose requirements interactively, you can pass them\n to the command.\n \n ```sh\n-php composer.phar require vendor/package:2.* vendor/package2:dev-master\n+php composer....
PHP
97d077c43bfecd230cb6ed9f75034ec38ef9e0a8
101
2020-02-10 13:15:58-02:00
7,200
['dbcf592ea22553d90cf27e81501fe279345473f6']
Uses config data from Composer object whenever possible on ArchiveCommand It was previously blindly getting a new instance from the factory thus ignoring what is on Composer object config data.
[{'old_path': '.php_cs', 'new_path': '.php_cs', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -53,6 +53,7 @@ return PhpCsFixer\\Config::create()\n 'standardize_not_equals' => true,\n 'ternary_operator_spaces' => true,\n 'trailing_comma_in_multiline_array' => true,\n+ 'unary_operator_s...
PHP
2a564a9f36baa490547a7a8ed3a6255d6c36413e
479
2020-02-10 16:46:28+00:00
0
['fb93036a70c9520cab99b46723ebc8f2e6fd82a6']
Create project: add option to add the repository to the composer.json
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -665,6 +665,7 @@ By default the command checks for the packages on packagist.org.\n to a `composer` repository, a path to a local `packages.json` file, or a\n JSON string which similar to what the [reposito...
PHP
a180f4892167590be776e58eef2318b55a6ebc0f
278
2020-02-11 16:35:35+08:00
-28,800
['5843a282bce3a7cabde12cc83f6200bee9b880ee']
Distinguish between updates and downgrades in dry-run
[{'old_path': 'src/Composer/DependencyResolver/Operation/UpdateOperation.php', 'new_path': 'src/Composer/DependencyResolver/Operation/UpdateOperation.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -13,6 +13,7 @@\n namespace Composer\\DependencyResolver\\Operation;\n \n use Composer\\Package\\PackageInterface;\...
PHP
ef249ef6b63310fe1d6ea2bdb002a6c50e64021b
281
2020-02-11 11:01:20+01:00
-3,600
['702a532a61124aa5b30580d2847d2eaf574eb130']
Add support for lib-zip platform package
[{'old_path': 'src/Composer/Repository/PlatformRepository.php', 'new_path': 'src/Composer/Repository/PlatformRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -221,6 +221,13 @@ protected function initialize()\n $prettyVersion = LIBXSLT_DOTTED_VERSION;\n break;\n ...
PHP
9609729de7ce39e206161e6512cf69de496d0107
281
2020-02-11 13:43:38+01:00
-3,600
['12a63755483e95870182110aedce932f90d5dd31']
Change update to upgrade for package update operations which are upgrades, refs #8594
[{'old_path': 'doc/01-basic-usage.md', 'new_path': 'doc/01-basic-usage.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -159,7 +159,7 @@ php composer.phar update\n > if the `composer.lock` has not been updated since changes were made to the\n > `composer.json` that might affect dependency resolution.\n \n-If you ...
PHP
7e142b5d6bd6baea44edad2f48e4c4bbbdc6407f
281
2020-02-11 17:51:02+01:00
-3,600
['9609729de7ce39e206161e6512cf69de496d0107']
Use Upgrading for package installs too
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -271,7 +271,7 @@ public function update(PackageInterface $initial, PackageInterface $target, $pat\n $from = $initial->getFullPrettyVersion();\n ...
PHP
4d74f5ba957468afe124849ceaf38c2fcf5b871a
281
2020-02-12 10:23:03+01:00
-3,600
['c7ba751319c1d13b0602cc5304c2aeb85f990d2f']
Fix exclude-from-classmap handling to avoid foo matching foo* directories, fixes #8563, refs #8575
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -901,7 +901,7 @@ function ($matches) use (&$updir) {\n }\n \n $resolvedPath = realpath($installPath . ...
PHP
835a91532d82c880ce111077e5953a0aa82f933e
281
2020-02-12 10:41:04+01:00
-3,600
['71855e6430952f2c2f5883215da8d135d4ec6ca7']
Add PRE_POOL_CREATE event, fixes #8348
[{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -66,6 +66,8 @@ Composer fires the following named events during its execution process:\n - **pre-command-run**: occurs before a command is executed and allows you to\n manipulate the `Inpu...
PHP
243ee9b1e41c15a32df430383339e541fed255b6
479
2020-02-12 10:17:21+00:00
0
['4d74f5ba957468afe124849ceaf38c2fcf5b871a']
Git: log error for sync mirror with existing local copy
[{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -97,6 +97,7 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n \n $auth = null;\n if ($bypassSshForGitHub || 0 !== $this->process->execu...
PHP
d52ce3c37fdfd78baa86fc20019f0b47f6d5eb92
281
2020-02-12 14:35:31+01:00
-3,600
['835a91532d82c880ce111077e5953a0aa82f933e']
Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock
[{'old_path': 'doc/articles/scripts.md', 'new_path': 'doc/articles/scripts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,8 +43,8 @@ Composer fires the following named events during its execution process:\n \n ### Installer Events\n \n-- **pre-dependencies-solving**: occurs before the dependencies are resol...
PHP
23efda91557a474e28b823a44a0fb02234dd712d
281
2020-02-12 15:11:59+01:00
-3,600
['7e142b5d6bd6baea44edad2f48e4c4bbbdc6407f']
Try to fix windows build
[{'old_path': 'tests/Composer/Test/Downloader/GitDownloaderTest.php', 'new_path': 'tests/Composer/Test/Downloader/GitDownloaderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -578,7 +578,7 @@ public function testUpdateThrowsRuntimeExceptionIfGitCommandFails()\n \n public function testUpdateDoesntThrows...
PHP
7e2679ffc1034c480b4c22a886709d27b859d410
254
2020-02-13 14:37:08+01:00
-3,600
['4d74f5ba957468afe124849ceaf38c2fcf5b871a']
ValidateCommand: pass $isStrict to outputResult() of with-dependencies too
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -108,8 +108,9 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $file = $path . '/composer.json';\n ...
PHP
b5e41d679295734b08fb2371a1173e0018f57648
254
2020-02-13 14:43:26+01:00
-3,600
['7e2679ffc1034c480b4c22a886709d27b859d410']
ValidateCommand: always display all warnings, independently of --strict
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -143,25 +143,31 @@ private function outputResult($io, $name, &$errors, &$warnings, $checkPublish =\n $io->writeError('<error>' . $name . ' is in...
PHP
901d177179e25210333ba3ca3345cf46792031f4
254
2020-02-13 14:46:50+01:00
-3,600
['b5e41d679295734b08fb2371a1173e0018f57648']
ValidateCommand: factorize $printSchemaUrl code
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -126,23 +126,25 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n private function outputResult($io, $name, &$errors, &...
PHP
2f4bd85219e1c49e7dc904cca204fedae0b826b2
254
2020-02-13 14:57:38+01:00
-3,600
['901d177179e25210333ba3ca3345cf46792031f4']
ValidateCommand: de-invert if-elseif-else to reduce code duplication
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -108,6 +108,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $file = $path . '/composer.json';\n ...
PHP
35562dcd49ba52d576902b3060680f477d32cb44
254
2020-02-13 15:48:36+01:00
-3,600
['2f4bd85219e1c49e7dc904cca204fedae0b826b2']
ValidateCommand: add a comment that we didn't forget $lockErrors
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -140,6 +140,7 @@ private function outputResult($io, $name, &$errors, &$warnings, $checkPublish =\n $doPrintSchemaUrl = $printSchemaUrl;\n ...
PHP
44d1e15294058129b4b27008d3d0ffb25a896c15
281
2020-02-13 16:13:29+01:00
-3,600
['5d8dc48bd42fdc50bdbce8737c64eb3d0e8d6159']
Simplify suggester output when updating, refactor suggest command to reuse SuggestedPackagesReporter and make smarter defaults, fixes #6267
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -106,7 +106,6 @@ resolution.\n * **--no-scripts:** Skips execution of scripts defined in `composer.json`.\n * **--no-progress:** Removes the progress display that can mess with some\n terminals or scripts whi...
PHP
71a98d8a7ef2353a034d270bfc6514de0929fc98
281
2020-02-13 16:22:53+01:00
-3,600
['44d1e15294058129b4b27008d3d0ffb25a896c15']
Remove --no-suggest flag as it is gone
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -57,7 +57,7 @@ before_install:\n \n install:\n # flags to pass to install\n- - flags="--ansi --prefer-dist --no-interaction --optimize-autoloader --no-suggest --no-progress"\n+ - flags="--ansi --prefer-dist --n...
PHP
c5c6d44a0b094e0fefa81f10fed4c72a1ecaf7c9
281
2020-02-13 17:51:22+01:00
-3,600
['f35cd8948aa69438ceb597553225d48de12612a7']
Refactor away some unnecessary RepositorySet usages
[{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,7 +20,6 @@\n use Composer\\Repository\\RepositoryFactory;\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n-use ...
PHP
2d8a8ed7e3551de4b92c62e4b1c2b8bbc7508ac0
281
2020-02-13 21:44:24+01:00
-3,600
['78885c556a93dac7929e04b6f3b1a840ba19e74b']
Add InstalledRepository to clean up some concepts and usages, remove BaseRepository
[{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,8 +14,10 @@\n \n use Composer\\Package\\Link;\n use Composer\\Package\\PackageInterface;\n-use Composer\\Repository\\ArrayRepository;\n+use ...
PHP
71005091f0cc85c167a636a8697ee57617c44556
281
2020-02-13 22:19:32+01:00
-3,600
['2d8a8ed7e3551de4b92c62e4b1c2b8bbc7508ac0']
Fix invalid access to private prop
[{'old_path': 'src/Composer/Repository/InstalledRepository.php', 'new_path': 'src/Composer/Repository/InstalledRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -208,7 +208,7 @@ public function getDependents($needle, $constraint = null, $invert = false, $rec\n \n public function getRepoName()\n ...
PHP
850bfcddfa946984e083b9111664d502304654ce
281
2020-02-14 09:33:53+01:00
-3,600
['881d743ac0891abdb8a0d08b4364a51e9ad7b369']
Fix json manipulation fallback handling of empty objects, fixes #8600
[{'old_path': 'src/Composer/Config/JsonConfigSource.php', 'new_path': 'src/Composer/Config/JsonConfigSource.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -246,6 +246,12 @@ protected function manipulateJson($method, $args, $fallback)\n $config = $this->file->read();\n $this->arrayUnshif...
PHP
8fd70d2dc4fc8f80794dbb1ca6f8c3e75173fe44
281
2020-02-14 10:07:51+01:00
-3,600
['fe5b4fa4ccd7e3b2e4add25cc6a2afc6996d7520']
Target ClassMapGenerator ignoring of invalid PSR classes for 2.0
[{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -181,16 +181,16 @@ private static function filterByNamespace($classes, $filePath, $baseNamespace, $\n if (empty($validClasses)) {\n ...
PHP
5c4f524d6aeb3237bddfcb35bc2ef1880e3c4724
388
2020-02-14 10:08:35+01:00
-3,600
['8fd70d2dc4fc8f80794dbb1ca6f8c3e75173fe44']
Add funding field to composer.json You can specify a list of funding options each with a type and URL. The type is used to specify the kind of funding or the platform through which funding is possible.
[{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -258,6 +258,38 @@ An example:\n \n Optional.\n \n+### funding\n+\n+A list of URLs to provide funding to the package authors for maintenance and\n+development of new functionality.\n+\n+Each entry consists...
PHP
d665ea7ea962893be7d1500739f5f8721eb9b2c8
388
2020-02-14 10:08:36+01:00
-3,600
['5c4f524d6aeb3237bddfcb35bc2ef1880e3c4724']
After update and install commands display how many packages want funding
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,6 +35,7 @@\n use Composer\\Package\\AliasPackage;\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\CompletePackage;\n+use Composer\\Package\\CompletePackageInterface;...
PHP
a222ec5b36dc496b46dc441e3b5210b2a282e17a
254
2020-02-14 10:19:27+01:00
-3,600
['35562dcd49ba52d576902b3060680f477d32cb44']
ValidateCommand: remove actually unused code
[{'old_path': 'src/Composer/Command/ValidateCommand.php', 'new_path': 'src/Composer/Command/ValidateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -96,7 +96,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $lockErrors[] = 'The lock file is not up to date wit...
PHP