-
-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
Is your feature request related to a problem? Please describe.
~\Repos\starshop git:[master]
composer requre serializer
Command "requre" is not defined.
Do you want to run "require" instead? (yes/no) [no]:
> yes
Could not find package serializer.
Pick one of these or leave empty to abort:
[0] jms/serializer
[1] liip/serializer
[2] symfony/serializer
[3] jms/serializer-bundle
[4] zumba/json-serializer
>
Value "" is invalid
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit
] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-p
latform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]
Describe the solution you'd like
When I select:
Do you want to run "require" instead? (yes/no) [no]:
> yes
"require" should recognise the alias as it does when run normally. i.e.:
~\Repos\starshop git:[master]
composer require serializer
./composer.json has been updated
Running composer update symfony/serializer-pack
Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "7.2.*"
Updating dependencies
Lock file operations: 11 installs, 0 updates, 0 removals
- Locking doctrine/deprecations (1.1.5)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.6.2)
- Locking phpdocumentor/type-resolver (1.10.0)
- Locking phpstan/phpdoc-parser (2.1.0)
- Locking symfony/property-access (v7.2.7)
- Locking symfony/property-info (v7.2.5)
- Locking symfony/serializer (v7.2.7)
- Locking symfony/serializer-pack (v1.3.0)
- Locking symfony/type-info (v7.2.5)
- Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 11 installs, 0 updates, 0 removals
- Downloading phpstan/phpdoc-parser (2.1.0)
- Downloading phpdocumentor/reflection-common (2.2.0)
- Downloading doctrine/deprecations (1.1.5)
- Downloading phpdocumentor/type-resolver (1.10.0)
- Downloading symfony/serializer (v7.2.7)
- Downloading symfony/type-info (v7.2.5)
- Downloading symfony/property-info (v7.2.5)
- Downloading symfony/property-access (v7.2.7)
- Downloading webmozart/assert (1.11.0)
- Downloading phpdocumentor/reflection-docblock (5.6.2)
- Downloading symfony/serializer-pack (v1.3.0)
- Installing phpstan/phpdoc-parser (2.1.0): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing doctrine/deprecations (1.1.5): Extracting archive
- Installing phpdocumentor/type-resolver (1.10.0): Extracting archive
- Installing symfony/serializer (v7.2.7): Extracting archive
- Installing symfony/type-info (v7.2.5): Extracting archive
- Installing symfony/property-info (v7.2.5): Extracting archive
- Installing symfony/property-access (v7.2.7): Extracting archive
- Installing webmozart/assert (1.11.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.6.2): Extracting archive
- Installing symfony/serializer-pack (v1.3.0): Extracting archive
Generating autoload files
43 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Symfony operations: 1 recipe (4d2aac3bc887cdb6faf67be1d9612967)
- Configuring doctrine/deprecations (>=1.0): From github.com/symfony/recipes:main
Unpacking Symfony packs
- Unpacked symfony/serializer-pack
Loading composer repositories with package information
Pattern "php" listed for update matches platform packages, but these cannot be updated by Composer.
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 0 updates, 1 removal
- Removing symfony/serializer-pack (v1.3.0)
Generating autoload files
42 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Run composer recipes at any time to see the status of your Symfony recipes.
Executing script cache:clear [OK]
Executing script assets:install public [OK]
No security vulnerability advisories found.
What's next?
Some files have been created and/or updated to configure your new packages.
Please review, edit and commit them: these files are yours.
No security vulnerability advisories found.
Describe alternatives you've considered
If the user knows which package their alias refers to, they can easily install it with the current functionality.
This is only a problem for users who don't know which package their alias refers to.
Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels