Closed Cluster2a closed 1 year ago
PHP version: x.y.z (hint: php --version) php: 8.1.13 compsoer: 2.5.2
php --version
Description After updating php-http/discovery to the latest version, running composer update results in an endless loop.
php-http/discovery
composer update
How to reproduce
{ "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "optimize-autoloader": true, "classmap-authoritative": true, "require": { "php": "^8.1", "carlos-meneses/laravel-mpdf": "^2.1.11", "commerceguys/addressing": "^v1.4.1", "doctrine/dbal": "^3.5.1", "genphrase/genphrase": "^v1.2.1", "guzzlehttp/guzzle": "^7.5.0", "intervention/image": "^2.7.2", "johngrogg/ics-parser": "^v3.2.0", "juanparati/sendinblue": "9.1", "kirschbaum-development/eloquent-power-joins": "^2.6.4", "laravel/cashier": "^v14.3.1", "laravel/framework": "^v9.39.0", "laravel/octane": "^v1.3.7", "laravel/sanctum": "^v3.0.1", "league/flysystem": "^3.10.2", "league/flysystem-aws-s3-v3": "^3.10.0", "maatwebsite/excel": "^3.1.44", "mpdf/mpdf": "^8.1", "owen-it/laravel-auditing": "^v13.0.5", "psr/http-factory-implementation": "*", "sabre/vobject": "^4.5.1", "sentry/sentry-laravel": "^3.1.0", "simplesoftwareio/simple-qrcode": "^4.2.0", "spatie/icalendar-generator": "^2.5.1" }, "require-dev": { "amirami/localizator": "^v0.11.1-alpha", "brianium/paratest": "^6.7", "fakerphp/faker": "^v1.20.0", "friendsofphp/php-cs-fixer": "^v3.13.0", "itsgoingd/clockwork": "^v5.1.11", "laravel/tinker": "^v2.7.2", "mockery/mockery": "^1.5.1", "nunomaduro/collision": "^v6.3.1", "phpstan/phpstan": "^1.9.2", "phpunit/phpunit": "^9.5.26", "spatie/laravel-ignition": "^1.6.1", "squizlabs/php_codesniffer": "^3.7.1", "vimeo/psalm": "^5.4.0" }, "autoload": { "psr-4": { "App\\": "app/", "Database\\Factories\\": "database/factories/", "Database\\Seeders\\": "database/seeders/" }, "files": [] }, "autoload-dev": { "psr-4": { "Tests\\": "tests/" } }, "scripts": { "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi" ], "post-update-cmd": [ "@php artisan vendor:publish --tag=laravel-assets --ansi" ], "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" ] }, "extra": { "laravel": { "dont-discover": [] } }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true, "allow-plugins": { "php-http/discovery": true } }, "minimum-stability": "dev", "prefer-stable": true }
Possible Solution A current workaround is to disallow php-http/discovery:
"allow-plugins": { "php-http/discovery": false }
Duplicate of #211 - sorry.
PHP version: x.y.z (hint:
php --version
) php: 8.1.13 compsoer: 2.5.2Description After updating
php-http/discovery
to the latest version, runningcomposer update
results in an endless loop.How to reproduce
Possible Solution A current workaround is to disallow
php-http/discovery
: