Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
779f3ab923dcace26f5b0167ff430b2f8f0649b0
281
2022-05-13 14:10:59+02:00
-7,200
['72f4e9ba63238946cd8053d9633335a0e0787157']
Add a couple missing --format completions
[{'old_path': 'src/Composer/Command/LicensesCommand.php', 'new_path': 'src/Composer/Command/LicensesCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,6 +12,7 @@\n \n namespace Composer\\Command;\n \n+use Composer\\Console\\Input\\InputOption;\n use Composer\\Json\\JsonFile;\n use Composer\\Package\\Co...
PHP
1c6ba6af4746d425213568e367af686b60df05b3
28
2022-05-13 14:37:32+02:00
-7,200
['766943c76733411f177cef6464d950cf1240a784']
Minor rewording from autoloader to bin directory (#10776)
[{'old_path': 'doc/articles/vendor-binaries.md', 'new_path': 'doc/articles/vendor-binaries.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -97,7 +97,7 @@ gets installed with a Composer version supporting the feature.\n \n As of Composer 2.2.2, a new `$_composer_bin_dir` global variable\n is defined by the bin pr...
PHP
176d25851d1f99345c652a6ecbc7c3787071218d
281
2022-05-13 15:55:51+02:00
-7,200
['1c6ba6af4746d425213568e367af686b60df05b3']
Fix docs quoting, fixes #10778
[{'old_path': 'doc/articles/aliases.md', 'new_path': 'doc/articles/aliases.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -92,7 +92,7 @@ Add this to your project\'s root `composer.json`:\n Or let Composer add it for you with:\n \n ```\n-php composer.phar require monolog/monolog:"dev-bugfix as 1.0.x-dev"\n+php c...
PHP
76813a9cd0704278ec38e28fa8d1d9ea78e685b3
242
2022-05-13 15:58:25+02:00
-3,600
['8c7ab194c6a7c47ff5455376234a870b1d62e815']
CurlDownloader: detect max file size for gziped responses with missing content-length header (#10771)
[{'old_path': 'src/Composer/Util/Http/CurlDownloader.php', 'new_path': 'src/Composer/Util/Http/CurlDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -17,6 +17,7 @@\n use Composer\\IO\\IOInterface;\n use Composer\\Downloader\\TransportException;\n use Composer\\Pcre\\Preg;\n+use Composer\\Util\\Platform...
PHP
e496b1362fe559e8a3ee95ab2a7431caeb821457
242
2022-05-20 13:15:59+02:00
-3,600
['76813a9cd0704278ec38e28fa8d1d9ea78e685b3']
GitHub: add support for files >1MB to getFileContent (#10785)
[{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -295,6 +295,13 @@ public function getFileContent(string $file, string $identifier): ?string\n \n $resource = $this->getApiUrl() . '/repos/'....
PHP
44a52e4157eb3a8c529204d6799ae7e0909d4de0
281
2022-05-24 14:32:18+02:00
-7,200
['2837585e47d4192fa3931aa09e9810bdab6487db']
Fix backtracking in name validation regex
[{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@\n "name": {\n "type": "string",\n "description": "Package name, including \'vendor-name/\' prefix.",\n- "pattern": "^[a-z0-9]([_.-]?...
PHP
865886e5c5d8d0fe1877da967ae6c087993c0a26
281
2022-05-24 17:35:50+02:00
-7,200
['d70b58089960991978058669c2a581afc026af53']
Always show deprecation notices even if silenced
[{'old_path': 'src/Composer/Util/ErrorHandler.php', 'new_path': 'src/Composer/Util/ErrorHandler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,8 +38,10 @@ class ErrorHandler\n */\n public static function handle(int $level, string $message, string $file, int $line): bool\n {\n+ $isDeprec...
PHP
b2006fbe9c31821edd6b169f5b72ed60bfceab6e
381
2022-05-24 21:12:10+02:00
-16,200
['176d25851d1f99345c652a6ecbc7c3787071218d']
replace 'for' loop with 'str_repeat' function (#10788)
[{'old_path': 'src/Composer/Json/JsonFormatter.php', 'new_path': 'src/Composer/Json/JsonFormatter.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -108,9 +108,7 @@ public static function format(string $json, bool $unescapeUnicode, bool $unescap\n // If this character is the end of an element,...
PHP
654ecc759a021d27c011519d74483b0ed5ba095c
281
2022-05-24 21:21:47+02:00
-7,200
['d131be009dea0c08d136493b1db1af807486db10']
Check that symlink function exists before using it in path repo, fixes #10786
[{'old_path': 'src/Composer/Downloader/PathDownloader.php', 'new_path': 'src/Composer/Downloader/PathDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -279,6 +279,15 @@ private function computeAllowedStrategies(array $transportOptions)\n $allowedStrategies = array(self::STRATEGY_MIRROR);\n ...
PHP
88e1f0f9b58e677a85ac2661f632926a439ee7e8
281
2022-05-24 21:32:36+02:00
-7,200
['865886e5c5d8d0fe1877da967ae6c087993c0a26']
Make sure repos are always initialized with a repo manager if possible, and make sure async is always enabled on the process executor, fixes #10783 (#10799)
[{'old_path': 'src/Composer/Command/ArchiveCommand.php', 'new_path': 'src/Composer/Command/ArchiveCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -159,7 +159,7 @@ protected function selectPackage(IOInterface $io, string $packageName, ?string $\n $localRepo = $composer->getRepositoryManager()...
PHP
10d3895f187b0be4346781eac5788e15753b2d7c
281
2022-05-24 22:14:17+02:00
-7,200
['25542aca7095edfb47467c0bf3f1e9f8c2707dbc']
Ensure that dotfiles can be excluded, fixes #8866
[{'old_path': 'tests/Composer/Test/Package/Archiver/ArchivableFilesFinderTest.php', 'new_path': 'tests/Composer/Test/Package/Archiver/ArchivableFilesFinderTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -43,6 +43,7 @@ protected function setUp()\n );\n \n $fileTree = array(\n+ '.f...
PHP
556450b15b6c47c55ffa46bd9048b410d56c3983
281
2022-05-27 14:51:46+02:00
-7,200
['d971f2e37ecd89f0210f7d8cd5cc50435dc21328']
Allow using temporary update constraints on all packages (incl non-root), fixes #10436 (#10773)
[{'old_path': 'src/Composer/Command/UpdateCommand.php', 'new_path': 'src/Composer/Command/UpdateCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,6 +21,7 @@\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n use Composer\\Package\\Version\\VersionParser;\n+use Composer\\Semv...
PHP
955194f8969bdbf110475f3eda604f869d059133
309
2022-05-31 13:24:38+02:00
-7,200
['5d353716d3baa636e48021e2c208a24265c3caff']
docs: Fix inconsist semver operator suggestion (#10810) Using caret over tilde is better since it behaves the same as in npm: https://jubianchi.github.io/semver-check/#/constraint/~3.0 But when this change was introduced in https://github.com/composer/composer/pull/5396, it was not complete.
[{'old_path': 'doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md', 'new_path': 'doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,7 +12,7 @@ The only good alternative is to define an upper bound on your constraints,\n which you can increase in a ...
PHP
313142c6cd64ac5d7d37aaa327ee244068512b03
43
2022-06-01 21:06:22+02:00
-7,200
['955194f8969bdbf110475f3eda604f869d059133']
Escape forward slash in `properties.name`
[{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@\n "name": {\n "type": "string",\n "description": "Package name, including \'vendor-name/\' prefix.",\n- "pattern": "^[a-z0-9]([_.-]?...
PHP
70a7b592e994cc8c042e3c869af34ff1e72db777
53
2022-06-01 21:23:07+02:00
-7,200
['313142c6cd64ac5d7d37aaa327ee244068512b03']
Fix JSON schema regex pattern (#10811)
[{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@\n "name": {\n "type": "string",\n "description": "Package name, including \'vendor-name/\' prefix.",\n- "pattern": "^[a-z0-9]([_.-]?...
PHP
3ead6c01197da9ec0793a9d7669cae8e2befdb8b
281
2022-06-01 21:32:29+02:00
-7,200
['70a7b592e994cc8c042e3c869af34ff1e72db777']
Backport schema fixes for gitlab-token, fixes #10800
[{'old_path': 'res/composer-schema.json', 'new_path': 'res/composer-schema.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -349,7 +349,18 @@\n "type": "object",\n "description": "An object of domain name => gitlab private tokens, typically {\\"gitlab.com\\":\\"<token>\\"...
PHP
6f0ac07ebe25c4aa0fb09a2ca8a4f00d431ab75e
281
2022-06-01 22:08:31+02:00
-7,200
['e2645a13b610e4fba85f0e43b6831d38c9924d31']
Include completion file for bash completion generation, refs #10320
[{'old_path': 'src/Composer/Compiler.php', 'new_path': 'src/Composer/Compiler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -120,7 +120,6 @@ public function compile(string $pharFile = 'composer.phar'): void\n ->ignoreVCS(true)\n ->notPath('/\\/(composer\\.(json|lock)|[A-Z]+\\.md|\\.git...
PHP
829fca0be17ee8b852db8f1c3c7c37ac47e78f54
281
2022-06-01 22:14:01+02:00
-7,200
['5888945c302b675c02435aee804d59bc9710236e']
Split direct/transitive dependencies in two groups in outdated command, fixes #10447 (#10779)
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,7 @@\n use Composer\\Composer;\n use Composer\\DependencyResolver\\DefaultPolicy;\n use Composer\\Filter\\PlatformRequirementFilter\\PlatformRequirementFi...
PHP
509c0fffbed65b41bfafc4717b6d784fbba1bf96
281
2022-06-02 21:08:42+02:00
-7,200
['f58b72a43be171faaf328f938b8af4faf499dc69']
Include phpstan rules file, closes #10813
[{'old_path': '.gitattributes', 'new_path': '.gitattributes', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,4 +15,5 @@\n .travis.yml export-ignore\n appveyor.yml export-ignore\n phpunit.xml.dist export-ignore\n-/phpstan/ export-ignore\n+/phpstan/* export-ignore\n+/phpstan/rules.neon -export-ignore\n\\ No newlin...
PHP
15f7d24e7edfb74927b3d9416be5802d3ea31178
281
2022-06-02 21:17:44+02:00
-7,200
['3ead6c01197da9ec0793a9d7669cae8e2befdb8b']
Parse openssl 3 versions cleaner
[{'old_path': 'src/Composer/Platform/Version.php', 'new_path': 'src/Composer/Platform/Version.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -32,11 +32,16 @@ public static function parseOpenssl($opensslVersion, &$isFips)\n return null;\n }\n \n+ // OpenSSL 1 used 1.2.3a style version...
PHP
3b204cb6f27e75e3fd0e7e5672fa4b2c86181d6d
346
2022-06-02 21:38:39+02:00
-7,200
['509c0fffbed65b41bfafc4717b6d784fbba1bf96']
Specify optional array keys in `ConfigReturnTypeExtension`
[{'old_path': 'src/Composer/PHPStan/ConfigReturnTypeExtension.php', 'new_path': 'src/Composer/PHPStan/ConfigReturnTypeExtension.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -123,19 +123,23 @@ private function parseType(array $def, string $path): Type\n if (isset($def['properties'])) {...
PHP
1e9210f7b1fc66984a891ea58f13c8c5d2dff81d
219
2022-06-04 15:20:58+02:00
-7,200
['15f7d24e7edfb74927b3d9416be5802d3ea31178']
Fix TypeError when a JSON file can not be read (#10818)
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4365,11 +4365,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Json/JsonFile.php\n \n-\t\t-\n-\t\t\tmessage: "#^Parameter \\\\#1 \\\\$json of static method Composer\\\\\\\\Json\\...
PHP
a0b78962315d4fd225c7ca25d46354e3cd7dd161
122
2022-06-06 09:58:15+02:00
-36,000
['3b204cb6f27e75e3fd0e7e5672fa4b2c86181d6d']
Fix processing null config value in DiagnoseCommand Fixes #10814
[{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -76,13 +76,12 @@ class Config\n 'use-github-api' => true,\n 'lock' => true,\n 'platform-check' => 'php-only',\n- // valid keys without defaults (auth config st...
PHP
0fad6a07a11b2f25d66524785a949ae2669414fb
27
2022-06-06 10:18:22+02:00
-3,600
['829fca0be17ee8b852db8f1c3c7c37ac47e78f54']
Add Docker information (#9910)
[{'old_path': 'doc/00-intro.md', 'new_path': 'doc/00-intro.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -160,6 +160,29 @@ C:\\Users\\username>composer -V\n Composer version 2.0.12 2021-04-01 10:14:59\n ```\n \n+## Docker Image\n+\n+Composer is published as Docker container in a few places, see the list in the...
PHP
a76a1c9fc2ee786d81e1bd91c0773045ee20c362
281
2022-06-06 14:49:37+02:00
-7,200
['1e9210f7b1fc66984a891ea58f13c8c5d2dff81d']
Fix parsing of multi-line arrays in funding yml, fixes #10784
[{'old_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'new_path': 'src/Composer/Repository/Vcs/GitHubDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -234,6 +234,10 @@ private function getFundingInfo()\n foreach (Preg::split(\'{\\r?\\n}\', $funding) as $line) {\n $line = trim($...
PHP
e3527ea37f26cb357401b1d9c57cdc51a96972cd
281
2022-06-06 15:22:49+02:00
-7,200
['a76a1c9fc2ee786d81e1bd91c0773045ee20c362']
Detect broken symlinks when checking for a package's presence, fixes #6708
[{'old_path': 'src/Composer/Installer/LibraryInstaller.php', 'new_path': 'src/Composer/Installer/LibraryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -90,7 +90,19 @@ public function isInstalled(InstalledRepositoryInterface $repo, PackageInterface\n return true;\n }\n \n- r...
PHP
ab9e18027e643802be5c51e76e28d78d3cb0c90a
345
2022-06-06 16:42:24+02:00
-7,200
['cb76394800361edd7e27d90b401983b2311683bb']
plugins: mention static analysis support (#10812)
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,6 +63,11 @@\n "extra": {\n "branch-alias": {\n "dev-main": "2.3-dev"\n+ },\n+ "phpstan": {\n+ "includes": [\n+ "phpstan/rules.neon"\n+ ...
PHP
ab1de96fcbd53f00c97c73fe1415f640451bbbcb
281
2022-06-06 17:01:31+02:00
-7,200
['367012513daa8539de513898a65a75ef82d62009']
Do not verify rate limit OK as part of test as these might randomly fail
[{'old_path': 'tests/Composer/Test/Command/DiagnoseCommandTest.php', 'new_path': 'tests/Composer/Test/Command/DiagnoseCommandTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -32,8 +32,7 @@ public function testCmdFail(): void\n $this->assertStringContainsString('Checking git settings: OK\n Checking h...
PHP
7cf3b01631977eb40d041fb016ea7e26e0711184
336
2022-06-07 14:04:04+02:00
-7,200
['ab1de96fcbd53f00c97c73fe1415f640451bbbcb']
Added documentation about HTTP Bearer Auth (#10780) Bearer Auth has been added here: - https://github.com/composer/composer/commit/548505f103d4e55a4044bedcd17bd93eba2fe68b - https://github.com/composer/composer/commit/f964b8301837a49ee1a4cf77dbfb38d0c2c2a340 - #8671 - #8642 but it was not documented in this f...
[{'old_path': 'doc/articles/authentication-for-private-packages.md', 'new_path': 'doc/articles/authentication-for-private-packages.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,6 +18,7 @@ for credentials and save them (or a token if Composer is able to retrieve one).\n |---|---|\n |[http-basic](#http-basic...
PHP
e9b44b449945dd7ac614c759240bb25f0617a38d
281
2022-06-07 15:27:54+02:00
-7,200
['7cf3b01631977eb40d041fb016ea7e26e0711184']
Document files autoloading order, fixes #10509
[{'old_path': 'doc/04-schema.md', 'new_path': 'doc/04-schema.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -646,6 +646,17 @@ Example:\n }\n ```\n \n+Files autoload rules are included whenever `vendor/autoload.php` is included, right after\n+the autoloader is registered. The order of inclusion depends on packag...
PHP
203ec4b485e43f77a9aa8e5064e72d1c67f96543
281
2022-06-08 15:07:38+02:00
-7,200
['e9b44b449945dd7ac614c759240bb25f0617a38d']
Update baseline (1947, 103)
[{'old_path': 'phpstan/baseline-8.1.neon', 'new_path': 'phpstan/baseline-8.1.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -245,11 +245,6 @@ parameters:\n \t\t\tcount: 1\n \t\t\tpath: ../src/Composer/Util/Http/CurlDownloader.php\n \n-\t\t-\n-\t\t\tmessage: "#^Parameter \\\\#1 \\\\$string of function strtolow...
PHP
70f2dd6eddd5916f70b3d73dd3170a3d2d3a7681
281
2022-06-09 11:43:59+02:00
-7,200
['73fd0f22e860494f753bb38e848f7c54f07e9d6e']
Add bump command to bump requirements to the currently installed version, fixes #7273 (#10829)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -322,6 +322,24 @@ uninstalled.\n * **--apcu-autoloader-prefix:** Use a custom prefix for the APCu autoloader cache.\n Implicitly enables `--apcu-autoloader`.\n \n+## bump\n+\n+The `bump` command increases the...
PHP
0fd845eeaf776a705e78005bb4fa3f14f56e923d
281
2022-06-09 11:45:32+02:00
-7,200
['70f2dd6eddd5916f70b3d73dd3170a3d2d3a7681']
Add --major-only flag to outdated/show commands to restrict the list to packages with major updates available, fixes #10439 (#10827)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -508,8 +508,11 @@ php composer.phar show monolog/monolog 1.0.2\n * **--tree (-t):** List your dependencies as a tree. If you pass a package name it will show the dependency tree for that package.\n * **--latest...
PHP
6186d0c1d5d5d9c292c22de1ee615cf7bc3fb7ff
281
2022-06-09 11:46:00+02:00
-7,200
['0fd845eeaf776a705e78005bb4fa3f14f56e923d']
Add --gc flag to cache-cache command and ability to GC vcs/repo caches, fixes #7834 (#10826)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -926,6 +926,10 @@ performance.\n \n Deletes all content from Composer's cache directories.\n \n+### Options\n+\n+* **--gc:** Only run garbage collection, not a full cache clear\n+\n ## licenses\n \n Lists the n...
PHP
03fbcdbf0722149d0ccba68474d2c0838ccd1c8d
45
2022-06-10 21:56:11+02:00
14,400
['ba2ce37cd9c9db582d593d418f1729dc0e3d120d']
Fix exported path with space in binary installer proxy (#10836)
[{'old_path': 'src/Composer/Installer/BinaryInstaller.php', 'new_path': 'src/Composer/Installer/BinaryInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -437,7 +437,7 @@ public function url_stat(\\$path, \\$flags)\n esac\n fi\n \n-export COMPOSER_RUNTIME_BIN_DIR=\\$(cd "\\${self%[/\\\\\\\\]*}" > /dev...
PHP
3e844cc48fb8bdbbdd55a06b7a59312b0cafe764
72
2022-06-12 21:44:03+02:00
-19,800
['6186d0c1d5d5d9c292c22de1ee615cf7bc3fb7ff']
`composer bump` - Fix typo in the warning message (#10841) Change warning text 'Alternatively you can use --dev-only to only bump dependencies within "require-dev"' that said `--dev` instead of `--dev-only`.
[{'old_path': 'src/Composer/Command/BumpCommand.php', 'new_path': 'src/Composer/Command/BumpCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -126,7 +126,7 @@ protected function execute(InputInterface $input, OutputInterface $output)\n $contents = $composerJson->read();\n if (!isse...
PHP
7d4d941392cdcd2b4c843e59e70988b74f2c2209
281
2022-06-19 14:02:24+02:00
-7,200
['70f2dd6eddd5916f70b3d73dd3170a3d2d3a7681']
Make use of new composer/class-map-generator package and build up BC layer
[{'old_path': 'composer.json', 'new_path': 'composer.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,6 +24,7 @@\n "require": {\n "php": "^7.2.5 || ^8.0",\n "composer/ca-bundle": "^1.0",\n+ "composer/class-map-generator": "^1.0",\n "composer/metadata-minifier": "^1.0",\n ...
PHP
3a945ac70ff4014344707c3673489be5db066d19
281
2022-06-19 14:08:02+02:00
-7,200
['7d4d941392cdcd2b4c843e59e70988b74f2c2209']
Delete ClassMapGenerator tests which are not needed anymore
[{'old_path': 'tests/Composer/Test/Autoload/ClassMapGeneratorTest.php', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': '@@ -1,284 +0,0 @@\n-<?php declare(strict_types=1);\n-\n-/*\n- * This file is part of Composer.\n- *\n- * (c) Nils Adermann <naderman@naderman.de>\n- * Jordi Boggiano <j.boggiano@s...
PHP
e8530699c36a96e89d91439f61b1f24734501a1d
281
2022-06-20 13:57:20+02:00
-7,200
['c2046566fc942b29758bb5f5756cdd2b911d6a65']
Add --strict-psr flag to dump-autoload to fail the process if psr violations were detected, fixes #10241 (#10886)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -921,6 +921,8 @@ performance.\n * **--ignore-platform-req:** ignore a specific platform requirement (`php`, `hhvm`,\n `lib-*` and `ext-*`) and skip the [platform check](07-runtime.md#platform-check) for it.\n...
PHP
805b7f12f926d56b7f678194055c57e8b3250151
349
2022-06-21 21:16:04+02:00
-7,200
['e8530699c36a96e89d91439f61b1f24734501a1d']
No alias functions (#10864) Primary functions shall be used instead of aliases.
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -523,7 +523,7 @@ function ($part): string {\n explode('/', $packageName)\n );\n \n- return join('\\\\', $namespace);\n+ return imp...
PHP
4714fd5a7bb94d7118f370376b316e0efc7052c1
349
2022-06-21 21:17:47+02:00
-7,200
['805b7f12f926d56b7f678194055c57e8b3250151']
No useless return (#10877) There should not be an empty return statement at the end of a function.
[{'old_path': 'src/Composer/Command/RequireCommand.php', 'new_path': 'src/Composer/Command/RequireCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -470,7 +470,7 @@ private function updateFileCleanly(JsonFile $json, array $new, string $requireKe\n \n protected function interact(InputInterface $input, ...
PHP
279b51851840067c00a076e6e9f5b7687d09bedc
349
2022-06-21 21:19:09+02:00
-7,200
['4714fd5a7bb94d7118f370376b316e0efc7052c1']
No useless sprintf (#10878) There must be no sprintf calls with only the first argument.
[{'old_path': 'src/Composer/Repository/Vcs/HgDriver.php', 'new_path': 'src/Composer/Repository/Vcs/HgDriver.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -89,7 +89,7 @@ public function initialize(): void\n public function getRootIdentifier(): string\n {\n if (null === $this->rootIdentifier) {\...
PHP
b025971bb815acc7468444a836b82a21cacd1453
281
2022-06-22 08:17:18+02:00
-7,200
['279b51851840067c00a076e6e9f5b7687d09bedc']
Add missing strict type decl, closes #10863
[{'old_path': 'src/Composer/PHPStan/ConfigReturnTypeExtension.php', 'new_path': 'src/Composer/PHPStan/ConfigReturnTypeExtension.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,4 @@\n-<?php\n+<?php declare(strict_types=1);\n \n namespace Composer\\PHPStan;\n \n'}]
PHP
5c68c2c86d837682e29562ea5a87871b67a57b85
281
2022-06-22 08:50:55+02:00
-7,200
['14476ec2a633739fa192d16861a4847c153ccf55']
Fix case where branches cannot be listed in GitDownloader, fixes #10888
[{'old_path': 'src/Composer/Downloader/GitDownloader.php', 'new_path': 'src/Composer/Downloader/GitDownloader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -458,7 +458,7 @@ protected function updateToCommit(PackageInterface $package, $path, $reference,\n // check whether non-commitish are branches or ...
PHP
bad3eb2cd9578dd5000e822b3749c61110a2c2ab
281
2022-06-22 09:49:09+02:00
-7,200
['16ee2e479fd2ca3c5e17714eeaf91eaab67f032d']
Update deps, update baseline (1958, 103)
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1100,16 +1100,16 @@\n },\n {\n "name": "symfony/polyfill-ctype",\n- "version": "v1.25.0",\n+ "version": "v1.26.0",\n "source": {\n ...
PHP
567423e9f74dd7ce7d7e1a4a22837a652fbb3e97
23
2022-06-22 12:29:36+02:00
-7,200
['b025971bb815acc7468444a836b82a21cacd1453']
Removed blank line in missing extensions hint when having no php.ini loaded file (#10839)
[{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -113,10 +113,14 @@ private function createExtensionHint(array $missingExtensions): string\n {\n $paths = I...
PHP
81043c5691352d3a0eb291982be3d864f089bd5a
281
2022-06-22 13:05:35+02:00
-7,200
['567423e9f74dd7ce7d7e1a4a22837a652fbb3e97']
Add git version to diagnose command, and warn if <2.24, closes #10832
[{'old_path': 'src/Composer/Command/DiagnoseCommand.php', 'new_path': 'src/Composer/Command/DiagnoseCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,6 +21,7 @@\n use Composer\\Plugin\\CommandEvent;\n use Composer\\Plugin\\PluginEvents;\n use Composer\\Util\\ConfigValidator;\n+use Composer\\Util\\Git;...
PHP
5730c24c9258e05ca85035ca41170f806c43066e
281
2022-06-22 13:30:39+02:00
-7,200
['5c68c2c86d837682e29562ea5a87871b67a57b85']
Rethrow path repo init failures with path information, closes #10845
[{'old_path': 'src/Composer/Repository/PathRepository.php', 'new_path': 'src/Composer/Repository/PathRepository.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -213,7 +213,11 @@ protected function initialize()\n }\n }\n \n+ try {\n $this->addPackage($this->...
PHP
690ab5166a2a5ef6db7125ca8346970c9832590e
481
2022-06-22 13:40:35+02:00
-7,200
['5730c24c9258e05ca85035ca41170f806c43066e']
Ignoring passed arguments for @putenv, closes #10846
[{'old_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'new_path': 'src/Composer/EventDispatcher/EventDispatcher.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -243,7 +243,14 @@ protected function doDispatch(Event $event)\n }\n } else {\n $args...
PHP
bbcadcb35e4f036b8f992660de8089e298976627
523
2022-06-22 13:47:15+02:00
-7,200
['d132b9e6fd320523447f2e3cb74ced611e696cec']
Hint at improved merge conflict resolving (#10840)
[{'old_path': 'doc/articles/resolving-merge-conflicts.md', 'new_path': 'doc/articles/resolving-merge-conflicts.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -47,6 +47,12 @@ php composer.phar validate\n php composer.phar install [--dry-run]\n ```\n \n+## Automating merge conflict resolving with git\n+\n+Some im...
PHP
ef276d26d6c55b50cee73b98650ccfe6f85987f8
281
2022-06-22 14:02:22+02:00
-7,200
['b6278167816e259c1ba0ecd3773b59ffd2389cac']
Add upcoming fixes, refs #10871
[{'old_path': '.php-cs-fixer.php', 'new_path': '.php-cs-fixer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -65,6 +65,10 @@\n // TODO later once 2.2 is more stable\n // 'array_syntax' => true,\n // 'list_syntax' => true,\n+ // 'regular_callable_call' => true,\n+ // 'stati...
PHP
4131f7cf4c44f5dcefaea7ab5d09837084ec2962
349
2022-06-22 14:19:18+02:00
-7,200
['ef276d26d6c55b50cee73b98650ccfe6f85987f8']
Static lambda (#10854) Lambdas not (indirect) referencing $this must be declared static.
[{'old_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'new_path': 'src/Composer/Autoload/AutoloadGenerator.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -284,7 +284,7 @@ public function dump(Config $config, InstalledRepositoryInterface $localRepo, Ro\n $mainAutoload = $rootPackage->getAutoload(...
PHP
d17c724f2323d16a38c2cbd4cdbb271f0febb1f9
349
2022-06-22 14:20:08+02:00
-7,200
['4131f7cf4c44f5dcefaea7ab5d09837084ec2962']
Php unit dedicate assert (#10881) Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
[{'old_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'new_path': 'tests/Composer/Test/Autoload/AutoloadGeneratorTest.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1820,7 +1820,7 @@ public function testGeneratesPlatformCheck(array $requires, ?string $expectedFix\n $this->generator->...
PHP
d93239ddd9e6c18a2f7db3cdf94213dd892fa950
257
2022-06-22 15:15:01+02:00
-7,200
['d17c724f2323d16a38c2cbd4cdbb271f0febb1f9']
Add audit command to check for security issues (#10798) Closes #10329
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -109,6 +109,8 @@ resolution.\n * **--no-autoloader:** Skips autoloader generation.\n * **--no-progress:** Removes the progress display that can mess with some\n terminals or scripts which don\'t handle backsp...
PHP
611b215896bca622761c590d91b967afaff5c46c
281
2022-06-22 15:39:51+02:00
-7,200
['d93239ddd9e6c18a2f7db3cdf94213dd892fa950']
Fix PHPStan issues and a couple minor bugs in audit functionality, refs #10798
[{'old_path': 'src/Composer/Command/AuditCommand.php', 'new_path': 'src/Composer/Command/AuditCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -9,7 +9,7 @@\n use Composer\\Repository\\InstalledRepository;\n use Composer\\Repository\\RepositoryInterface;\n use Composer\\Util\\Auditor;\n-use Symfony\\Compo...
PHP
e3c46cb2b2b50bbd2480ddd145192e51fc700c27
281
2022-06-22 16:36:54+02:00
-7,200
['611b215896bca622761c590d91b967afaff5c46c']
Audit locked packages if update is called with --no-install, fixes #10894
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -388,19 +388,25 @@ public function run(): int\n }\n \n if ($this->audit) {\n+ if ($this->update && !$this->install) {\n+ $packages = $lockedRe...
PHP
658f56ff13717c864dc0a0634e3fcadedb20bbad
281
2022-06-23 12:31:09+02:00
-7,200
['e3c46cb2b2b50bbd2480ddd145192e51fc700c27']
Fix audit command to exit with amount of advisories matched
[{'old_path': 'src/Composer/Command/AuditCommand.php', 'new_path': 'src/Composer/Command/AuditCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -47,7 +47,8 @@ protected function execute(InputInterface $input, OutputInterface $output)\n }\n \n $auditor = new Auditor($httpDownloader);\n- ...
PHP
92ff8e5bc6b814efb9aa497034d0200242ffcc10
388
2022-06-23 12:59:45+02:00
-7,200
['658f56ff13717c864dc0a0634e3fcadedb20bbad']
Audit command doc improvements (#10893)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1004,7 +1004,7 @@ php composer.phar archive vendor/package 2.0.21 --format=zip\n ## audit\n \n This command is used to audit the packages you have installed\n-for possible security issues. Currently this only ...
PHP
a5fdc00de1d9040aaa1ad8e65391716167b3dd11
281
2022-06-23 13:39:39+02:00
-7,200
['690ab5166a2a5ef6db7125ca8346970c9832590e']
Remove duplicate function in RootPackageInterface, fixes #10895
[{'old_path': 'src/Composer/Package/RootPackageInterface.php', 'new_path': 'src/Composer/Package/RootPackageInterface.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -113,15 +113,6 @@ public function setProvides(array $provides);\n */\n public function setReplaces(array $replaces);\n \n- /**\n- ...
PHP
eba49147e78ed4b331e2de7fb8d612101f20e44f
281
2022-06-23 14:37:04+02:00
-7,200
['92ff8e5bc6b814efb9aa497034d0200242ffcc10']
Add warning when the latest version of a package cannot be auto-selected in require/init/create-project, fixes #10884 (#10896)
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -434,7 +434,7 @@ protected function installRootPackage(IOInterface $io, Config $config, string $p\n \n // find the latest version if there...
PHP
ddecd5e328c2643103e659c4aaa68904ed3d894a
281
2022-06-23 21:16:12+02:00
-7,200
['eba49147e78ed4b331e2de7fb8d612101f20e44f']
Add hint to why-not that calling update with a temporary constraint can also help elucidate an issue
[{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -127,6 +127,10 @@ protected function doExecute(InputInterface $input, OutputInterface $output, boo\n $this->printTable($output, $res...
PHP
6776cef441d19a87e527f00b5465c01d1c9c959f
242
2022-06-24 10:30:33+02:00
-3,600
['30a8b82b15677e37ad1b6f63f39e20c8289c31fd']
Fix: ValidatingArrayLoader [TypeError]: strcasecmp(): Argument #1() must be of type string, int given (#10897)
[{'old_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'new_path': 'src/Composer/Package/Loader/ValidatingArrayLoader.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -252,6 +252,7 @@ public function load(array $config, string $class = 'Composer\\Package\\CompletePa\n foreach (array_keys(...
PHP
8c9f82dc1eba5a79ae2be3324b9390357c0f46cf
281
2022-06-24 16:26:57+02:00
-7,200
['978037fbfad71ff9da87f3baaa86e350a62af175']
Move security advisory loading to repositories, allows others to provider them and reduces load on packagist.org for summary advisory reports
[{'old_path': 'phpstan/baseline.neon', 'new_path': 'phpstan/baseline.neon', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,13 +1,13 @@\n parameters:\n \tignoreErrors:\n \t\t-\n-\t\t\tmessage: "#^Binary operation \\"\\\\.\\" between non\\\\-empty\\\\-string and array\\\\|string\\\\|null results in an error\\\\.$#"...
PHP
0196690ab383eedfaaf268850cdfe1b2ce90efb2
281
2022-06-24 16:54:30+02:00
-7,200
['8c9f82dc1eba5a79ae2be3324b9390357c0f46cf']
Disable automatic audit at the end of install step to keep things fast, switch --no-audit to an opt-in --audit flag
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -109,7 +109,7 @@ resolution.\n * **--no-autoloader:** Skips autoloader generation.\n * **--no-progress:** Removes the progress display that can mess with some\n terminals or scripts which don\'t handle backsp...
PHP
d880ab68cf9567406457c209d93b5adc0099bdf2
379
2022-06-25 17:06:58+02:00
-3,600
['978037fbfad71ff9da87f3baaa86e350a62af175']
Allow use of --locked with depends and prohibits (#10834) * Allow use of --locked with depends and prohibits * Only include other repos if not --locked * Move logic to appease PHPStan * Load a PlatformRepository when reading lock file
[{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -58,12 +58,35 @@ protected function doExecute(InputInterface $input, OutputInterface $output, boo\n $commandEvent = new CommandEvent(Plu...
PHP
137ed529662ddee9e8ff58fd9407e08b680bf08a
7
2022-06-28 20:32:45+02:00
18,000
['f9db69ae1f861c7e54e4dad62f96600e59f8c18e']
chore: Included githubactions in the dependabot config (#10900) This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure. Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot GitHub actions up to date h...
[{'old_path': None, 'new_path': '.github/dependabot.yml', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,6 @@\n+version: 2\n+updates:\n+ - package-ecosystem: "github-actions"\n+ directory: "/"\n+ schedule:\n+ interval: "weekly"\n'}]
PHP
de9996d4c4851de71adc6f5c9eb16304c12d91c6
281
2022-06-30 14:28:16+02:00
-7,200
['137ed529662ddee9e8ff58fd9407e08b680bf08a']
Output exception class when audit fails
[{'old_path': 'src/Composer/Installer.php', 'new_path': 'src/Composer/Installer.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -406,7 +406,7 @@ public function run(): int\n } catch (TransportException $e) {\n $this->io->error('Failed to audit '.$target.' packages.');\n ...
PHP
efd426f8bb7b6759253d41a9000c3809f63034a8
281
2022-06-30 15:05:34+02:00
-7,200
['de9996d4c4851de71adc6f5c9eb16304c12d91c6']
Extract some common logic for filtering away dev requirements into a RepositoryUtils
[{'old_path': 'src/Composer/Command/AuditCommand.php', 'new_path': 'src/Composer/Command/AuditCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -4,11 +4,11 @@\n \n use Composer\\Composer;\n use Composer\\Repository\\RepositorySet;\n+use Composer\\Repository\\RepositoryUtils;\n use Symfony\\Component\\Cons...
PHP
1812862d5ed565f8748ec2e988f87258e25bc96d
281
2022-06-30 17:07:18+02:00
-7,200
['51db9e823c4c28d4b982f1a1048cf221a9657d56']
Update phpstan to latest, update baseline (1909, 103)
[{'old_path': 'composer.lock', 'new_path': 'composer.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -880,16 +880,16 @@\n },\n {\n "name": "symfony/console",\n- "version": "v5.4.9",\n+ "version": "v5.4.10",\n "source": {\n "type": "g...
PHP
424547bb704a1a245ec6a527f9756359d7abec68
123
2022-07-01 11:08:35+02:00
-7,200
['a5fdc00de1d9040aaa1ad8e65391716167b3dd11']
Correctly merge boolean flag of allow-plugin config (#10909)
[{'old_path': 'src/Composer/Config.php', 'new_path': 'src/Composer/Config.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -34,7 +34,7 @@ class Config\n public static $defaultConfig = array(\n 'process-timeout' => 300,\n 'use-include-path' => false,\n- 'allow-plugins' => null, // null ...
PHP
7ab4306c7837a8b0ee239b292bfd5503ec36b857
21
2022-07-01 11:15:29+02:00
-7,200
['f7e88099aff2a823de7e07a97a64b5ce04a6af24']
Fix TypeError (#10904) Fix string type requirement in case of NULL value: [TypeError] Composer\Command\InitCommand::parseAuthorString(): Argument...
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -342,7 +342,7 @@ function ($value) use ($author) {\n return;\n }\n $value = $value ?: $author;\n- ...
PHP
f1dd325e1475b351897ce8e865899a169a101285
21
2022-07-01 11:23:04+02:00
-7,200
['7ab4306c7837a8b0ee239b292bfd5503ec36b857']
Fix TypeError (#10904) Fix string type requirement in case of NULL value: [TypeError] Composer\Command\InitCommand::parseAuthorString(): Argument...
[]
PHP
7adcf9f14c744ff1b5c09f23a9169db13aa5eefb
21
2022-07-01 11:33:15+02:00
-7,200
['f1dd325e1475b351897ce8e865899a169a101285']
Fix TypeError (#10904) Fix string type requirement in case of NULL value: [TypeError] Composer\Command\InitCommand::parseAuthorString(): Argument...
[]
PHP
ac7a6e3326593c5a574e10aff3002a6e523ed982
281
2022-07-01 11:35:50+02:00
-7,200
['424547bb704a1a245ec6a527f9756359d7abec68']
Update docs, refs #10909
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,8 +26,7 @@ helper is available:\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 become `{}` a...
PHP
f8324e05246593dee2e79fbe93287d5be745185a
281
2022-07-01 11:50:26+02:00
-7,200
['143e42269ad08bdd71ed63e0058eb659daf7ef57']
Fix support for read-only caches where the filesystem is not writable (fixes #10906)
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,6 @@\n ### [2.2.15] 2022-07-01\n \n+ * Fixed support for read-only caches where the filesystem is not writable (#10906)\n * Fixed type error when using `allow-plugins: true` (#10909)\n * Fixed @puten...
PHP
c3bb27960b734a67f26ead8e7a69f537f03c3019
281
2022-07-01 11:55:43+02:00
-7,200
['f8324e05246593dee2e79fbe93287d5be745185a']
Fix other issues with readonly caches, refs #10906
[{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,6 @@\n ### [2.2.15] 2022-07-01\n \n- * Fixed support for read-only caches where the filesystem is not writable (#10906)\n+ * Fixed support for `cache-read-only` where the filesystem is not writable (#10...
PHP
92e1c26c3b9d14f84d5edf03f42054c9a6f0fe09
194
2022-07-05 15:44:30+02:00
-7,200
['f14b02b9c9531b31d8547d88f07d493d1730a74c']
Disallow plugins by throwing an exception if non-interactive to avoid half-broken runtime states (#10920) * Disallow plugins by throwing an exception if non-interactive to avoid half-broken runtime states, fixes #10912 * Also allow BC mode for lock files older than 2.2.0 to keep plugins working there * Allow locker ...
[{'old_path': 'doc/06-config.md', 'new_path': 'doc/06-config.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -52,7 +52,15 @@ and **false** to disallow while suppressing further warnings and prompts.\n }\n ```\n \n-You can also set the config option itself to `false` to disallow all plugins, or `true` to allow al...
PHP
3ebd66b85108e5da3585371aa1de66d8a611b019
49
2022-07-05 15:51:07+02:00
-10,800
['92e1c26c3b9d14f84d5edf03f42054c9a6f0fe09']
Fix deprecation notice (#10921) Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/bin/composer/src/Composer/Util/GitHub.php:103
[{'old_path': 'src/Composer/Util/GitHub.php', 'new_path': 'src/Composer/Util/GitHub.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -101,9 +101,9 @@ public function authorizeOAuthInteractively($originUrl, $message = null)\n $this->io->writeError(sprintf(\'Tokens will be stored in plain text in "%s" for ...
PHP
8304ea06953a9f5eb74f96d3a3cd90ea222e009a
281
2022-07-05 16:23:53+02:00
-7,200
['9a6d63f0f4f187df304fd60803b340c84211bc13']
Fix type error with null descriptions, fixes #10924
[{'old_path': 'src/Composer/Command/ShowCommand.php', 'new_path': 'src/Composer/Command/ShowCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1070,7 +1070,12 @@ protected function displayPackageTree(array $arrayTree): void\n foreach ($arrayTree as $package) {\n $io->write(sprintf(\'<i...
PHP
dcd7f2180d8ebf6cd1bbe23833188dedcd9ba7ec
281
2022-07-05 22:20:33+02:00
-7,200
['2759d8b545af3182f98f7571b1d3c0b6746f89ca']
Avoid checking for allowed plugins if plugins are disabled entirely, fixes #10925
[{'old_path': 'src/Composer/Installer/PluginInstaller.php', 'new_path': 'src/Composer/Installer/PluginInstaller.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -52,8 +52,8 @@ public function supports($packageType)\n */\n public function prepare($type, PackageInterface $package, PackageInterface $prevPa...
PHP
a73933e16715535f7fa8b8a4f3af24aac0203367
35
2022-07-10 17:03:38+02:00
25,200
['8536a2ca80ff55dd2a882e164ac82a0bef13ca73']
Update README.md (#10933) Minor change. Added a new line between sentence regarding Public and Private packages for slightly increased readability through spatial distinction.
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,7 +17,9 @@ For usage, see [the documentation](https://getcomposer.org/doc/).\n Packages\n --------\n \n-Find public packages on [Packagist.org](https://packagist.org). For private package hosting take a look at [Pr...
PHP
8323e85bc844466fc71a85782bbd0f6141aa2750
281
2022-07-12 13:24:21+02:00
-7,200
['dcd7f2180d8ebf6cd1bbe23833188dedcd9ba7ec']
Fix allow-plugins check to not check plugins which are anyway incompatible with the current Composer version, refs #10928
[{'old_path': 'src/Composer/Plugin/PluginManager.php', 'new_path': 'src/Composer/Plugin/PluginManager.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -165,11 +165,6 @@ public function registerPackage(PackageInterface $package, $failOnMissingClasses\n return;\n }\n \n- if (!$this->isPl...
PHP
75ef4903ef70d1e95028d0391b1f5ca8f3a4e1e1
281
2022-07-12 16:25:12+02:00
-7,200
['8323e85bc844466fc71a85782bbd0f6141aa2750']
Ensure plugins from CWD/vendor do not get loaded when running create-project, fixes #10935
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -403,7 +403,15 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n throw new \\InvalidArgumentExcept...
PHP
03cebc2490abb6b4907e53f09e3953344482aaa1
281
2022-07-12 20:56:23+02:00
-7,200
['cecdc0cbd121917cc38af90b24dccd420b9cfab9']
Clean up types with conditional return types
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -283,6 +283,7 @@ public static function createOutput(): ConsoleOutput\n * @throws \\InvalidArgumentException\n * @throws \\UnexpectedValueException\n * @return Composer|Part...
PHP
32a7ceac2f78359b3ce26ab7e734ab71ff41a4e4
281
2022-07-13 10:06:00+02:00
-7,200
['75ef4903ef70d1e95028d0391b1f5ca8f3a4e1e1']
Improve exception message when a package cannot be added in another repo, refs #10940
[{'old_path': 'src/Composer/Package/BasePackage.php', 'new_path': 'src/Composer/Package/BasePackage.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -135,7 +135,12 @@ public function getId()\n public function setRepository(RepositoryInterface $repository)\n {\n if ($this->repository && $repositor...
PHP
a481dfce3fc5312a2bee581d4df7f72ced52e84b
281
2022-07-13 10:35:32+02:00
-7,200
['f600ea46c76a7126eb1fac4c6c6013a965213e6c']
Fix disk_free_space being called even when not available, fixes #10936
[{'old_path': 'src/Composer/Cache.php', 'new_path': 'src/Composer/Cache.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -162,11 +162,11 @@ public function write($file, $contents)\n unlink($tempFileName);\n \n $message = sprintf(\n- '<warning>Writing...
PHP
55fe12bd657dcb81ae20817a4095d7bc59742606
281
2022-07-13 13:23:27+02:00
-7,200
['a481dfce3fc5312a2bee581d4df7f72ced52e84b']
Allow disabling only local or global plugins internally to fix #10935 without side-effects
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -403,15 +403,7 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n throw new \\InvalidArgumentExcept...
PHP
0e59fbb46eee2b89245dc347bfb4d6efbc6f2591
281
2022-07-13 14:13:02+02:00
-7,200
['37a788932d052bce9a0519bd124e05b3b61dba8f']
Fix #10935 in a more generic way which fixes the issue for all Factory::create usages
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -403,7 +403,7 @@ protected function installRootPackage(IOInterface $io, Config $config, $packageN\n throw new \\InvalidArgumentExcepti...
PHP
336a0d20c6cd2004b2374f88c30cd15bece7d0ba
281
2022-07-13 14:38:54+02:00
-7,200
['0e59fbb46eee2b89245dc347bfb4d6efbc6f2591']
Add hint in create-project when it fails due to a missing allow-plugins in project, refs #10928
[{'old_path': 'src/Composer/Command/CreateProjectCommand.php', 'new_path': 'src/Composer/Command/CreateProjectCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -26,6 +26,7 @@\n use Composer\\Package\\Version\\VersionSelector;\n use Composer\\Package\\AliasPackage;\n use Composer\\Pcre\\Preg;\n+use Compose...
PHP
b195f383f2474cb0ec68bead4467079bfd136f60
281
2022-07-13 15:10:15+02:00
-7,200
['336a0d20c6cd2004b2374f88c30cd15bece7d0ba']
Always clone root package before adding it to a RootPackageRepo to avoid issues with plugins, fixes #10940
[{'old_path': 'src/Composer/Command/BaseDependencyCommand.php', 'new_path': 'src/Composer/Command/BaseDependencyCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -59,7 +59,7 @@ protected function doExecute(InputInterface $input, OutputInterface $output, $in\n \n $platformOverrides = $composer->get...
PHP
93eb19e756aac57d134cb0350e42cbced2befc57
281
2022-07-17 10:22:07+02:00
-7,200
['c5ff1e1fc67f0f6cf4edd03f78600de81f643923']
For custom composer.json paths the default cwd should be that files directory, fixes ergebnis/composer-normalize#865, refs #10935
[{'old_path': 'src/Composer/Factory.php', 'new_path': 'src/Composer/Factory.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -303,6 +303,11 @@ public static function createOutput()\n */\n public function createComposer(IOInterface $io, $localConfig = null, $disablePlugins = false, $cwd = null, $fullLoad...
PHP
740af2bdb16ce9249da9b7266ee49e67b679f336
281
2022-07-17 10:29:56+02:00
-7,200
['93eb19e756aac57d134cb0350e42cbced2befc57']
Add warning if constraint appears too narrow, refs #10943
[{'old_path': 'src/Composer/Command/InitCommand.php', 'new_path': 'src/Composer/Command/InitCommand.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -530,6 +530,10 @@ final protected function determineRequirements(InputInterface $input, OutputInte\n $io = $this->getIO();\n \n foreach ($re...
PHP
8d5bdaf443ed924cf49a1981b5c566020d0d1beb
453
2022-07-17 13:02:12+02:00
14,400
['740af2bdb16ce9249da9b7266ee49e67b679f336']
Fixes #10938: Do not display duplicate ignore extension hints
[{'old_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'new_path': 'src/Composer/DependencyResolver/SolverProblemsException.php', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -119,7 +119,7 @@ private function createExtensionHint(array $missingExtensions)\n \n $ignoreExtensionsArgument...
PHP
31c7474cde1abe5bb5ea5bc9623c399797ba2f8e
281
2022-07-17 21:59:18+02:00
-7,200
['3595666e6eb840d9abb8a57530c91e1fe935c9a2']
Clarify that install path is absolute but not realpath'd, fixes #10945
[{'old_path': 'doc/07-runtime.md', 'new_path': 'doc/07-runtime.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -101,6 +101,10 @@ source/docblocks of [the class itself](https://github.com/composer/composer/blob\n \n The `getInstallPath` method to retrieve a package's absolute install path.\n \n+> **Note:** The pa...
PHP
8c488b9b08b8b43adf8c9c8c0fdf9216bbf14409
529
2022-07-18 13:04:49+02:00
-25,200
['31c7474cde1abe5bb5ea5bc9623c399797ba2f8e']
Add "r" alias for require (#10953) Co-authored-by: a.dmitryuk <a.dmitryuk@movavi.com>
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -226,7 +226,7 @@ and this feature is only available for your root package dependencies.\n \n Specifying one of the words `mirrors`, `lock`, or `nothing` as an argument has the same effect as specifying the opti...
PHP
41822237626d161ec10725747dac858d49c6c194
302
2022-07-20 21:06:14+02:00
25,200
['8c488b9b08b8b43adf8c9c8c0fdf9216bbf14409']
Remove -p from --patch-only, --platform took it (#10956)
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -520,7 +520,7 @@ php composer.phar show monolog/monolog 1.0.2\n * **--no-dev:** Filters dev dependencies from the package list.\n * **--major-only (-M):** Use with --latest or --outdated. Only shows packages th...
PHP
e43cae6231f2f9dc02f3f23b86c660bc4103c3df
281
2022-07-20 22:29:27+02:00
-7,200
['41822237626d161ec10725747dac858d49c6c194']
Add COMPOSER_PREFER_STABLE and COMPOSER_PREFER_LOWEST env vars, fixes #10919
[{'old_path': 'doc/03-cli.md', 'new_path': 'doc/03-cli.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -218,9 +218,11 @@ and this feature is only available for your root package dependencies.\n a `+` makes it only ignore the upper-bound of the requirements. For example, if a package\n requires `php: ^7`, the...
PHP
26e01abfae38da15959d92d66d9b4a3ae345ee0e
281
2022-07-20 22:31:59+02:00
-7,200
['e43cae6231f2f9dc02f3f23b86c660bc4103c3df']
Fix handling of .mdown files in phar compiler
[{'old_path': 'src/Composer/Compiler.php', 'new_path': 'src/Composer/Compiler.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -118,7 +118,7 @@ public function compile(string $pharFile = 'composer.phar'): void\n $finder = new Finder();\n $finder->files()\n ->ignoreVCS(true)\n- ...
PHP
07645b98952c995bf77020cb278d4e83426eccc3
281
2022-07-20 22:32:09+02:00
-7,200
['1a4f2174e45089f928afa73d91cb4670b06bb58c']
Capture signals and wait until child process exits to also exit, fixes #6059
[{'old_path': 'src/Composer/Console/Application.php', 'new_path': 'src/Composer/Console/Application.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -17,6 +17,7 @@\n use Composer\\Util\\Platform;\n use Composer\\Util\\Silencer;\n use LogicException;\n+use Seld\\Signal\\SignalHandler;\n use Symfony\\Component\\Co...
PHP
623f903d628be88b6cf0416471066dc5c64c9945
281
2022-07-20 22:47:27+02:00
-7,200
['8d5bdaf443ed924cf49a1981b5c566020d0d1beb']
Add support for +meta in hg version number, fixes #10955
[{'old_path': 'src/Composer/Util/Hg.php', 'new_path': 'src/Composer/Util/Hg.php', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -107,7 +107,7 @@ public static function getVersion(ProcessExecutor $process)\n {\n if (false === self::$version) {\n self::$version = null;\n- if (0 === ...
PHP