Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
6140897d088408ed56b3ae661c8d525d0346a685
250
2020-04-29 01:01:48+03:00
-10,800
['8e2e9caf6a5021a1afbbc0aae1e32937024f249d']
feat: add archive.name config option
[{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -883,6 +883,21 @@ A set of options for creating package archives.\n \n The following options are supported:\n \n+* **name:** Allows configuring base name for archive.\n+ By default (if not configured, an...
PHP
3c1757575e8c2345100be76003c184750822799e
345
2020-04-30 09:44:22+02:00
-7,200
['56edd53046fd697d32b2fd2fbaf45af5d7951671']
Annotate phpstan errors in pull requests Utilizing https://github.com/staabm/annotate-pull-request-from-checkstyle
[{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -34,6 +34,7 @@ jobs:\n extensions: "intl"\n ini-values: "memory_limit=-1"\n php-version: "${{ matrix.php-version }}"\n+ tools: "cs2pr"\n \n...
PHP
a5f86a494efc17bcdaadd10f0993cfc0b81c6d5c
281
2020-04-30 15:19:18+02:00
-7,200
['56edd53046fd697d32b2fd2fbaf45af5d7951671']
Add a conflict on latest phpunit-bridge
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,7 +38,8 @@\n "react/promise": "^1.2 || ^2.7"\n },\n "conflict": {\n- "symfony/console": "2.8.38"\n+ "symfony/console": "2.8.38",\n+ "symfony/phpunit-bridge": "3.4.40"\n ...
PHP
1cb6bbe5504a8618c5200e671c5d544217a53f43
388
2020-04-30 19:54:04+02:00
-7,200
['270c7c3262b928835b78c2c809cb51aaabfe4fed']
Clarify composer update mirrors/nothing/lock Addresses https://github.com/composer/composer/issues/7459 by listing these special arguments in the documentation.
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -174,6 +174,8 @@ php composer.phar update "vendor/*"\n * **--interactive:** Interactive interface with autocompletion to select the packages to update.\n * **--root-reqs:** Restricts the update to your first de...
PHP
81bf47ffa2ce317ec75aa165de51cde158feb8e9
281
2020-04-30 21:28:05+02:00
-7,200
['00e1deec904c34ee5f3a96209c6639f6f53a1452']
Use fully qualified calls in hot classes
[{'old_path': 'src/Composer/DependencyResolver/Decisions.php', 'new_path': 'src/Composer/DependencyResolver/Decisions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -108,17 +108,17 @@ public function atOffset($queueOffset)\n \n public function validOffset($queueOffset)\n {\n- return $queueOffset...
PHP
557fb873ee10c413bbd86d8c820c063c2b871a43
281
2020-05-01 09:54:41+02:00
-7,200
['3c593b0d129c01032615281eaf6222729ac254f5']
Add a way to retrieve the Loop instance from Composer to be able to wait on promises to integrate things
[{'old_path': 'src/Composer/Composer.php', 'new_path': 'src/Composer/Composer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,6 +14,7 @@\n \n use Composer\\Package\\RootPackageInterface;\n use Composer\\Package\\Locker;\n+use Composer\\Util\\Loop;\n use Composer\\Repository\\RepositoryManager;\n use Compose...
PHP
0071bc1ec0c97420f322a96a65f1fa96b0480bbc
281
2020-05-01 10:18:54+02:00
-7,200
['557fb873ee10c413bbd86d8c820c063c2b871a43']
Add docs about new runtime features
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,8 +5,8 @@\n * The update command is now much more deterministic as it does not take the already installed packages into account\n * Package installation now performs all network operations first before doi...
PHP
56811b4c8fec9c2eda5bd47a2c079e121c668eb4
281
2020-05-01 13:10:50+02:00
-7,200
['0071bc1ec0c97420f322a96a65f1fa96b0480bbc']
Exclude platform require/provides from InstalledVersions as concrete ones are also not listed
[{'old_path': 'src/Composer/Repository/FilesystemRepository.php', 'new_path': 'src/Composer/Repository/FilesystemRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -155,6 +155,10 @@ public function write($devMode, InstallationManager $installationManager)\n // add provided/replaced packages\...
PHP
fc8be2bed873b99af6c8fdbb9e7e403395312332
281
2020-05-01 14:50:55+02:00
-7,200
['56811b4c8fec9c2eda5bd47a2c079e121c668eb4']
Add --no-dev to recommended check-platform-reqs command for prod deploy
[{'old_path': 'doc/07-runtime.md', 'new_path': 'doc/07-runtime.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -85,8 +85,8 @@ by the PHP process currently running. If the requirements are not met, the scrip\n prints a warning with the missing requirements and exits with code 104.\n \n To avoid an unexpected whit...
PHP
56a11b9c2c0a498d76ead8d53839347db4342397
281
2020-05-01 15:41:54+02:00
-7,200
['fc8be2bed873b99af6c8fdbb9e7e403395312332']
Deduplicate require/conflict rules which are the same but for different versions of the same package, fixes #8851
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -95,11 +95,41 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n }\n \n $messages = array();\n+ ...
PHP
3a64acb53e470e4cee7448aff565eea85cb2ee0e
281
2020-05-01 15:54:01+02:00
-7,200
['56a11b9c2c0a498d76ead8d53839347db4342397']
Make sure versions are ordered also in the satisfied by package lists
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -113,6 +113,7 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n foreach (array_unique($messages) as $messag...
PHP
7f308d986e96f17430927ed7e16dc19c2c333a4e
281
2020-05-01 16:56:17+02:00
-7,200
['fc8be2bed873b99af6c8fdbb9e7e403395312332']
Add --with to update command to allow downgrading to a specific version/applying custom temporary constraints, fixes #8756
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -142,6 +142,26 @@ You can also use wildcards to update a bunch of packages at once:\n php composer.phar update "vendor/*"\n ```\n \n+\n+If you want to downgrade a package to a specific version without changing ...
PHP
4ce3836f512d7d0b86cd563e15f5d0d0c607159f
281
2020-05-01 17:23:32+02:00
-7,200
['fc8be2bed873b99af6c8fdbb9e7e403395312332']
Fix creation of a php: dir when running create-project, fixes #8849
[{'old_path': 'src/Composer/Json/JsonFile.php', 'new_path': 'src/Composer/Json/JsonFile.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -112,11 +112,17 @@ public function read()\n */\n public function write(array $hash, $options = 448)\n {\n+ if ($this->path === 'php://memory') {\n+ ...
PHP
bfe71fb9520c0862f3465e4e92af43d178b4955c
281
2020-05-01 18:03:22+02:00
-7,200
['54d8cbe5f8052e5eb64cff9a754b73d7f05de375']
Fix support for --self --name-only, fixes #8844
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -152,6 +152,10 @@ protected function execute(InputInterface $input, OutputInterface $output)\n \n if ($input->getOption('self')) {\n $package = ...
PHP
7c891701e6ca13a79e0131f06c9eddfd9a315c9b
275
2020-05-03 16:31:47+02:00
-7,200
['1d077ede704216206b41b477f6113926a7ea2b9e']
Fix package sorting PackageSorter weighs the importance of a package by counting how many times it is required by other packages. This works by calculating the weight for each package name. However currently the package index of the package array is currently passed the weigh function, which basically disables packag...
[{'old_path': 'src/Composer/Util/PackageSorter.php', 'new_path': 'src/Composer/Util/PackageSorter.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -55,9 +55,9 @@ public static function sortPackages(array $packages) {\n \n $weightList = array();\n \n- foreach ($packages as $name => $package) {\n- ...
PHP
d4c8478df52f9eb5335108d558d363b668d12f8d
144
2020-05-04 00:38:53+07:00
-25,200
['1d077ede704216206b41b477f6113926a7ea2b9e']
Improve regex in \Composer\Repository\ComposerRepository::fetchFile() by removing unnecessary greedy operator
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -997,7 +997,7 @@ protected function fetchFile($filename, $cacheKey = null, $sha256 = null, $store\n }\n \n // url-encode $ signs...
PHP
aa2041399079a82280a96ed5515d1f51557c4eaf
144
2020-05-04 01:03:15+07:00
-25,200
['d4c8478df52f9eb5335108d558d363b668d12f8d']
Improve regex in \Composer\Downloader\SvnDownloader::getCommitLogs() by removing unnecessary greedy operator
[{'old_path': 'src/Composer/Downloader/SvnDownloader.php', 'new_path': 'src/Composer/Downloader/SvnDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -178,7 +178,7 @@ protected function cleanChanges(PackageInterface $package, $path, $update)\n */\n protected function getCommitLogs($fromReferenc...
PHP
c23670c3ecb32e433beceab9df79c10d9d39f54d
355
2020-05-04 09:48:23+02:00
-7,200
['c39391323d07204b6a567b127042d60dfd19b206']
Add Util\AuthHelper unit test coverage (#8863) * Add AuthHelper::addAuthenticationHeader() test on missing authentication credentials. * Add AuthHelper::addAuthenticationHeader() test on bearer password. * Add AuthHelper::addAuthenticationHeader() test on Github token. * Add AuthHelper::addAuthenticationHeade...
[{'old_path': None, 'new_path': 'tests/Composer/Test/Util/AuthHelperTest.php', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,525 @@\n+<?php\n+\n+/*\n+ * This file is part of Composer.\n+ *\n+ * (c) Nils Adermann <naderman@naderman.de>\n+ * Jordi Boggiano <j.boggiano@seld.be>\n+ *\n+ * For the full copyrigh...
PHP
d15447c4547c02aa96d0f4baf423659bca0d4eea
388
2020-05-04 11:24:11+02:00
-7,200
['c23670c3ecb32e433beceab9df79c10d9d39f54d']
Add test for replace version overlap
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/replace-range-require-single-version.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,30 @@\n+--TEST--\n+Verify replacing an unbound range and requiring a single version works as well as vice versa.\n+\n+--COMPOSER--\n+{\n+ "reposit...
PHP
11930001fba920367be95fc934363462f3f81f74
345
2020-05-04 13:34:05+02:00
-7,200
['c23670c3ecb32e433beceab9df79c10d9d39f54d']
Added phpdoc types for PoolBuilder (#8862)
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,6 +21,7 @@\n use Composer\\Repository\\PlatformRepository;\n use Composer\\Repository\\RootPackageRepository;\n use Composer\\Semver\\Cons...
PHP
92aed041e4b06db5ad348f4043dff17c11938201
281
2020-05-04 13:51:34+02:00
-7,200
['bfe71fb9520c0862f3465e4e92af43d178b4955c']
Make the VersionSelector take Composer API/Runtime versions into account, refs getsentry/sentry-php#1008
[{'old_path': 'src/Composer/Package/Version/VersionSelector.php', 'new_path': 'src/Composer/Package/Version/VersionSelector.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,8 @@\n use Composer\\DependencyResolver\\Pool;\n use Composer\\Package\\BasePackage;\n use Composer\\Package\\PackageInterface;\n+...
PHP
21aeef13655c1d87a7970cf53b6f46a43c6e0c2a
281
2020-05-04 14:33:58+02:00
-7,200
['11930001fba920367be95fc934363462f3f81f74']
Allow php 8 tests to run, require latest semver dev
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -56,7 +56,7 @@ jobs:\n dependencies: locked\n experimental: false\n - php-version: 8.0\n- dependencies:...
PHP
419567ba6db91e8cf15f78ba0690d5e4b6668c0e
281
2020-05-04 21:16:41+02:00
-7,200
['b11f43f59e86f71a215126373dc2b0a2adbcdbed']
Update VersionSelector to take all platform requirements into account when selecting packages
[{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -27,6 +27,7 @@\n - packages now contain an `"installed-path"` key which lists where they were installed\n - there is a top level `"dev"` key which stores whether dev requirements were installed or not\n -...
PHP
8a2dd1baefdc87cb6cab69eda6938cec748a825c
281
2020-05-04 21:48:48+02:00
-7,200
['419567ba6db91e8cf15f78ba0690d5e4b6668c0e']
Adjust all usages of VersionSelector to the new API
[{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -28,6 +28,7 @@\n - there is a top level `"dev"` key which stores whether dev requirements were installed or not\n - `PreFileDownloadEvent` now receives an `HttpDownloader` instance instead of `RemoteFilesys...
PHP
ef3797cdd686a854e8a6dea262aa795535843b0b
281
2020-05-04 21:58:33+02:00
-7,200
['b11f43f59e86f71a215126373dc2b0a2adbcdbed']
Cache successful requests to make sure subsequent loadPackages calls do not do the same requests for nothing
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -70,6 +70,14 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito\n private $hasPartialPackages;\n privat...
PHP
ebefcdbd7e994748a155cbb40c5f954c5297e545
281
2020-05-06 10:00:50+02:00
-7,200
['5d5515348ac17ef7ed5559436e587d0d2cae5a38']
Update to latest semver, refs #8783
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -83,12 +83,12 @@\n "source": {\n "type": "git",\n "url": "https://github.com/composer/semver.git",\n- "reference": "538b6696308ee4ebcdedbd41b1a68f4e67c...
PHP
4ce492d01d3e4c839d03a97319c5046077a4e7bf
281
2020-05-06 10:18:53+02:00
-7,200
['c86c3f4516ab9bb1b32a101302c698b75e9ddb2b']
Fix detection of gitlab URLs, fixes #8402, closes #8868
[{'old_path': 'src/Composer/Util/Git.php', 'new_path': 'src/Composer/Util/Git.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -165,7 +165,7 @@ public function runCommand($commandCallable, $url, $cwd, $initialClone = false)\n $errorMsg = $this->process->getErrorOutput();\n }\n...
PHP
592b05df117a39b9b574f1833ebf1bcc29a38692
281
2020-05-06 11:12:31+02:00
-7,200
['ba3df8faea917fd2bc2a3f14dfa88b5c67b54442']
Add one more use case to InstalledVersions docs
[{'old_path': 'doc/07-runtime.md', 'new_path': 'doc/07-runtime.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -72,6 +72,20 @@ package.\n \\Composer\\InstalledVersions::getReference('vendor/package');\n ```\n \n+### Knowing a package's own installed version\n+\n+If you are only interested in getting a package's ...
PHP
4b1e386fffe98d113a1e65b561dcb286dfaba239
281
2020-05-06 13:23:38+02:00
-7,200
['b7dd5b068019df3eb7213214cf06ff5dbb0e5130']
Make sure php8 runs tests, and that 7.3 runs complete test suite
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -114,9 +114,13 @@ jobs:\n run: "echo \\"::set-env name=SYMFONY_PHPUNIT_VERSION::7.5\\""\n \n - name: "Run tests"\n- if: "matrix...
PHP
22622372bc5e43d8838be7b9c5f26ef4c2531c1d
281
2020-05-06 13:23:52+02:00
-7,200
['4b1e386fffe98d113a1e65b561dcb286dfaba239']
Fix complete test suite for v2
[{'old_path': 'tests/Composer/Test/Repository/VcsRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/VcsRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -144,6 +144,7 @@ public function testLoadVersions()\n 'dev-feature-b' => true,\n 'dev-feature/a-1.0-B' => tr...
PHP
cb2fca5d131c411a71fade8af7be04786953e625
281
2020-05-06 13:34:06+02:00
-7,200
['a8cd2941e5b27f99721a376937ca48cab6df7403']
Try to workaround react/promise php8 issue
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -123,4 +123,8 @@ jobs:\n \n - name: "Run tests for PHP 8"\n if: "matrix.php-version == \'8.0\'"\n- run: "bin/composer remove --...
PHP
88ced66f2c4a91e5ec5901b021bc340e5f39ce7b
281
2020-05-06 13:38:05+02:00
-7,200
['cb2fca5d131c411a71fade8af7be04786953e625']
Fix issue with PHPUnitBridge autoload
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -124,7 +124,8 @@ jobs:\n - name: "Run tests for PHP 8"\n if: "matrix.php-version == \'8.0\'"\n run: |\n+ # hack to wo...
PHP
1ef352751c8c68eb52a15d0f8529ccb6982fcabc
281
2020-05-06 13:45:31+02:00
-7,200
['88ced66f2c4a91e5ec5901b021bc340e5f39ce7b']
Fix display issue in create-project when installing dev-master
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -368,6 +368,11 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n }\n }\n \n+ // avo...
PHP
ec3f18ee923051e305d3cb87f9d8b6341f17fefc
281
2020-05-06 13:47:03+02:00
-7,200
['1ef352751c8c68eb52a15d0f8529ccb6982fcabc']
Remove workaround as it is not working anyway
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -124,8 +124,6 @@ jobs:\n - name: "Run tests for PHP 8"\n if: "matrix.php-version == \'8.0\'"\n run: |\n- # hack to wo...
PHP
a074819a5193e6cee802947eb9ad873a2b5fe63e
348
2020-05-08 17:43:07+02:00
-7,200
['ec3f18ee923051e305d3cb87f9d8b6341f17fefc']
Add support for gitlab deploy token (#8867) * feat: Added ability to work with GitLab deploy tokens: https://docs.gitlab.com/ee/user/project/deploy_tokens/ Deploy tokens can be specified two ways: 1) GIT CONFIG: git config --add gitlab.deploytoken.user USERNAME && git config --add gitlab.deploytoken.token TOKEN ...
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -85,9 +85,13 @@ gitlab.com the domain names must be also specified with the\n \n ## gitlab-token\n \n-A list of domain names and private tokens. For example using `{"gitlab.com":\n+A list of domain names ...
PHP
42fc372e5208522fc8bafafde916a455c53807d6
291
2020-05-08 20:53:43+02:00
-7,200
['ff27fdf4eaafc1d0cd201f725bf70ced870bbbae']
Add function_exists() for 'pcntl_signal'
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -362,7 +362,7 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n }\n \n // handler Ctrl+C for u...
PHP
b5f8f750c21f492a308b529bfc399363d7cf9d8e
172
2020-05-09 15:51:57+02:00
-7,200
['beded906ba1dad53f3a50faea31daf42a6b121b6']
Test PHP 8.0 with lowest dependencies (#8878)
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -55,6 +55,10 @@ jobs:\n os: macos-latest\n dependencies: locked\n experimental: false\n+ - php-version:...
PHP
106289e5dc5b9c0fa459fba28a99ea888f5a51b6
281
2020-05-13 08:56:37+02:00
-7,200
['b5f8f750c21f492a308b529bfc399363d7cf9d8e']
Fix lowest 8 build to use ignore platform reqs
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -56,7 +56,7 @@ jobs:\n dependencies: locked\n experimental: false\n - php-version: 8.0\n- dependencies:...
PHP
98e5f81a5f3ac64ef6707c6dd48ee34a5e0afd1a
281
2020-05-19 12:17:25+02:00
-7,200
['106289e5dc5b9c0fa459fba28a99ea888f5a51b6']
Fix detection of fixed package problems to include more cases, fixes #8910
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -133,11 +133,11 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n return "\\n - ".implode("\\n - ", $...
PHP
af6444353f078d156de6da817d129f34046e804a
281
2020-05-19 12:17:57+02:00
-7,200
['98e5f81a5f3ac64ef6707c6dd48ee34a5e0afd1a']
Refactor hint generation and whitespace handling in SolverProblemsException
[{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -54,31 +54,36 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n $text ....
PHP
1d2df5ef55553747e7f187dca45675b3d520db99
281
2020-05-19 14:48:58+02:00
-7,200
['af6444353f078d156de6da817d129f34046e804a']
Add output to remove/require command to highlight the fact it is running an update command, refs #8910
[{'old_path': 'src/Composer/Command/RemoveCommand.php', 'new_path': 'src/Composer/Command/RemoveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -191,6 +191,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n }\n \n+ $io->writeError('<info>'.$f...
PHP
541692bbfe495bdd2d80aadc1e38285ed8b7c26d
500
2020-05-19 15:47:51+02:00
-7,200
['42fc372e5208522fc8bafafde916a455c53807d6']
Use "getInitialWorkingDirectory" instead of "getWorkingDirectory" Follow-up 8d24b61bef4839104db7f05c23400e598a8915e4
[{'old_path': 'src/Composer/Command/ExecCommand.php', 'new_path': 'src/Composer/Command/ExecCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -99,7 +99,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n try {\n chdir($this->getApplication()->getIn...
PHP
d42e12c5144dff2fca3edd37c74d4b655c857804
281
2020-05-19 16:34:51+02:00
-7,200
['b27c4b2472c412a14d4a3a2d9c3b6793b1408ec0']
Make config non optional, fixes #8896
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -584,7 +584,7 @@ public static function create(IOInterface $io, $config = null, $disablePlugins =\n * @param array $options Array of options passed directly to HttpDownloa...
PHP
62d0443e07d813ee0fe15db4c07103684eaa8384
281
2020-05-19 16:46:33+02:00
-7,200
['a40e6157debb32b4e86db11748cb24ae61ed6b75']
Avoid checking for readline in non-CLI contexts, fixes #8909
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -608,7 +608,7 @@ protected function getPlatformCheck($packageMap)\n }\n \n $extension = var_export($match[1], ...
PHP
45d3e133a4691eccb12e9cd6f9dfd76eddc1906d
281
2020-05-19 17:15:08+02:00
-7,200
['62d0443e07d813ee0fe15db4c07103684eaa8384']
Avoid checking for unbounded constraints in platform checks
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -83,12 +83,12 @@\n "source": {\n "type": "git",\n "url": "https://github.com/composer/semver.git",\n- "reference": "e639bd3c21f90c8368e6c4a87fd4491f8b2...
PHP
0a4df6c3b4c23794260188d987ea6940ddab6d83
281
2020-05-20 09:52:49+02:00
-7,200
['45d3e133a4691eccb12e9cd6f9dfd76eddc1906d']
Bump PHPUnitBridge to higher release as it still supports php 5.3
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,11 +38,10 @@\n "react/promise": "^1.2 || ^2.7"\n },\n "conflict": {\n- "symfony/console": "2.8.38",\n- "symfony/phpunit-bridge": "3.4.40"\n+ "symfony/console": "2.8.38"\...
PHP
17fa85d7c2fc96c2dfbf74df9699eaaf013ed21a
76
2020-05-21 15:49:07+02:00
-3,600
['2f5bf5c0ac8e4b360ffc03300769240861838c48']
Tweaked symfony versions (#8920)
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,17 +31,14 @@\n "psr/log": "^1.0",\n "seld/jsonlint": "^1.4",\n "seld/phar-utils": "^1.0",\n- "symfony/console": "^2.8.52 || ^3.4 || ^4.4 || ^5.0",\n- "symfony/filesyste...
PHP
30f994e4246ca736b82779eb15e036127de2de53
145
2020-05-21 18:16:19+01:00
-3,600
['541692bbfe495bdd2d80aadc1e38285ed8b7c26d']
fix deprecations in PHP 8
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -326,14 +326,23 @@ protected function checkListenerExpectedEvent($target, Event $event)\n return $event;\n }\n \n- ...
PHP
385655f02aaafddeb7ef64d83fd0b75ecb608193
281
2020-05-22 13:23:14+02:00
-7,200
['acf2b15982bfb5d726a4e890c945f5155a7e9143']
Mark temp files as such for clarity in case any gets left over
[{'old_path': 'src/Composer/Downloader/FileDownloader.php', 'new_path': 'src/Composer/Downloader/FileDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -325,7 +325,7 @@ public function remove(PackageInterface $package, $path, $output = true)\n */\n protected function getFileName(PackageInterfac...
PHP
a07f9ffba98fe5472a3004b56299ca99e22dc6c9
281
2020-05-22 13:24:30+02:00
-7,200
['385655f02aaafddeb7ef64d83fd0b75ecb608193']
Catch SIGINT/Ctrl+C during installs and run cleanups on all packages before exiting
[{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -171,34 +171,89 @@ public function ensureBinariesPresence(PackageInterface $package)\n public function execute(RepositoryInterface $repo, ar...
PHP
6a0e02db1bc6cd402a3054f3b22381ae6c210f58
345
2020-05-23 21:22:07+02:00
-7,200
['d72a07db06a4f8b00c36ce0d885fb7db9ade54e1']
Autoload-Generator: support glob patterns in classmaps
[{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -65,7 +65,7 @@ public static function createMap($path, $blacklist = null, IOInterface $io = nul\n if (is_string($path)) {\n if (is...
PHP
863e7076baff02b9de46718a77fce77364db7f65
281
2020-05-26 19:18:34+02:00
-7,200
['d72a07db06a4f8b00c36ce0d885fb7db9ade54e1']
Bump to use composer/semver 3.x
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,7 +24,7 @@\n "require": {\n "php": "^5.3.2 || ^7.0",\n "composer/ca-bundle": "^1.0",\n- "composer/semver": "^2.1@dev",\n+ "composer/semver": "^3.0@dev",\n "composer...
PHP
628730ba349d68caa013ecc35bb2f67bcd02d062
281
2020-05-26 20:16:52+02:00
-7,200
['b72ac2d01a6918a1ddcea18183648e876dff050e']
Run builds with composer snapshots
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -67,6 +67,9 @@ jobs:\n experimental: true\n \n steps:\n+ - name: "Update to latest Composer snapshot"\n+ run: "composer ...
PHP
42d760fb5198f9fd699fd7c6904159e2ac0a108d
281
2020-05-26 20:24:48+02:00
-7,200
['628730ba349d68caa013ecc35bb2f67bcd02d062']
Make the Composer self-update succeed by using sudo
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -68,6 +68,11 @@ jobs:\n \n steps:\n - name: "Update to latest Composer snapshot"\n+ if: "!startsWith(matrix.os, \'windows\')"\n+ ...
PHP
5ab0ecda04a384485c345ee2211c17ceb84e5fb6
281
2020-05-27 22:12:12+02:00
-7,200
['d8ada9e585633443b37306ed0dbd92113a218f90']
Try disabling platform-check for PHPUnitBridge on php8
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -156,6 +156,7 @@ jobs:\n if: "matrix.php-version == \'8.0\'"\n run: |\n php7.4 vendor/bin/simple-phpunit install\n+ ...
PHP
dce9b129bb10974ed556fc6cf838af92298ee3c7
281
2020-05-28 09:37:22+02:00
-7,200
['5ab0ecda04a384485c345ee2211c17ceb84e5fb6']
Use PUB 5.1+ for php8 builds
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -70,15 +70,6 @@ jobs:\n - name: "Checkout"\n uses: "actions/checkout@v2"\n \n- - name: "Install PHP 7.4 to prepare nightly builds...
PHP
ce52c408f04935c9f1786f52e2b28b21a5ce5aad
281
2020-05-28 10:15:38+02:00
-7,200
['38557b246008c4c18a25b78d0f99772433129b9b']
Disable platform checks for php8
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -135,6 +135,7 @@ jobs:\n if: "matrix.php-version == \'8.0\'"\n run: |\n composer require --no-update --dev symfony/phpunit...
PHP
21e708f2c47a5c11b38d8b9d74fa7abe48419857
281
2020-06-01 09:39:44+02:00
-7,200
['0a0291e913c8d71d37bb825c0400128a0f5a3e20']
Remove upper bound PHP version checks from platform-check as there is not enough value added and it risks causing issues
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -316,7 +316,13 @@ public static function autoload(\\$class)\n $filesystem->filePutContentsIfModified($targetDir.\'/autoload_static.php\', $thi...
PHP
e85da00dff099370ef6a367ca836461a26243573
281
2020-06-01 15:43:24+02:00
-7,200
['21e708f2c47a5c11b38d8b9d74fa7abe48419857']
Add a way to ignore only some packages in --ignore-platform-reqs, and make the platform check ignore those packages which were ignored as requirements, fixes #8861
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -114,7 +114,9 @@ resolution.\n * **--apcu-autoloader:** Use APCu to cache found/not-found classes.\n * **--ignore-platform-reqs:** ignore `php`, `hhvm`, `lib-*` and `ext-*`\n requirements and force the instal...
PHP
537402f814537db84b83f6694f774dd59e1213da
281
2020-06-01 16:01:43+02:00
-7,200
['a9affa8413b6a968cc726f14c1a03b05d2bb4b94']
Add tests for #8861
[{'old_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'new_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1648,7 +1648,7 @@ public function testExcludeFromClassmap()\n /**\n * @dataProvider platformCheckProvider\n */\n-...
PHP
c0f5c13516a8dfbb0592c6e63d27e7046e9ead1e
281
2020-06-02 09:45:19+02:00
-7,200
['1e08097a17471adb64afa15fb624692c72f91e8d']
RuleSetGenerator instance does not need to be kept around anymore
[{'old_path': 'src/Composer/DependencyResolver/Solver.php', 'new_path': 'src/Composer/DependencyResolver/Solver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -31,8 +31,6 @@ class Solver\n \n /** @var RuleSet */\n protected $rules;\n- /** @var RuleSetGenerator */\n- protected $ruleSetGenerator;\n...
PHP
dfccf8c0912e7f60e4c11f92453b13d7a2e7b732
281
2020-06-02 10:00:09+02:00
-7,200
['c0f5c13516a8dfbb0592c6e63d27e7046e9ead1e']
Add failing test reproducing the problem of #8902
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/github-issues-8902.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,46 @@\n+--TEST--\n+\n+See Github issue #8902 ( https://github.com/composer/composer/issues/8902 ).\n+\n+Avoid installing packages twice if they are required in differe...
PHP
0ea9eafcafda3ead6b385673c62c78a2cf38cd17
281
2020-06-02 10:07:20+02:00
-7,200
['dfccf8c0912e7f60e4c11f92453b13d7a2e7b732']
Add rules for aliased packages when an alias is added, fixes #8902
[{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -165,6 +165,7 @@ protected function addRulesForPackage(PackageInterface $package, $ignorePlatform\n $this->added...
PHP
2ddf4346ef6a82eca251c78dc40bf8af56a4b776
281
2020-06-02 10:35:04+02:00
-7,200
['0ea9eafcafda3ead6b385673c62c78a2cf38cd17']
Improve error reporting for RULE_PACKAGE_ALIAS
[{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -288,7 +288,10 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n \n return 'Conclusion: '.$ruleText.$lear...
PHP
c8efb50d399bd366f3635dbd2d84705bbf605cff
281
2020-06-02 11:22:09+02:00
-7,200
['cd8c3778541cb115a2df0d91cdf6ca92ca6a3aee']
Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -112,11 +112,13 @@ resolution.\n * **--classmap-authoritative (-a):** Autoload classes from the classmap only.\n Implicitly enables `--optimize-autoloader`.\n * **--apcu-autoloader:** Use APCu to cache found/...
PHP
7a97741aaec76e7df5193350b93cb1808004d43e
76
2020-06-02 13:03:58+02:00
-3,600
['5e5f9f8142051b39f4dd61cf5ec95ec68408cca9']
Use --ignore-platform-req=php (#8936)
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -118,7 +118,7 @@ jobs:\n \n - name: "Handle ignore-platform-reqs dependencies update"\n if: "contains(matrix.dependencies, \'ignore\')...
PHP
1ea3111583f11481d3e5b63395d1e478bca88461
281
2020-06-02 13:21:05+02:00
-7,200
['7a97741aaec76e7df5193350b93cb1808004d43e']
Use RULE_LEARNED instead of RULE_FIXED
[{'old_path': 'tests/Composer/Test/DependencyResolver/RuleSetIteratorTest.php', 'new_path': 'tests/Composer/Test/DependencyResolver/RuleSetIteratorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,7 @@ protected function setUp()\n new GenericRule(array(), Rule::RULE_ROOT_REQUIRE, nu...
PHP
8a7f3a9a094b895f1477448a3ff4e2eb7ae7de70
281
2020-06-02 13:21:06+02:00
-7,200
['1ea3111583f11481d3e5b63395d1e478bca88461']
Avoid rendering problem output for dev-master aliases which is useless
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -104,7 +104,7 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n $template = preg_replace('{^\\S+ \\...
PHP
5a4709c3d63b6922ff13ba9d04046dfb822397e6
281
2020-06-02 13:44:56+02:00
-7,200
['8a7f3a9a094b895f1477448a3ff4e2eb7ae7de70']
Optimize rule creation for alias packages This mainly benefits projects running updates with minimum-stability: dev
[{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -167,6 +167,12 @@ protected function addRulesForPackage(PackageInterface $package, $ignorePlatform\n } else {\n ...
PHP
9bd255d8f1915005ab7af1647201d513519eb16b
281
2020-06-02 14:41:18+02:00
-7,200
['8a7f3a9a094b895f1477448a3ff4e2eb7ae7de70']
Remove some dead code from RuleSetGenerator
[{'old_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'new_path': 'src/Composer/DependencyResolver/RuleSetGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -215,20 +215,6 @@ protected function addConflictRules($ignorePlatformReqs = false)\n }\n }\n \n- protected function o...
PHP
718021724cc0b71f958beda5ae8739da100599e4
281
2020-06-02 15:46:12+02:00
-7,200
['8a7f3a9a094b895f1477448a3ff4e2eb7ae7de70']
Deduplicate more content in complex problem output
[{'old_path': 'src/Composer/DependencyResolver/Problem.php', 'new_path': 'src/Composer/DependencyResolver/Problem.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -94,11 +94,19 @@ public function getPrettyString(RepositorySet $repositorySet, Request $request,\n }\n }\n \n+ return self:...
PHP
4d75d524f18ba5101fd8ad153b7ce4fd35f79883
281
2020-06-02 16:20:31+02:00
-7,200
['383fbe4a8af6229b6c405e6ade85c6764e00f7dd']
Fix class name case, refs #8939
[{'old_path': 'src/Composer/Composer.php', 'new_path': 'src/Composer/Composer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -189,7 +189,7 @@ public function getLocker()\n /**\n * @param Loop $loop\n */\n- public function setLoop(loop $loop)\n+ public function setLoop(Loop $loop)\n {\n ...
PHP
1055be7936d33cd181ddab61994754068611a532
281
2020-06-02 17:03:41+02:00
-7,200
['4d75d524f18ba5101fd8ad153b7ce4fd35f79883']
Fix unfixing of packages when a replacer gets unfixed before a replacee, refs #8882
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -113,7 +113,7 @@ public function buildPool(array $repositories, Request $request)\n $request->fixPackage($lockedPackage);\...
PHP
fafa9599335161dc77f0ebf96c8f83469c460a1f
281
2020-06-03 08:34:25+02:00
-7,200
['36f3982285e5fe98fe3ead9e905a2c8a7e0a26b6']
Add test to assert prefer-lowest behavior when conflicting branches prevent absolute lowest version from being installed, closes #7408
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/installer/prefer-lowest-branches.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,29 @@\n+--TEST--\n+Assert that prefer-lowest can not pick the lowest version of all packages when two branches are valid but conflict with each other\n+--COMPOSER-...
PHP
8d3ec0f71872b87e5613a4823e97c1562e451780
281
2020-06-03 09:42:21+02:00
-7,200
['fafa9599335161dc77f0ebf96c8f83469c460a1f']
Do not reverse sorted packages, fixes #8320
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -347,6 +347,8 @@ public function uninstallPlugin(PluginInterface $plugin)\n /**\n * Load all plugins and installers from a repository\n *\n+ * I...
PHP
93502eed682bd561a79bef640296cf76406d6c2a
281
2020-06-03 09:57:32+02:00
-7,200
['f7abfc9d7fb8437f1dee87f00c037d13279a6d16']
Add powershell instructions, fixes #8883
[{'old_path': 'doc/00-intro.md', 'new_path': 'doc/00-intro.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -134,10 +134,18 @@ to download `composer.phar`.\n \n Create a new `composer.bat` file alongside `composer.phar`:\n \n+Using cmd.exe:\n+\n ```sh\n C:\\bin> echo @php "%~dp0composer.phar" %*>composer.bat\n ``...
PHP
ccea1b95a86c39bc19d29ab272a9d3ef257fb3ae
281
2020-06-03 10:43:18+02:00
-7,200
['7507b87fb3a388a2451f044c326721bfc69f4781']
Fix pretty constraint for --with overrides
[{'old_path': 'src/Composer/Command/UpdateCommand.php', 'new_path': 'src/Composer/Command/UpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -293,14 +293,14 @@ private function appendConstraintToLink(Link $link, $constraint)\n {\n $parser = new VersionParser;\n $oldPrettyString = ...
PHP
2a9768a743e051d6fabed94ace65314b360ddc99
281
2020-06-03 10:57:42+02:00
-7,200
['ccea1b95a86c39bc19d29ab272a9d3ef257fb3ae']
Update changelog/upgrade guide for 2.0.0-alpha1
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,4 @@\n-### [2.0.0-?] 2020-??\n+### [2.0.0-alpha1] 2020-06-03\n \n * Breaking: This is a major release and while we tried to keep things compatible for most users, you might want to have a look at the [U...
PHP
50944e1c423cc9bd79ac7e9df36a1d9d370bba31
345
2020-06-03 11:04:43+02:00
-7,200
['242b48eae474d0881cfca009e1f87fbb240bfe3a']
Added docs for glob pattern support in classmaps
[{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -610,6 +610,18 @@ Example:\n }\n ```\n \n+Its also supported to use glob patterns in a classmap path:\n+\n+Example:\n+\n+```json\n+{\n+ "autoload": {\n+ "classmap": ["src/addons/*/lib/", "3rd-pa...
PHP
396ad87fd071dd7ef8bc66206ddb1a6255f85980
281
2020-06-03 15:18:27+02:00
-7,200
['29761cf78d2a85986c53c802b2a38c412689d437']
Add handling of ctrl-C on windows for php 7.4+
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -367,6 +367,17 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n });\n }\n ...
PHP
02059d96e76ca8bceb28dc9d4c92b643e367d44c
281
2020-06-03 15:19:02+02:00
-7,200
['396ad87fd071dd7ef8bc66206ddb1a6255f85980']
Fail early if an archive extraction is going to fail at install/update stage to avoid leaving the vendor dir in a half up to date state
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,7 @@\n use Composer\\Package\\PackageInterface;\n use Symfony\\Component\\Finder\\Finder;\n use Composer\\IO\\IOInterface;\n+use Compose...
PHP
90bd351b8be5e98fa840461384c65154332a960e
281
2020-06-03 15:37:36+02:00
-7,200
['63041fbf5021eacaa65126f87909ad99ed0b0752']
Allow downgrades to go through even though the target dir for archive extraction exists
[{'old_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'new_path': 'src/Composer/Downloader/ArchiveDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -29,7 +29,9 @@ abstract class ArchiveDownloader extends FileDownloader\n public function download(PackageInterface $package, $path, PackageInt...
PHP
5761228068baa934f6312b471ce309591611cdf2
281
2020-06-04 10:34:16+02:00
-7,200
['816d8e9d1b3eedad823cf8f831c9a55a547167aa']
Make installer classes forward promises from downloaders to InstallationManager
[{'old_path': 'src/Composer/Installer/InstallationManager.php', 'new_path': 'src/Composer/Installer/InstallationManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,6 +26,7 @@\n use Composer\\EventDispatcher\\EventDispatcher;\n use Composer\\Util\\StreamContextFactory;\n use Composer\\Util\\Loop;\n+use R...
PHP
a4a617abb46cd1bb55591f9f5b31a4ff3e643ba0
281
2020-06-04 16:08:23+02:00
-7,200
['5761228068baa934f6312b471ce309591611cdf2']
Reduce amount of Filesystem/ProcessExecutor instantiations, add lots of docblocks
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -38,6 +38,7 @@\n use Composer\\Json\\JsonFile;\n use Composer\\Config\\JsonConfigSource;\n use Composer\\Util\\Filesystem;\n+use Composer\\Util\\P...
PHP
c9571f90b4852879b6edf75704ef65cad1125428
281
2020-06-04 16:11:02+02:00
-7,200
['a4a617abb46cd1bb55591f9f5b31a4ff3e643ba0']
Run phpstan with regular output and then run again to cs2pr if there was an error, to keep usable output in CI logs
[{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -53,4 +53,4 @@ jobs:\n - name: Run PHPStan\n run: |\n bin/composer require --dev phpstan/phpstan:^0.12 phpunit/phpunit:^7.5 --with-all-dependencies\n- ...
PHP
71ddc487fec43696d5905c1d6928a8b262bac2c4
144
2020-06-05 02:09:31+07:00
-25,200
['627afe78ca89df139d20fcb4374c32a7424146b6']
Platform Check: Add a special case for `zend-opcache`. Ref #8946 The platform-check feature maps `ext-X` to `extension_loaded('X')` calls. While most of the extensions can be tested this way, the `zend-opcache` extension requires `zend opcache` to be probed instead of the `zend-opcache` name. This commit adds a spec...
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -640,6 +640,10 @@ protected function getPlatformCheck($packageMap, array $ignorePlatformReqs)\n }\n }\n \n...
PHP
90425a6a50558283a216ba956392426f7e66ced3
281
2020-06-05 10:36:40+02:00
-7,200
['c9571f90b4852879b6edf75704ef65cad1125428']
Add upgrade note for custom installers
[{'old_path': 'UPGRADE-2.0.md', 'new_path': 'UPGRADE-2.0.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,6 +17,7 @@\n - `PluginInterface` added a deactivate (so plugin can stop whatever it is doing) and an uninstall (so the plugin can remove any files it created or do general cleanup) method.\n - Plugins imp...
PHP
f7df96f96832f749731355d0029ed24f2131f4cd
281
2020-06-05 10:39:56+02:00
-7,200
['56b4667db0647086e40d672c5e507659c2920d66']
Allow php8 for Composer 2
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,7 +22,7 @@\n }\n ],\n "require": {\n- "php": "^5.3.2 || ^7.0",\n+ "php": "^5.3.2 || ^7.0 || ^8.0",\n "composer/ca-bundle": "^1.0",\n "composer/semver": "^3.0",\...
PHP
6630519882a2ca86e402baa62506a70fc4482235
281
2020-06-05 16:01:39+02:00
-7,200
['81c6fe987b955f525704b3097853c86a661a026b']
Fix #8298 for COMPOSER_DEV_MODE
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -200,7 +200,7 @@ public function run()\n }\n \n if ($this->runScripts) {\n- $_SERVER['COMPOSER_DEV_MODE'] = (int) $this->devMode;\n+ $_SERVER['COM...
PHP
caa5545478603e18d639143abf9eddf62cd9b929
494
2020-06-05 16:48:10+02:00
-7,200
['d4e5135d0fb741bd38e52aa9c822461f77b17343']
#8945 Add "--no-dev" to outdated/show commands
[{'old_path': 'src/Composer/Command/OutdatedCommand.php', 'new_path': 'src/Composer/Command/OutdatedCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -37,6 +37,7 @@ protected function configure()\n new InputOption('minor-only', 'm', InputOption::VALUE_NONE, 'Show only packages that have mi...
PHP
10555ecff358e854596e21c21635bec877f4936d
534
2020-06-05 16:52:24+02:00
-7,200
['912aecb6661b068cf187fb6fd0359798838d86ad']
Make sure there's always a constraint
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -294,10 +294,6 @@ private function loadPackage(Request $request, PackageInterface $package, $propa\n $this->io->writeError...
PHP
208a73564586f80c7c9882018dbaa8907ec3aa70
388
2020-06-05 16:52:24+02:00
-7,200
['1c8865a5d19cae03bf04a4a08a3a238dce60525f']
PoolBuilder Failing test: fixed package is not only pkg loaded for that name
[{'old_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-do-not-load-from-repos.test', 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-do-not-load-from-repos.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,21 +3,30 @@ Fixed packages do...
PHP
bb4cabc0b9245e1b7aa5e34660d9848fd0332927
388
2020-06-05 16:52:24+02:00
-7,200
['208a73564586f80c7c9882018dbaa8907ec3aa70']
PoolBuilder: Avoid loading any alternatives to fixed packages
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -124,7 +124,7 @@ public function buildPool(array $repositories, Request $request)\n \n $loadNames = array();\n foreach ($reque...
PHP
85ea29d2418e162e30a0577b331a97c58b81783a
388
2020-06-05 16:52:24+02:00
-7,200
['bb4cabc0b9245e1b7aa5e34660d9848fd0332927']
PoolBuilder failing test: do not load alternatives for pkg replaced by fixed pkg
[{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-replaced-do-not-load-from-repos.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,29 @@\n+--TEST--\n+Packages replaced by fixed packages do not get loaded from the repos\n+\n+--REQUEST--\n+{\n+ "so...
PHP
5dd4b456b915aeda296fb659a43c38421627ebec
388
2020-06-05 16:52:24+02:00
-7,200
['85ea29d2418e162e30a0577b331a97c58b81783a']
PoolBuilder: Do not load any alternatives to pkgs replaced by fixed pkg
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -128,7 +128,7 @@ public function buildPool(array $repositories, Request $request)\n \n // replace means conflict, so if a fixed pa...
PHP
4f13875f3fceb99e61192cd1b70e8203097bbafc
388
2020-06-05 16:52:24+02:00
-7,200
['5dd4b456b915aeda296fb659a43c38421627ebec']
PoolBuilderTest: add new fixtures for partial updates with locked packages
[{'old_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-do-not-load-from-repos.test', 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/fixed-packages-do-not-load-from-repos.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,9 +3,11 @@ Fixed packages do ...
PHP
43888cae8c17020aa08f383e8332da0435d111f6
388
2020-06-05 16:52:24+02:00
-7,200
['4f13875f3fceb99e61192cd1b70e8203097bbafc']
PoolBuilder: failing test for partial update with multiple deps
[{'old_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-transitive-deps-no-root-unfix.test', 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/partial-update-transitive-deps-no-root-unfix.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,9 +8,10 @@ Part...
PHP
d78c37edd22a0c31816334aedee36ea510e7a60d
534
2020-06-05 16:52:24+02:00
-7,200
['43888cae8c17020aa08f383e8332da0435d111f6']
Cleanup and added some more improvements, tests still failing
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,6 +63,11 @@ class PoolBuilder\n */\n private $aliasMap = array();\n \n+ /**\n+ * @psalm-var array<string, ConstraintInterf...
PHP
28f82032cd8d3b4ee6769317c5a52a6d9fe515aa
534
2020-06-05 16:52:24+02:00
-7,200
['b87fc5bbfd51263ac0da2a7b3e11e9483543e719']
And here's the key test :)
[{'old_path': None, 'new_path': 'tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/package-versions-are-not-loaded-if-not-required-expansion.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,34 @@\n+--TEST--\n+Test irrelevant package versions are not loaded\n+\n+--REQUEST--\n+{\n+ "require": {\...
PHP
bca88bdd4b41e0f18345a23e995c3aca445ed7c6
534
2020-06-05 16:52:24+02:00
-7,200
['28f82032cd8d3b4ee6769317c5a52a6d9fe515aa']
Fixed PoolBuilder running endlessly when packages do not exist
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -249,6 +249,8 @@ private function loadPackagesMarkedForLoading(Request $request, $repositories)\n $this->loadedNames[$name] = $con...
PHP