Jordi Boggiano
eb9616a82b
Debug info improvements
4 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Andrés De la Cruz
480a6439fd
Fix phpstan phpdocs issues ( #9478 )
4 years ago
Jordi Boggiano
9e279740cd
Go go phpstan 🤞
4 years ago
Jordi Boggiano
742c2a9e93
Avoid swallowing exceptions
4 years ago
Jordi Boggiano
35b403b266
Make sure a version not found issue is reported as such for clarity, fixes #9500
4 years ago
Jordi Boggiano
f567fd69eb
List both unzip and zip ext presence in diagnose
4 years ago
Jordi Boggiano
e5a009ed80
Make sure empty objects are not left behind when removing requires/.. fixes #9462
4 years ago
Jordi Boggiano
6a2f9870a7
Warn when init is being used non-interactively without any args passed in, instead of silently overwriting the file
4 years ago
Jordi Boggiano
87006774b1
Avoid requiring a lock file to run composer remove, fixes #9439
4 years ago
Jordi Boggiano
f31564ef5b
Fix check-platform-reqs --no-dev to not require lock anymore
4 years ago
Jordi Boggiano
3f6899946b
Avoid using curl when it has been disabled, fixes #9423
4 years ago
Jordi Boggiano
6c31744c04
Disable full platform-check for extensions by default, now set to php-only, refs #9412
4 years ago
Jordi Boggiano
fc0d724938
Allow configuring gitlab deploy tokens via config command, refs #9373
4 years ago
Jordi Boggiano
e0e4d60166
Fix check-platform-reqs to be more clear about what is going on, and add a --lock flag to allow explicitly checking from lock
4 years ago
Jordi Boggiano
f2f3b03fec
Fix config/create-project handling of repositories to prepend them by default as this is most likely the goal, fixes #9371
4 years ago
Jordi Boggiano
ffc0f86fc0
Fix warnings in composer require to show when repo prio is at fault, refs #9371
4 years ago
Jordi Boggiano
34bdc6cbf2
Detect and hint for solutions for common curl errors, fixes #9376
4 years ago
johnstevenson
095d133d6b
Remove fulluri checks and tidy diagnose output
4 years ago
Jordi Boggiano
90a6aa7ec0
Make sure we compare packages to their latest without aliases, fixes #9357
4 years ago
Jordi Boggiano
5d4bcde454
Allow using --locked with the outdated command directly, fixes #8025
4 years ago
Nils Adermann
289972a177
Remove useless null check, follow up to #9345
4 years ago
Nils Adermann
cbcc3a3080
Remove trailing commas for function calls
4 years ago
Fabien Potencier
d5245387f3
Fix error message
4 years ago
Nils Adermann
b72dc7bb78
Clarify --lock option on update further
...
Specifically state packages do not get updated to new versions, only metadata is updated.
4 years ago
Jordi Boggiano
860a67b776
Update --lock docs, fixes #9315
4 years ago
Jordi Boggiano
4b8c2aa121
Fix default version to be semver parseable, fixes #9342
4 years ago
Helmut Hummel
d1dfd394c1
Correctly avoid partial updates in require commands
...
The installer does not support partial updates, when
no lock file is present. The check in require command
to prevent a partial update however does not check whether
a lock file is present, but whether a lock file should be written,
which most likely always is true.
This check is now changed to check if a lock file is actually present.
4 years ago
Jordi Boggiano
0d236858ec
Merge branch '1.10'
4 years ago
Jordi Boggiano
25496c199d
Update link to composer 2 release notes
4 years ago
Jordi Boggiano
49a28f606c
Merge branch '1.10'
4 years ago
terry.kern
0466add822
Also use channel string for update message
...
https://github.com/composer/composer/pull/9305#issuecomment-714381153
4 years ago
TerryKern
e68b52697b
Improve readability of version info message
...
Instead of:
> You are already using composer version 1.10.15 (1 channel).
it shows:
> You are already using composer version 1.10.15 (1.x channel).
4 years ago
Jordi Boggiano
14ec957e96
Fix composer show -a usage, fixes #9304
4 years ago
Jordi Boggiano
99a5469b5e
More hints
4 years ago
Jordi Boggiano
743d551399
Fix using show command to show platform packages, and allow using it to show replacers too by using the replaced name, fixes #7628
4 years ago
Jordi Boggiano
e7d99c37b3
Fix show --locked to avoid listing all the things
4 years ago
Jordi Boggiano
da1357c663
Avoid showing alias versions in show command, show the original version
4 years ago
Jordi Boggiano
34dd9e19e1
Add curl/zip ext info to diagnose command
4 years ago
Jordi Boggiano
9ca7457698
Check whether remove command successfully removed the target packages, fixes #6998
4 years ago
Jordi Boggiano
badd1f2146
Remove silly default values of false on Installer class, refs #9204
4 years ago
Jordi Boggiano
24abd233ec
Merge branch 'master' into code-improvements
4 years ago
Jordi Boggiano
0775e261c5
Merge remote-tracking branch 'lstrojny/apcu-prefix'
4 years ago
Jordi Boggiano
adeabdbd56
Merge branch '1.10'
4 years ago
Jordi Boggiano
bc1cb1636d
Remove dead code, fixes #9277
4 years ago
Jordi Boggiano
d204eb4814
Merge branch '1.10'
4 years ago
Jordi Boggiano
6bf136489f
Ignore the COMPOSER env var when executing global scope commands, fixes #9259
4 years ago
Jordi Boggiano
9c4b00be67
Add -w/-W to docs, refs #9257
4 years ago
Jordi Boggiano
de3de0697e
Merge pull request #9257 from flavioheleno/improv/short-with-deps
...
With-dependencies alias
4 years ago
Jordi Boggiano
03b8c3db3f
Merge branch '1.10'
4 years ago
Grégoire Pineau
bfb4abfb56
Fixed description of StatusCommand: It do list all changes in vendor, not only for "source" ones
...
I tested it, and even with "dist" packages, the status command is able to find modified vendor
(And that's amazing, thanks)
4 years ago
Flavio Heleno
9d544d98b3
Added short flags for 'with-dependencies' and 'with-all-dependencies'
4 years ago
Simon Berger
80d71ccb3f
Merged isset, unset and str_replace calls
4 years ago
Jordi Boggiano
d6b39b4c55
Fix syntax error & improve handling
4 years ago
Christophe Coevoet
bcd8a73e8c
Fix support for running diagnose without openssl
...
The diagnose command already warns when openssl is not available. But the command was failing later when displaying the Openssl version.
4 years ago
Michael Telgmann
a4509d28e7
Introduce constants for Composer\Package\Link types
4 years ago
Simon Berger
974e7ba296
Removed unneccesary elseifs
4 years ago
Simon Berger
80a75e9959
Minor code improvements
4 years ago
Simon Berger
a6475a7118
Removed unused variables, properties and parameters of private functions
4 years ago
Simon Berger
002fd39bc6
Removed passing of parameters with default value
4 years ago
Simon Berger
6b3b51e299
Fixed $this usage on static functions
4 years ago
Lars Strojny
696f27ca83
Enable APCu if prefix is set
4 years ago
Lars Strojny
6899060f6e
Remove superfluous use
4 years ago
Lars Strojny
7db8b33a9e
Restore
4 years ago
Lars Strojny
0b6abf3b96
APCu prefix as a separate option
4 years ago
Lars Strojny
dafd225a35
Allow to pass a string for apcu-autoloader to set the APCu prefix
4 years ago
Jordi Boggiano
57b4016f8a
Show default value instead of optional, refs #9181
4 years ago
Jordi Boggiano
5555b04cea
Merge pull request #9181 from shrink/feature/create-project-package-prompt
...
✨ Ask for target directory when using `create-project`
4 years ago
Simon Berger
bae227ec2d
Changed all substr calls used to compare fragments of text to strpos
...
Some additional code cleanups in those classes
Reverted change causing issues
4 years ago
Jordi Boggiano
943c7a6433
Merge pull request #9165 from bpesch/master
...
Performance improvements
4 years ago
Jordi Boggiano
b8ebc7be5f
Revert a few changes to ConfigCommand
4 years ago
Jordi Boggiano
cc1874e21b
Merge pull request #9179 from simonberger/fix-duplicated-code
...
Moved duplicated table render code to a new method in BaseCommand
4 years ago
Samuel Ryan
a66db48673
✨ Ask for target directory when using `create-project`
4 years ago
Simon Berger
687f886d56
Moved duplicated table render code to a new method in BaseCommand
4 years ago
Yanick Witschi
bd6f62c535
Consistently reuse the new PlatformRepository::isPlatformPackage() method
4 years ago
username
fc87caf639
Provide correct parameter data type
4 years ago
username
113adbcd87
Sort conditions by cost
4 years ago
username
98462292c0
Sort conditions by cost
4 years ago
username
abedc0dc42
Sort conditions by cost
4 years ago
username
17ae93bc9c
Remove unnecessary method call
4 years ago
username
18009af023
Inline variable
4 years ago
username
e719be501e
Remove unnecessary method call
4 years ago
username
459e2473c8
Remove unused variable
4 years ago
username
3f09ae0737
Simplify duplicate case
4 years ago
username
46cc387598
Split workflows
4 years ago
Jordi Boggiano
90332f1dbd
Add a readonly mode to the cache, fixes #9150
4 years ago
Jordi Boggiano
e5ba99cf67
Merge branch '1.10'
4 years ago
johnstevenson
3be62a9fda
Fix openssl_free_key deprecation notice in PHP 8
4 years ago
Jordi Boggiano
ff757e649c
Use pool to match packages to avoid getting packages without ids, fixes #9094
4 years ago
Jordi Boggiano
2d3905157d
Merge branch '1.10'
4 years ago
Jordi Boggiano
387e828993
Promote next major version when running stable self-update, and prevent self-update from automatically upgrading to the next major release
4 years ago
Jordi Boggiano
c3028c02d9
Merge branch '1.10'
4 years ago
Jordi Boggiano
a474dee236
Merge remote-tracking branch 'johnstevenson/elevate2' into 1.10
4 years ago
Jordi Boggiano
eac03e16e7
Reuse repository manager and others directly from the Composer instance, refs #9057
4 years ago
Jordi Boggiano
433968de17
Fix usage of create-project with local filesystem repos
4 years ago
Jordi Boggiano
a2ab6f2b54
Add support for multiple --repository additions in create-project, and make --add-repository delete the lock file, fixes #8853
4 years ago
johnstevenson
8ddbae358d
Remove cygwin php handling in UAC elevation
...
When called from a native shell and using cygwin PHP, cygpath translates
`/tmp` to `User\AppData\Local\Temp`, rather than `/cygdrive/.../tmp`.
This change does not affect using windows PHP from a Cygwin shell.
4 years ago
Jordi Boggiano
37b1e0fffd
Merge pull request #8955 from tlamy/OutdatedNoDevOption
...
Outdated/Show: no dev option
4 years ago
Jordi Boggiano
6869a1a5cb
Clean up a little to make impl less invasive and to handle replacers/providers
4 years ago
Shaun Johnston
b4ecca5d0b
Supply event dispatcher in Create Project Command
...
This update allows composer plugins to intercept the
create-project command to inject additional functionality such as
providing additional remote filesystem handling.
4 years ago