Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
0b9e1da4fce12a7c56464671e8a87dc145375a20
510
2021-11-25 20:50:26+01:00
-3,600
['f7525ddf521051913742d6ca27c8954c345d2d9e']
Allow recursively call composerRequire (#10312) Fixes: #10311 Related: #10065
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1106,9 +1106,9 @@ public static function getLoader()\n function composerRequire$suffix(\\$fileIdentifier, \\$file)\n {\n if (empty(\\$GLOBALS['__...
PHP
b9d7d27c82ef0173da78a19f25c8e5d6d2422069
388
2021-11-26 10:13:49+01:00
-3,600
['645e5245dd1a10ca5ba08e7ba994cd6b81ff042c']
Fix tests after grammar fix for php.ini error message
[{'old_path': 'tests/Composer/Test/Fixtures/installer/platform-ext-solver-problems.test', 'new_path': 'tests/Composer/Test/Fixtures/installer/platform-ext-solver-problems.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -51,6 +51,6 @@ Your requirements could not be resolved to an installable set of packages.\n ...
PHP
7a3d2b815716e57a3e47c63163e20f70addebd90
464
2021-11-26 10:39:07+01:00
-3,600
['b9d7d27c82ef0173da78a19f25c8e5d6d2422069']
Better hint for missing extensions (#10283)
[{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,16 +47,14 @@ public function __construct(array $problems, array $learnedPool)\n public function getPrettyStrin...
PHP
ace8a1776c9baa78f85acb0dabc1dd4e96d0872f
510
2021-11-27 14:26:57+01:00
-3,600
['7a3d2b815716e57a3e47c63163e20f70addebd90']
Add composer platform package with exact Composer version (#10313) Co-authored-by: Lars Strojny <lars.strojny@internations.org> Co-authored-by: Nils Adermann <naderman@naderman.de>
[{'old_path': None, 'new_path': 'doc/articles/composer-platform-dependencies.md', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,77 @@\n+<!--\n+ tagline: Making your package depend on specific Composer versions\n+-->\n+\n+# Composer platform dependencies\n+\n+## What are platform dependencies\n+\n+Composer m...
PHP
8a36c88cac9dc29a646c1fcefa5571368b2e61ab
281
2021-11-29 09:39:13+01:00
-3,600
['ace8a1776c9baa78f85acb0dabc1dd4e96d0872f']
Get rid of $binPath global in bin proxies
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -342,7 +342,7 @@ public function stream_set_option(\\$option, \\$arg1, \\$arg2)\n }\n \n if (function_exists(\'stream_wrapper_register\') && str...
PHP
42c2108956e88c000b358610c983dcdab76aa97d
281
2021-11-30 10:31:39+01:00
-3,600
['8a63018f07977be1330eb385bb7676e53dddcc4c']
Remove symfony/console ^6 compat as it is incorrect, fixes #10321
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,7 +32,7 @@\n "psr/log": "^1.0 || ^2.0",\n "seld/jsonlint": "^1.4",\n "seld/phar-utils": "^1.0",\n- "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",\n+ "...
PHP
965b12cdecc09a355d8ff8b0f8860c9d872b240f
281
2021-11-30 10:32:23+01:00
-3,600
['42c2108956e88c000b358610c983dcdab76aa97d']
Allow alpha and above for latest deps build to catch dependency problems earlier next time
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -90,6 +90,10 @@ jobs:\n - name: "Remove platform config to get latest dependencies for current PHP version when build is not locked"\n ...
PHP
f5ffedfe60b5b0043c368b91e656288517aad0d9
242
2021-11-30 14:33:38+01:00
0
['9efe4290b6df65bda369ef1b5ee1d566f7e2228a']
Fix VcsDrivers initialization of tags and branches, and VcsRepository swallowing exceptions (#10319) * Drivers: avoid early initialize of tags and branches * VcsRepository: do not continue if fetching root information fails because of unexpected exceptions Also rethrow 5XX exception in addition to select 4XX exc...
[{'old_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitBitbucketDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -293,7 +293,7 @@ public function getTags()\n }\n \n if (null === $this->tags) {\n- $this->tags = array();\n+ ...
PHP
483eac1c2ff8b57944e12a5c3d305eac6f319a2b
510
2021-12-03 11:16:58+01:00
-3,600
['f5ffedfe60b5b0043c368b91e656288517aad0d9']
Install full binaries on Windows by default (#10327) A bug was introduced in #10137 that leads to the situation that by default .bat binaries are not installed on Windows any more. Check the correct variable to install .bat files on Windows by default again.
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -103,7 +103,7 @@ public function installBinaries(PackageInterface $package, $installPath, $warnOn\n $binCompat = \'full\';\n ...
PHP
7c8267f57cac90f48f2363fdd9abf1932a437252
281
2021-12-03 14:49:41+01:00
-3,600
['483eac1c2ff8b57944e12a5c3d305eac6f319a2b']
Cache root packages.json, refs #10326
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -931,7 +931,17 @@ protected function loadRootServerFile()\n throw new \\RuntimeException('You must enable the openssl extension in y...
PHP
128a2648fb47a34a52f1ba9d7c31453794c56e19
281
2021-12-03 14:54:17+01:00
-3,600
['7c8267f57cac90f48f2363fdd9abf1932a437252']
Optimize name only search with preg_grep, refs #10326
[{'old_path': 'src/Composer/Repository/ComposerRepository.php', 'new_path': 'src/Composer/Repository/ComposerRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -492,10 +492,10 @@ public function search($query, $mode = 0, $type = null)\n $results = array();\n $regex = '{(?:'.implo...
PHP
10f8edb8167f89af68326b8bf456ccae7ee17126
521
2021-12-04 07:48:28+01:00
-32,400
['128a2648fb47a34a52f1ba9d7c31453794c56e19']
fix typo (#10331)
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -356,12 +356,12 @@ public static function autoload(\\$class)\n }\n }\n \n- foreach ($ambiguousClasses as $className => $amb...
PHP
1cfdaf43f1106231285b6d284b707dcbd964743b
281
2021-12-04 14:56:32+01:00
-3,600
['b42a897ebec6ec66df66b4a6d953614c3c6c58d4']
Fix new file being leftover if require in new dir fails to resolve requirements
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -206,6 +206,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n );\n } catch (\\Exception $e) {\n ...
PHP
4f789a5f6d3bff8f3650202e875a069249b911dc
475
2021-12-04 15:00:28+01:00
-3,600
['1cfdaf43f1106231285b6d284b707dcbd964743b']
Add "use-parent-dir" config to configure prompt when no composer.json is present in current dir (#10307) Fixes #10299 Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,6 +63,19 @@ optionally be a hash of patterns for more granular install preferences.\n > configuration in global and package configurations the string notation\n > is translated to a `*` package patter...
PHP
2474d6f5265af5677d8f2614b2c6b4f749296b91
112
2021-12-07 01:54:03+01:00
-3,600
['b3df470be642dbe7fbaf98ae2f7fb655fa7eead8']
Fixed documentation for cache-dir location in case of xdg
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -997,8 +997,11 @@ directory to something other than `vendor/bin`.\n The `COMPOSER_CACHE_DIR` var allows you to change the Composer cache directory,\n which is also configurable via the [`cache-dir`](06-config.m...
PHP
24ce1eddbdb4658e1d106a5d982951342f86f4d3
281
2021-12-07 12:37:19+01:00
-3,600
['2d92e2119ac6ae71ed9d231629c5d7faa0ff6ddb']
Add composer/pcre dependency and use it everywhere instead of preg_*
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -36,7 +36,8 @@\n "symfony/filesystem": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",\n "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",\n "symfony/process": "^2.8.52 || ^3...
PHP
77fec4dc76a09a441c02d49b17651933c5999968
281
2021-12-07 12:50:03+01:00
-3,600
['24ce1eddbdb4658e1d106a5d982951342f86f4d3']
Bump to level 8, enable strict rules, and ignore all existing errors with baseline
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,24 +1,8753 @@\n parameters:\n \tignoreErrors:\n+\t\t-\n+\t\t\tmessage: "#^Argument of an invalid type array\\\\<string\\\\>\\\\|string supplied for foreach, only iterables are supported\\\\.$...
PHP
e496c3544ce35853af1a7d44d4af22f7ccf78462
281
2021-12-07 12:57:44+01:00
-3,600
['77fec4dc76a09a441c02d49b17651933c5999968']
Fix tests for new dep
[{'old_path': 'tests/Composer/Test/Fixtures/functional/installed-versions.test', 'new_path': 'tests/Composer/Test/Fixtures/functional/installed-versions.test', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,7 +8,7 @@ Checks that package versions in InstalledVersions are correct on initial install\n update\n --EXP...
PHP
e30a6b0b9b1e529499f278fa22fbbac351c150f2
281
2021-12-07 13:24:08+01:00
-3,600
['62dfd0af231996b7d3afc306700e026cb0b4aae4']
Add support for ignoring the upper bound of platform requirements using "name+" notation
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -117,7 +117,10 @@ resolution.\n See also the [`platform`](06-config.md#platform) config option.\n * **--ignore-platform-req:** ignore a specific platform requirement(`php`,\n `hhvm`, `lib-*` and `ext-*`) an...
PHP
ca5d5b40ee804e22b649836271cfc229d38eef8d
281
2021-12-07 13:24:09+01:00
-3,600
['e30a6b0b9b1e529499f278fa22fbbac351c150f2']
Fix platform package description for replacer/provider and packages which are not really loaded in general
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -79,7 +79,7 @@\n ],\n "scripts": {\n "compile": "@php -dphar.readonly=0 bin/compile",\n- "test": "simple-phpunit",\n+ "test": "@php simple-phpunit",\n "phpstan-setup": [\n ...
PHP
74951b5377fee5efe6b673bce877f78fcead2b16
78
2021-12-07 15:53:07+01:00
-3,600
['005117dda39a6356e72f6cbf589a586751c022b3']
Document archive --format=tar.gz (#10087)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -953,8 +953,8 @@ php composer.phar archive vendor/package 2.0.21 --format=zip\n \n ### Options\n \n-* **--format (-f):** Format of the resulting archive: tar or zip (default:\n- "tar")\n+* **--format (-f):** F...
PHP
a4a89f1508e7c3c91e6656177b6e0823239dc27c
281
2021-12-07 15:56:35+01:00
-3,600
['74951b5377fee5efe6b673bce877f78fcead2b16']
Update archive format docs, refs #10087
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -953,8 +953,8 @@ php composer.phar archive vendor/package 2.0.21 --format=zip\n \n ### Options\n \n-* **--format (-f):** Format of the resulting archive: tar, tar.gz or zip\n- (default: "tar")\n+* **--format (...
PHP
04dbed27a9a3270d0df702c0d423b68f78618ba9
186
2021-12-07 21:22:17+01:00
18,000
['a4a89f1508e7c3c91e6656177b6e0823239dc27c']
Make it explicitly clear that `dev-` shouldn't be in the actual branch name. (#10335)
[{'old_path': 'doc/05-repositories.md', 'new_path': 'doc/05-repositories.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -342,8 +342,9 @@ project to use the patched version. If the library is on GitHub (this is the\n case most of the time), you can fork it there and push your changes to\n your fork. After that y...
PHP
a3e91b5be6a886da6df701695c8518aba50b8d07
281
2021-12-07 23:00:48+01:00
-3,600
['04dbed27a9a3270d0df702c0d423b68f78618ba9']
Add allow-plugins config value (#10314) Fixes #5659 - Automatically switch off plugins by default in July 2022 - reword hash into object in schema Co-authored-by: Nils Adermann <naderman@naderman.de>
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,6 +24,37 @@ helper is available:\n }\n ```\n \n+## allow-plugins\n+\n+Defaults to `null` (allow all plugins implicitly) for backwards compatibility until July 2022.\n+At that point the default will be...
PHP
8c8d9efd87e108bd0f7907a59f12ed7d150e7095
202
2021-12-08 11:42:36+01:00
0
['a3e91b5be6a886da6df701695c8518aba50b8d07']
Filter impossible packages from the pool (#9620) Adds a new pass to the PoolOptimizer Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': 'src/Composer/DependencyResolver/PoolOptimizer.php', 'new_path': 'src/Composer/DependencyResolver/PoolOptimizer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -75,7 +75,11 @@ public function optimize(Request $request, Pool $pool)\n {\n $this->prepare($request, $pool);\n \n- $op...
PHP
cc32ebcabd578dbc3da8e06e6e005ebc47c00eb2
281
2021-12-08 11:45:18+01:00
-3,600
['8c8d9efd87e108bd0f7907a59f12ed7d150e7095']
Search improvements (#10336) * Search performance improvements, add SEARCH_VENDOR type, fixes #10326, fixes #10324, fixes #10325 * Add extra optimization path for autocompletion of ^foo/* whereas the vendor is fully known, refs #10320
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -420,7 +420,9 @@ You can also search for more than one term by passing multiple arguments.\n \n ### Options\n \n-* **--only-name (-N):** Search only in name.\n+* **--only-name (-N):** Search only in package nam...
PHP
4e8f3e85e2ebbb65b43606068faa53e72d61f745
281
2021-12-08 14:01:26+01:00
-3,600
['cc32ebcabd578dbc3da8e06e6e005ebc47c00eb2']
Improve error reporting for repo priorities, refs #10339
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -912,7 +912,7 @@ private function findBestVersionAndNameForPackage(InputInterface $input, $name,\n // we must first verify if a valid package would ...
PHP
63c897eaf029c699c8b2d6369858cceb2a4f850e
281
2021-12-08 14:01:46+01:00
-3,600
['4e8f3e85e2ebbb65b43606068faa53e72d61f745']
Fix test issues with new composer repo caching
[{'old_path': 'tests/Composer/Test/Repository/ComposerRepositoryTest.php', 'new_path': 'tests/Composer/Test/Repository/ComposerRepositoryTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -16,6 +16,7 @@\n use Composer\\Repository\\ComposerRepository;\n use Composer\\Repository\\RepositoryInterface;\n use Comp...
PHP
ef728bf8f7e2eb62cd251da445974a58ccd9dcc7
281
2021-12-08 22:03:22+01:00
-3,600
['0dbc736eb7e41e3ed327a8e903a1cd886daa383a']
Avoid removing the platform config on every build
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -87,6 +87,7 @@ jobs:\n run: "echo \\"COMPOSER_FLAGS=$COMPOSER_FLAGS --ignore-platform-req=php\\" >> $GITHUB_ENV"\n \n - name: "Remove ...
PHP
73a12bb21abe5fdae0793b115ece3df7dcb604cb
281
2021-12-10 13:50:46+01:00
-3,600
['aeb206bcfba2f4f865f0be80a8ce1de70f7e3495']
Delete old pear package fixtures
[{'old_path': 'tests/Composer/Test/Downloader/Fixtures/Package_v1.0/package.xml', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': '@@ -1,21 +0,0 @@\n-<?xml version="1.0" encoding="ISO-8859-1" ?>\n-<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">\n-<package version="1.0" packagerversion="1...
PHP
f051a42bc965c12b1f5ca7ba0aefe205d559377b
345
2021-12-19 10:59:13+01:00
-3,600
['73a12bb21abe5fdae0793b115ece3df7dcb604cb']
docs: Highlight sudo (#10367)
[{'old_path': 'doc/00-intro.md', 'new_path': 'doc/00-intro.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -99,7 +99,7 @@ you can use `~/.local/bin` instead which is available by default on some\n Linux distributions.\n \n > **Note:** If the above fails due to permissions, you may need to run it again\n-> with s...
PHP
692de949de1a69bfe8d1bc87ba24b1e8ed2d2852
21
2021-12-19 14:05:57+01:00
-3,600
['d274bf0313d61cfeaa386a77e4513e05e5f6cafa']
$home -> $COMPOSER_HOME (#10363) the `$home` variable referenced in the conifguration docs for data- and cache-dir is a reference to an internal PHP variable that contains the composer home directory. as on the documentation page it is not visible where that variable comes from (the document uses only shell/envi...
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -253,7 +253,7 @@ into this directory.\n \n Defaults to `C:\\Users\\<user>\\AppData\\Roaming\\Composer` on Windows,\n `$XDG_DATA_HOME/composer` on unix systems that follow the XDG Base Directory\n-Specific...
PHP
239638e687e8e67a2f1dadf225731fcd6309e8c4
57
2021-12-19 15:15:21+01:00
14,400
['692de949de1a69bfe8d1bc87ba24b1e8ed2d2852']
Fix minor spelling & grammar issues in docs (#10370)
[{'old_path': 'doc/00-intro.md', 'new_path': 'doc/00-intro.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -53,7 +53,7 @@ or review it on [GitHub](https://github.com/composer/getcomposer.org/blob/main/w\n if you wish to know more about the inner workings of the installer. The source\n is plain PHP.\n \n-There ar...
PHP
d81298239b1c46b2e93555edadf65db9f2571913
281
2021-12-19 16:07:20+01:00
-3,600
['239638e687e8e67a2f1dadf225731fcd6309e8c4']
Fix display of conflicts when a rule has the conflicter out of order, fixes #10355
[{'old_path': 'src/Composer/DependencyResolver/Rule.php', 'new_path': 'src/Composer/DependencyResolver/Rule.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -241,7 +241,6 @@ public function getSourcePackage(Pool $pool)\n $package1 = $this->deduplicateDefaultBranchAlias($pool->literalToPackage($li...
PHP
24eac88321df252c6b3fc6194e22f9c5ca9f64b6
281
2021-12-20 13:42:11+01:00
-3,600
['95e41ae61c8e18eb24dbce342bbae29c49777503']
Switch the default version in path repo packages to dev-main and add a dev-master alias for BC, fixes #10360 (#10372)
[{'old_path': 'src/Composer/Repository/PathRepository.php', 'new_path': 'src/Composer/Repository/PathRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,8 @@\n use Composer\\Config;\n use Composer\\IO\\IOInterface;\n use Composer\\Json\\JsonFile;\n+use Composer\\Package\\CompleteAliasPackage;\n...
PHP
8f1b3d21db998e02a8e11dd31ffcf4c65ddb1299
281
2021-12-20 14:23:35+01:00
-3,600
['24eac88321df252c6b3fc6194e22f9c5ca9f64b6']
Add --no-scripts to all commands and disable plugins/scripts when running self-update (#10371) * Add --no-scripts as global parameter available to all commands, and handle it by default when creating a Composer instance from Command::getComposer * Disable scripts/plugins for self-update command, fixes #10351
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,6 +22,7 @@ The following options are available with every command:\n * **--quiet (-q):** Do not output any message.\n * **--no-interaction (-n):** Do not ask any interactive question.\n * **--no-plugins:** ...
PHP
71ab70d8477ae2425f5ab3b468481c406556542d
281
2021-12-20 14:27:34+01:00
-3,600
['8f1b3d21db998e02a8e11dd31ffcf4c65ddb1299']
Disable files autoloading for scripts to avoid untrusted code execution at runtime (#10373)
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -509,10 +509,6 @@ protected function getScriptListeners(Event $event)\n $this->loader = $generator->createLoader($map, $this->compos...
PHP
188b692c4cb86c4eb33127586a8d45d5a17e73e6
281
2021-12-20 14:58:55+01:00
-3,600
['71ab70d8477ae2425f5ab3b468481c406556542d']
Add test verifying only plugin deps are autoloaded (#10374)
[{'old_path': None, 'new_path': 'tests/Composer/Test/Fixtures/functional/plugin-autoloading-only-loads-dependencies.test', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,24 @@\n+--TEST--\n+Checks that only plugin dependencies get their autoloading (and specifically files autoloading) rules included.\n+--RUN--\n...
PHP
54123e4093c7770ec3d807263274ce750302bc4b
281
2021-12-22 10:49:06+01:00
-3,600
['756c51d45efc5f9462f7444a55307dbbfb9a770e']
Fix autoloader compatibility with older releases of laminas/laminas-zendframework-bridge, refs #10349
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -241,6 +241,11 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n $classLoader->register(false);\n \n foreach (...
PHP
f0060b7f56bcd28434c5841c3e2599a27217e714
296
2021-12-22 10:54:48+01:00
-3,600
['54123e4093c7770ec3d807263274ce750302bc4b']
Use web URLs for Gitlab support metadata (#10377)
[{'old_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -163,8 +163,12 @@ public function getComposerInformation($identifier)\n \n if ($composer) {\n // specials for gitlab (th...
PHP
226689b90cbe0a4692a047df19539d4d3e959d79
281
2021-12-22 16:04:34+01:00
-3,600
['25835bb5cdd696373b7210603a9f5c415f611602']
Fix plugin autoloading including files autoload rules from the root package, fixes #10382 (#10386)
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -216,6 +216,17 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n $globalRepo = $this->globalComposer !== null ? $this-...
PHP
e1bf45aa8020a801a553768d081a7e8948ceffd6
281
2021-12-22 21:42:19+01:00
-3,600
['226689b90cbe0a4692a047df19539d4d3e959d79']
Fix issue parsing php files with unterminated comments found inside backticks, fixes #10385
[{'old_path': 'src/Composer/Autoload/PhpFileCleaner.php', 'new_path': 'src/Composer/Autoload/PhpFileCleaner.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -120,6 +120,7 @@ public function clean()\n }\n if ($this->peek('*')) {\n $this->skipComment(...
PHP
7d1ca1f56d81e7641e4c5b7716472c582e3841a6
281
2021-12-23 12:38:35+01:00
-3,600
['406075891daa9a68f2424dfbb929db42b15a536e']
Add workaround for PHPUnit process isolation combined with bin proxies, fixes #10387
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -265,6 +265,11 @@ protected function generateUnixyProxyCode($bin, $link)\n if ($this->vendorDir) {\n $autoloadPathCode = \'$...
PHP
6f5baab77b28b1d61837951ab9e5b33583f5a879
281
2021-12-28 21:31:52+01:00
-3,600
['c1c6698799d23a35ad17f6c23c10b3d5aa2b145d']
Make COMPOSER_BIN_DIR env or _composer_bin_dir global available to binaries, fixes #10389 (#10402)
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -231,12 +231,14 @@ protected function generateWindowsProxyCode($bin, $link)\n return "@ECHO OFF\\r\\n".\n "setlocal DISABLED...
PHP
a8ed352b3141345292b7b750f927152251808f6e
281
2021-12-28 22:04:32+01:00
-3,600
['6f5baab77b28b1d61837951ab9e5b33583f5a879']
Add docs for the new bin-dir access and bump runtime-api, refs #10402
[{'old_path': 'doc/07-runtime.md', 'new_path': 'doc/07-runtime.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -162,4 +162,13 @@ This is set by the binary proxy and as such is not made available to projects\n by Composer's `vendor/autoload.php`, which would be useless as it would point back\n to itself.\n \n+## ...
PHP
70425900e92ff7261dca5fe4567a16a8582031a9
50
2021-12-29 13:30:50+01:00
-3,600
['a8ed352b3141345292b7b750f927152251808f6e']
Fix symfony error handler warnings, fixes #10397 (#10404)
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,6 +20,7 @@\n use Symfony\\Component\\Console\\Exception\\CommandNotFoundException;\n use Symfony\\Component\\Console\\Helper\\HelperSet;\n use Symfony\\Componen...
PHP
4168ee9b697cfac0fc75973e68d4be5b766ebb0a
281
2021-12-29 13:41:54+01:00
-3,600
['70425900e92ff7261dca5fe4567a16a8582031a9']
Reformat plugin warning slightly, fixes #10381
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -704,7 +704,7 @@ private function isPluginAllowed($package, $isGlobalPlugin)\n \n $this->io->writeError(\'<warning>\'.$package.($isGlobalPlugin ? ...
PHP
2a731ef79823fea9e24520750ff2e3b67a5000b5
281
2021-12-30 10:42:35+01:00
-3,600
['0a85c3fb015305b67b93e3f26f9f1ceecb09c95a']
Add workaround for PHPUnit process isolation issues for PHPUnit <6.5 as well, fixes #10387
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -264,13 +264,20 @@ protected function generateUnixyProxyCode($bin, $link)\n $binPathExported = $this->filesystem->findShortestPathCode($link...
PHP
a2a8fa4e7e8725f134837c0c08fd35bd00bdb2f2
281
2021-12-30 10:44:36+01:00
-3,600
['2a731ef79823fea9e24520750ff2e3b67a5000b5']
Always exclude laminas/laminas-zendframework-bridge:src/autoload.php, fixes #10401
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -252,9 +252,10 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n $classLoader->register(false);\n \n foreach (...
PHP
164a769dc66bed9db3a3eca61f329f4d6f39fb20
281
2021-12-30 20:40:55+01:00
-3,600
['a2a8fa4e7e8725f134837c0c08fd35bd00bdb2f2']
Avoid returning actual fstat information as it induces modern PHPs in error when the returned file size is bigger than the fstat size, refs #10387
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -348,7 +348,7 @@ public function stream_eof()\n \n public function stream_stat()\n {\n- return fstat(\\$this->han...
PHP
09d13309371fc9d2aa6be36b2025fe0c7aa4181e
281
2021-12-30 20:49:44+01:00
-3,600
['164a769dc66bed9db3a3eca61f329f4d6f39fb20']
Fix is_file() not working on the phpvfscomposer:// file when filtering phpunit backtraces, refs #10387
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -274,7 +274,7 @@ protected function generateUnixyProxyCode($bin, $link)\n // workaround issue on PHPUnit 6.5+ running on PHP 8+\n ...
PHP
84f8fda0c6e75dbaa19b4333e1956ff8c2c09b8f
281
2021-12-30 21:06:27+01:00
-3,600
['09d13309371fc9d2aa6be36b2025fe0c7aa4181e']
Remove getCode usage as it is not type safe apparently, see https://github.com/phpstan/phpstan-src/pull/795
[{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -39,6 +39,14 @@ public function __construct(array $problems, array $learnedPool)\n parent::__construct('Failed...
PHP
d1d5d75c5f57d0ac626930748dcca26dbebb57d3
281
2021-12-30 21:23:29+01:00
-3,600
['84f8fda0c6e75dbaa19b4333e1956ff8c2c09b8f']
Fix detection of PHP files to match also broken ones with leading whitespace or whitespace between shebang and <?php, refs jakzal/phpqa#336
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -258,7 +258,7 @@ protected function generateUnixyProxyCode($bin, $link)\n $binContents = file_get_contents($bin);\n // For php files, we...
PHP
390260c6a689912dbf4c9d41fe36418c44b1d89a
281
2021-12-30 21:49:20+01:00
-3,600
['d1d5d75c5f57d0ac626930748dcca26dbebb57d3']
Resolve binary realpath to make sure symlinking bin proxies works, refs jakzal/phpqa#336
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -392,7 +392,13 @@ public function url_stat(\\$path, \\$flags)\n return <<<PROXY\n #!/usr/bin/env sh\n \n-dir=\\$(cd "\\${0%[/\\\\\\\\]*}" > /dev...
PHP
2cd16b4578c8adf34f003d778fd11f8a7b7deb55
281
2021-12-30 21:52:57+01:00
-3,600
['390260c6a689912dbf4c9d41fe36418c44b1d89a']
Suppress errors if realpath fails or is missing
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -392,7 +392,7 @@ public function url_stat(\\$path, \\$flags)\n return <<<PROXY\n #!/usr/bin/env sh\n \n-self=\\$(realpath \\$0)\n+self=\\$(realp...
PHP
75e4d301515bf6e7629e009a9c67d347d3248d7d
281
2021-12-31 10:33:54+01:00
-3,600
['2cd16b4578c8adf34f003d778fd11f8a7b7deb55']
Fix warnings when some code reuses the phpvfscomposer:// stream wrapper to try and access other files, refs #10387
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -355,7 +355,12 @@ public function stream_set_option(\\$option, \\$arg1, \\$arg2)\n \n public function url_stat(\\$path, \\$flags)\n ...
PHP
efc7a3f75f4f51e63ad8f0eafc7db6bc312a5613
202
2021-12-31 11:49:42+01:00
0
['75e4d301515bf6e7629e009a9c67d347d3248d7d']
fix: Do not optimise away packages due to a requirement by a locked package that will be uninstalled (#10405) Fixes #10394 Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': 'src/Composer/DependencyResolver/PoolOptimizer.php', 'new_path': 'src/Composer/DependencyResolver/PoolOptimizer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -418,6 +418,20 @@ private function optimizeImpossiblePackagesAway(Request $request, Pool $pool)\n }\n \n foreach ($request...
PHP
4829a401d8c5d469dab7d73f2dc7d1312cfa9d80
303
2021-12-31 21:56:46+01:00
0
['d965c26c5c9a0e260201b36b9c648432c287d99c']
Fix symlink resolution in shell proxy (#10412)
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -397,9 +397,8 @@ public function url_stat(\\$path, \\$flags)\n return <<<PROXY\n #!/usr/bin/env sh\n \n-self=\\$(realpath \\$0 >/dev/null 2>&1)\...
PHP
d2ede370be20aedfc74749bc87394a79ed4c1e52
281
2022-01-01 14:54:18+01:00
-3,600
['99aeba541ad3d57c93adca20dc0be3cf594c379b']
Bump target version, bump PHP and dependency requirements to PHP 7.2+
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,12 +22,6 @@ jobs:\n strategy:\n matrix:\n php-version:\n- - "5.3"\n- - "5.4"\n- - "5.5"\n- ...
PHP
59603a357a438e16b4680c399c014693bffb3c58
281
2022-01-01 14:54:19+01:00
-3,600
['bf72afec44152315afcbb55438417aa783c1177a']
Remove PHPUnit direct require again
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -105,11 +105,11 @@ jobs:\n \n - name: "Run tests"\n if: "matrix.php-version != \'7.3\'"\n- run: "SYMFONY_PHPUNIT_VERSION=8.5 ve...
PHP
095c36ecf857a99f77fad4e33423d54d5a00740b
281
2022-01-01 14:54:20+01:00
-3,600
['59603a357a438e16b4680c399c014693bffb3c58']
Fix some PHPStan errors/..
[{'old_path': '.github/workflows/continuous-integration.yml', 'new_path': '.github/workflows/continuous-integration.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -58,7 +58,7 @@ jobs:\n - php-version: "8.2"\n dependencies: highest-ignore\n os: ubuntu-latest\n- exper...
PHP
ffd62795bc673bea61bf7773ea674085d0ddee2b
281
2022-01-01 14:54:20+01:00
-3,600
['095c36ecf857a99f77fad4e33423d54d5a00740b']
Get rid of all the ->at() mock invocations
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,9 +21,6 @@\n "homepage": "https://seld.be"\n }\n ],\n- "_comment": [\n- "symfony/polyfill-php73 sould be removed once https://github.com/symfony/symfony/pull/44523 is relea...
PHP
32dcb93f244a8fe3ca9fd4c90ad5ef6e7a8b3cb7
281
2022-01-01 14:54:21+01:00
-3,600
['ffd62795bc673bea61bf7773ea674085d0ddee2b']
Update extra files for latest polyfill lib
[{'old_path': 'src/Composer/Compiler.php', 'new_path': 'src/Composer/Compiler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -150,13 +150,18 @@ public function compile($pharFile = 'composer.phar')\n ->sort($finderSort)\n ;\n \n- $extraFiles = array(\n- realpath(__DIR__ . '...
PHP
96486d81cb0243368415059bc1cb8b66269cefc4
281
2022-01-01 14:54:21+01:00
-3,600
['6ed3aeb343fe1c83af7d9a3b3c6f4e49f756ce27']
Fix many PHPStan issues and update baseline
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -950,11 +950,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Command/GlobalCommand.php\n \n-\t\t-\n-\t\t\tmessage: "#^Return type \\\\(int\\\\|void\\\\) of method Composer\\\\\\\...
PHP
22fed0d445e935d7ebc775d61e64461a28c970c8
281
2022-01-01 14:54:22+01:00
-3,600
['ed08c40ab51abb6b4118be9600c0e8f1cda12ae6']
Get rid of prophecy usage
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,7 +41,6 @@\n },\n "require-dev": {\n "symfony/phpunit-bridge": "^6.0",\n- "phpspec/prophecy": "^1.10",\n "phpstan/phpstan": "^1.0",\n "phpstan/phpstan-phpunit": "^1.0"...
PHP
4f7d06e2a7eb4bd63cf11ed30e29b7640b9e6c68
281
2022-01-01 14:54:23+01:00
-3,600
['e4e0e0d1548d5d75c7346757f6714ea94797e6c2']
Mark PHP8.1 phpstan build experimental
[{'old_path': '.github/workflows/phpstan.yml', 'new_path': '.github/workflows/phpstan.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,12 +17,15 @@ jobs:\n name: "PHPStan"\n \n runs-on: ubuntu-latest\n+ continue-on-error: ${{ matrix.experimental }}\n \n strategy:\n matrix:\n- php-...
PHP
a4a2b6da876ca6aca7bd12843ca772c1fa4509e8
281
2022-01-01 14:54:23+01:00
-3,600
['ccd87c479ce6662aafdf9e78576696109be24f63']
Make SvnDriverTest and XzDownloaderTest more portable on Windows
[{'old_path': 'tests/Composer/Test/Downloader/XzDownloaderTest.php', 'new_path': 'tests/Composer/Test/Downloader/XzDownloaderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,6 +41,9 @@ public function setUp(): void\n \n protected function tearDown(): void\n {\n+ if (Platform::isWindows())...
PHP
0b3adc84da1936d72508734e946448ac85b8edf7
281
2022-01-01 14:54:24+01:00
-3,600
['a4a2b6da876ca6aca7bd12843ca772c1fa4509e8']
Fix a few phpstan errors and add a php8+ baseline for the rest
[{'old_path': None, 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,8875 @@\n+parameters:\n+\tignoreErrors:\n+\t\t-\n+\t\t\tmessage: "#^Argument of an invalid type array\\\\<string\\\\>\\\\|string supplied for foreach, only iterables are supported\\\\.$#"\n+\t\t\tcount: 1...
PHP
7e27a25070464267bdd927b0ff9781940b171a90
281
2022-01-01 15:38:47+01:00
-3,600
['0b3adc84da1936d72508734e946448ac85b8edf7']
Get rid of RetutnTypeWillChange where possible, fixes #10014
[{'old_path': 'src/Composer/DependencyResolver/Decisions.php', 'new_path': 'src/Composer/DependencyResolver/Decisions.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -205,20 +205,12 @@ public function revertLast()\n array_pop($this->decisionQueue);\n }\n \n- /**\n- * @return int\n- */\n- ...
PHP
5805a68645596523ff88a900913799ec8aeb9fd5
281
2022-01-03 14:51:41+01:00
-3,600
['efa08e7791927e081f4fa5cc7a6fa661e8f5a84e']
Fix some todos dropping support for older Symfony releases
[{'old_path': 'phpstan/config.neon', 'new_path': 'phpstan/config.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -13,8 +13,6 @@ parameters:\n - '../tests/Composer/Test/Autoload/Fixtures/*'\n - '../tests/Composer/Test/Plugin/Fixtures/*'\n - '../tests/Composer/Test/PolyfillTestCase.php'\n- ...
PHP
4e6d54b7311bf8035aeba7a5b07753b72d147420
281
2022-01-03 16:32:39+01:00
-3,600
['5805a68645596523ff88a900913799ec8aeb9fd5']
Fix all 5.3 $this-in-closure usages
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -69,13 +69,8 @@\n },\n "autoload-dev": {\n "psr-4": {\n- "Composer\\\\Test\\\\": "tests/Composer/Test",\n- "Composer\\\\PHPStanRules\\\\": "phpstan/Rules/src",\n- ...
PHP
0ece276c7c80169702418ec5c765c802f4657c73
281
2022-01-03 16:32:40+01:00
-3,600
['4e6d54b7311bf8035aeba7a5b07753b72d147420']
Get rid of redundant \Exception catch blocks
[{'old_path': 'src/Composer/Downloader/ZipDownloader.php', 'new_path': 'src/Composer/Downloader/ZipDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -160,8 +160,6 @@ private function extractWithSystemUnzip(PackageInterface $package, $file, $path)\n return $tryFallback(new \\RuntimeE...
PHP
1c928466a9b5407fa6177483ad2daf418ca53f78
2
2022-01-03 17:35:32+01:00
-3,600
['e6cfc924f24089bc02cf8f4d27367b283247610e']
Remove code blocks for php <7.2 compatibility (#10417)
[{'old_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'new_path': 'src/Composer/Autoload/ClassMapGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -241,7 +241,7 @@ private static function findClasses($path)\n }\n \n // return early if there is no chance of matching anything in thi...
PHP
36da81bec2b94370aa52d5302961fdf1190a9d97
360
2022-01-04 10:41:33+01:00
-3,600
['1c928466a9b5407fa6177483ad2daf418ca53f78']
Remove obsolete Symfony feature detections (#10425)
[{'old_path': 'src/Composer/IO/ConsoleIO.php', 'new_path': 'src/Composer/IO/ConsoleIO.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -97,7 +97,7 @@ public function isDecorated()\n */\n public function isVerbose()\n {\n- return $this->output->getVerbosity() >= OutputInterface::VERBOSITY_VERB...
PHP
7e50f37b87c2029c2a3ccc0416b09334d879f921
281
2022-01-04 11:15:33+01:00
-3,600
['36da81bec2b94370aa52d5302961fdf1190a9d97']
Remove some dead code and deprecate JsonFormatter, JsonFile::JSON_* constants, and TlsHelper
[{'old_path': 'src/Composer/Json/JsonFile.php', 'new_path': 'src/Composer/Json/JsonFile.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,9 +31,12 @@ class JsonFile\n const LAX_SCHEMA = 1;\n const STRICT_SCHEMA = 2;\n \n- const JSON_UNESCAPED_SLASHES = 64;\n- const JSON_PRETTY_PRINT = 128;\n- ...
PHP
4fdc8b8ee1c865bad293d360827a029c78f1f3fe
386
2022-01-04 11:22:13+01:00
-3,600
['7e50f37b87c2029c2a3ccc0416b09334d879f921']
dirname(__FILE__) no longer needed
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -208,7 +208,6 @@ public function dump(Config $config, InstalledRepositoryInterface $localRepo, Ro\n $filesystem->ensureDirectoryExists($target...
PHP
06e445ce02f8e0932a29a117fd74f9af93bb82f9
281
2022-01-04 11:55:36+01:00
-3,600
['4fdc8b8ee1c865bad293d360827a029c78f1f3fe']
Drop PHP <7.2 and HHVM support from autoload_real, individual autoload files are kept as is for BC
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -400,7 +400,7 @@ public static function autoload(\\$class)\n } elseif (file_exists($includeFilesFilePath)) {\n unlink($includeFile...
PHP
8486b38fefb31e53d2b6e8d7703c96f3e89e5cfa
397
2022-01-04 11:57:12+01:00
-3,600
['99aeba541ad3d57c93adca20dc0be3cf594c379b']
Update plugins.md API version (#10427) Fixing the API version, as changed in https://github.com/composer/composer/commit/1b5b5c48bf91f256745740b6b60e460180213d7d
[{'old_path': 'doc/articles/plugins.md', 'new_path': 'doc/articles/plugins.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -39,7 +39,7 @@ requirements:\n The required version of the `composer-plugin-api` follows the same [rules][7]\n as a normal package's rules.\n \n-The current Composer plugin API version is `2...
PHP
fa65804c994cd6218f4ce4ec8e2d8a4ca6d097db
281
2022-01-04 14:55:56+01:00
-3,600
['8486b38fefb31e53d2b6e8d7703c96f3e89e5cfa']
Fix support for .jar binaries, fixes #10426
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -158,6 +158,10 @@ public static function determineBinaryCaller($bin)\n return trim($match[1]);\n }\n \n+ if (substr($bin, -4)...
PHP
711f436b2431ebf2845ee89a556ffde619212405
281
2022-01-04 16:31:45+01:00
-3,600
['99fa6116f933710887fb44618b361e08708fdad9']
Use finally to restore error handler after command runs
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -338,8 +338,6 @@ function_exists('php_uname') ? php_uname('s') . ' / ' . php_uname('r') : 'Unknow\n $io->writeError('<info>Memory usage: '.round(mem...
PHP
06bb3c91797b10474bf4ef403f5f9e855c5e7cae
281
2022-01-04 17:34:27+01:00
-3,600
['711f436b2431ebf2845ee89a556ffde619212405']
Add links to repo to show/outdated commands package lists, fixes #9367
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -326,6 +326,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n \n // list packages\n+ /** @var array<strin...
PHP
f9d61c0665f7a3ca17d4abedb1bcef3bb58fadc5
281
2022-01-05 14:39:08+01:00
-3,600
['06bb3c91797b10474bf4ef403f5f9e855c5e7cae']
Add links to repo to fund/licenses/search commands and add links to docs to config command
[{'old_path': 'src/Composer/Command/ConfigCommand.php', 'new_path': 'src/Composer/Command/ConfigCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -904,10 +904,19 @@ protected function listConfiguration(array $contents, array $rawContents, Output\n if ($showSource) {\n $source =...
PHP
ef2b52ee5bd7d080929e451890c8cd14d9c407da
281
2022-01-05 14:43:30+01:00
-3,600
['711f436b2431ebf2845ee89a556ffde619212405']
Make the package name bold in plugin activation warnings
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -705,7 +705,7 @@ private function isPluginAllowed($package, $isGlobalPlugin)\n \n $this->io->writeError(\'<warning>\'.$package.($isGlobalPlugin ? ...
PHP
cb41ad1d4ba9b4702a109bd014c1d51cf5ad18ed
281
2022-01-05 16:49:36+01:00
-3,600
['c2cdc3eb71711227438b3b264b2caf89c596c786']
Ensure process timeouts are checked also for async processes
[{'old_path': 'src/Composer/Util/ProcessExecutor.php', 'new_path': 'src/Composer/Util/ProcessExecutor.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -321,6 +321,8 @@ public function countActiveJobs($index = null)\n if (!$job['process']->isRunning()) {\n call_user_func($job['...
PHP
5f0a3f49ed9503e4d8327fb81abb5cd3567ddfbd
281
2022-01-05 16:54:32+01:00
-3,600
['efa08e7791927e081f4fa5cc7a6fa661e8f5a84e']
Allow xdebug-handler 3.x, update deps
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -27,7 +27,7 @@\n "composer/metadata-minifier": "^1.0",\n "composer/semver": "^3.0",\n "composer/spdx-licenses": "^1.2",\n- "composer/xdebug-handler": "^2.0",\n+ "composer/x...
PHP
5e4a8a882dc70398c3c53e7b3aabd16790c9e198
281
2022-01-06 13:56:12+01:00
-3,600
['9d6cf5835b882d7ecbf0f8c7bd3f3b076edf03b1']
Allow ProcessExecutor to receive commands as arrays, refs #6552 (#10435)
[{'old_path': 'phpstan/baseline-8.1.neon', 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,8875 +1,402 @@\n parameters:\n \tignoreErrors:\n \t\t-\n-\t\t\tmessage: "#^Argument of an invalid type array\\\\<string\\\\>\\\\|string supplied for foreach, only iterables are suppor...
PHP
9360e2c18a07a0e002999ff49fd92b0e9be98a5e
242
2022-01-06 15:06:38+01:00
0
['cb41ad1d4ba9b4702a109bd014c1d51cf5ad18ed']
GitLab: detect repository functionality disabled in Driver (#10440)
[{'old_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitLabDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -504,6 +504,11 @@ protected function getContents($url, $fetchingRepoData = false)\n \n // force auth as the unauthenticated version ...
PHP
65c8daa969309e5d9f526f28427bff4b77e417bf
281
2022-01-07 09:17:46+01:00
-3,600
['9360e2c18a07a0e002999ff49fd92b0e9be98a5e']
Workaround PHP bug with env vars not being read correctly on Windows, fixes #10434 refs https://github.com/php/php-src/issues/7896
[{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -65,6 +65,12 @@ if (function_exists('ini_set')) {\n unset($memoryLimit);\n }\n \n+// Workaround PHP bug on Windows where env vars containing Unicode chars are mangled in $_SERVER\n+// see https://github.com/p...
PHP
0b436de794123e15d037dc15e3777a19b4a2017a
281
2022-01-07 09:29:35+01:00
-3,600
['508ac051eced468dc3a37a9da5e54351bcb1d8f4']
Fix last bit phpstan error
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -633,7 +633,7 @@ protected function extractDevPackages(LockTransaction $lockTransaction, Platform\n $ghe = new GithubActionError($this->io);\n $ghe->emit($err."...
PHP
641ad10a9f32cd5a9b10d54c39ddd358986dc3e6
281
2022-01-07 13:46:58+01:00
-3,600
['64d39a9655462a8fcabaa15a431674b41100e127']
Fix partial update where path repos are being auto-unlocked two levels deep not loading all packages properly, fixes #10431
[{'old_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'new_path': 'src/Composer/DependencyResolver/PoolBuilder.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -459,6 +459,10 @@ private function loadPackage(Request $request, array $repositories, BasePackage\n }\n ...
PHP
9305dea128a751b42287577e8314c462c8dca0e2
281
2022-01-07 13:50:03+01:00
-3,600
['641ad10a9f32cd5a9b10d54c39ddd358986dc3e6']
Only run getenv workaround on PHP 7.1.13+
[{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -67,7 +67,7 @@ if (function_exists('ini_set')) {\n \n // Workaround PHP bug on Windows where env vars containing Unicode chars are mangled in $_SERVER\n // see https://github.com/php/php-src/issues/7896\n-if (Pla...
PHP
d9619985dbabb58255fb27cf78fe702345d31793
281
2022-01-07 13:57:17+01:00
-3,600
['9305dea128a751b42287577e8314c462c8dca0e2']
Workaround PHP bug properly as getenv() without arg also returns mangled values, fixes #10434
[{'old_path': 'bin/composer', 'new_path': 'bin/composer', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -68,7 +68,11 @@ if (function_exists('ini_set')) {\n // Workaround PHP bug on Windows where env vars containing Unicode chars are mangled in $_SERVER\n // see https://github.com/php/php-src/issues/7896\n if (PHP_V...
PHP
6dea58c9f39a1af3dbee8d014cf042aaf5661d25
281
2022-01-07 14:28:53+01:00
-3,600
['d9619985dbabb58255fb27cf78fe702345d31793']
Add support for sourcing binaries despite the bin proxy being present Fixes https://github.com/composer/composer/issues/10389#issuecomment-1007372740
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -397,9 +397,16 @@ public function url_stat(\\$path, \\$flags)\n return <<<PROXY\n #!/usr/bin/env sh\n \n-self=\\$(realpath \\$0 2> /dev/null)\n+...
PHP
24b62a10024f80c83be877e20421d0593b900ba9
281
2022-01-07 15:04:02+01:00
-3,600
['6dea58c9f39a1af3dbee8d014cf042aaf5661d25']
Add support for sourcing binaries despite the bin proxy being present, take 2
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -422,6 +422,15 @@ public function url_stat(\\$path, \\$flags)\n \n export COMPOSER_BIN_DIR=\\$(cd "\\${self%[/\\\\\\\\]*}" > /dev/null; pwd)\n \n+# If b...
PHP
93d4c8e5315625983329380d049360622e3f57a9
237
2022-01-08 12:03:54+01:00
28,800
['24b62a10024f80c83be877e20421d0593b900ba9']
Fix #10366: Improve messaging when GitHub tokens need SSO authorization (#10432)
[{'old_path': 'src/Composer/Util/AuthHelper.php', 'new_path': 'src/Composer/Util/AuthHelper.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -92,6 +92,23 @@ public function promptAuthIfNeeded($url, $origin, $statusCode, $reason = null, $\n $message = "\\n";\n \n $rateLimited = $gitHubUtil...
PHP
b9c368a9c3146a9b4b7b387bbd4fba4c80b8e3b7
305
2022-01-10 20:58:42+01:00
-3,600
['49541ce3fb1c72af5c852c5c5c60d1fe3e710e8d']
Use new url for semver testing tool (#10449) semver.mwl.be returns a permanent redirect to semver.madewithlove.com
[{'old_path': 'doc/articles/versions.md', 'new_path': 'doc/articles/versions.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -242,7 +242,7 @@ section of the [schema page](../04-schema.md#minimum-stability).\n \n ## Testing Version Constraints\n \n-You can test version constraints using [semver.mwl.be](https://se...
PHP
4a4571897f58cb0861ef1683c4479aa83f476232
469
2022-01-13 13:01:32+01:00
-3,600
['b9c368a9c3146a9b4b7b387bbd4fba4c80b8e3b7']
Allow psr/log ^3.0 (#10454) Same as in https://github.com/composer/composer/pull/10158
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -29,7 +29,7 @@\n "composer/spdx-licenses": "^1.2",\n "composer/xdebug-handler": "^2 || ^3.0.1",\n "justinrainbow/json-schema": "^5.2.11",\n- "psr/log": "^1.0 || ^2.0",\n+ "...
PHP
96332161feb920e56280ac99af5d548dc3e25b51
28
2022-01-13 16:00:10+01:00
-3,600
['4a4571897f58cb0861ef1683c4479aa83f476232']
Fix simple typo and slightly reword phrase. (#10456)
[{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -942,8 +942,8 @@ It can be boolean or a package name/URL pointing to a recommended alternative.\n Examples:\n \n Use `"abandoned": true` to indicate this package is abandoned.\n-Use `"abandoned": "monolog...
PHP
cd34886e9d9a4c7391762877200c503dbaa6aaee
408
2022-01-17 15:18:33+01:00
-3,600
['96332161feb920e56280ac99af5d548dc3e25b51']
Update to PHPStan 1.4 (#10459)
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,7 +41,7 @@\n },\n "require-dev": {\n "symfony/phpunit-bridge": "^6.0",\n- "phpstan/phpstan": "^1.3.3",\n+ "phpstan/phpstan": "^1.4.0",\n "phpstan/phpstan-phpunit": "^1....
PHP
6a70161c0175ce178a5abd9edea891ab03298e03
398
2022-01-17 15:28:07+01:00
-3,600
['6de9cacfd874c4d6112aa7b52ba686503bdbf6b4']
Disable "composer/package-versions-deprecated" by default (#10458)
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -699,6 +699,10 @@ private function isPluginAllowed($package, $isGlobalPlugin)\n }\n }\n \n+ if ($package === 'composer/package-versions...
PHP