1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00
Commit graph

63 commits

Author SHA1 Message Date
Jordi Boggiano
ef06702e45
Merge pull request #10320 from GromNaN/command-completion
Add completion to commands options and arguments
2022-06-01 21:59:39 +02:00
Jordi Boggiano
88e1f0f9b5
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) 2022-05-24 21:32:36 +02:00
Jérôme Tamarelle
ed7d8219ad
Backport bash completion suggestion definition from symfony/console 6.1 2022-05-12 15:00:38 +02:00
Jérôme TAMARELLE
fe6be142b1
Add completion on commands 2022-05-12 15:00:37 +02:00
Jordi Boggiano
1734d86907
Merge branch '2.2' into main 2022-02-25 20:54:42 +01:00
Martin Herndl
9715580bc0
Add file agument to archive help (#10574) 2022-02-25 20:47:19 +01:00
Jordi Boggiano
6a466a120a
Enable strict types on all files 2022-02-24 13:24:34 +01:00
Jordi Boggiano
6da38f83a0
Add parameter types to all the things 2022-02-22 16:48:53 +01:00
Alexander Schranz
1321bfca36
Add return types to closures (#9) 2022-02-21 13:37:49 +01:00
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present 2022-02-18 10:38:54 +01:00
Jordi Boggiano
5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors (#10476)
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2022-02-16 13:24:57 +01:00
Jordi Boggiano
a4a89f1508
Update archive format docs, refs #10087 2021-12-07 15:56:35 +01:00
Samuel Felipe
3ccb54832b
PHPStan level 6 in src/Composer/Command (#10214) 2021-10-27 14:18:16 +02:00
Jordi Boggiano
7d88de7d0b
Fix syntax 2021-10-16 11:17:44 +02:00
Jordi Boggiano
9599eb613b
Type annotations 2021-10-16 11:14:10 +02:00
Jordi Boggiano
d3c176ec69
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5

* Update seld/phar-utils to latest

* Add phpstan-setup / phpstan scripts
2021-08-21 17:41:52 +02:00
Jordi Boggiano
4940009f83
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
2021-03-09 15:49:40 +01:00
Simon Berger
6b3b51e299 Fixed $this usage on static functions 2020-09-20 02:16:28 +02:00
Jordi Boggiano
085fe4e7e5
Add --no-progress support and a few more fixes 2020-06-16 14:00:24 +02:00
Jordi Boggiano
be8dd528b8
Merge remote-tracking branch 'origin/master' into 2.0 2020-02-11 11:33:52 +01:00
Adriano Ferreira
97d077c43b Uses config data from Composer object whenever possible on ArchiveCommand
It was previously blindly getting a new instance from the factory thus ignoring what is on Composer object config data.
2020-02-10 13:15:58 -02:00
Jordi Boggiano
0317199507
Merge branch 'master' into 2.0 2019-04-01 18:03:34 +02:00
Markus Staab
c876613d5c Added "Read more at" links to all commands (#8019) 2019-03-04 12:55:38 +01:00
Jordi Boggiano
3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 2019-01-18 08:39:03 +01:00
Jordi Boggiano
713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 2019-01-14 17:29:23 +01:00
Jordi Boggiano
ff59bbdab0 CS fixer 2018-07-24 14:32:52 +02:00
Vladimir Reznichenko
da9e00066c SCA: reduced repetitive methods references, used specialized PhpUnit assertions 2018-01-24 10:19:46 +01:00
Jordi Boggiano
ff61ecd484 Allow accessing the ArchiveManager via the Composer object, fixes #6411 2017-05-16 22:20:49 +02:00
Issei.M
0856dfa084 Aligns the verb form of commands' description 2017-04-06 13:50:24 +09:00
Jordi Boggiano
122e422682 CS fixes 2017-03-08 15:16:44 +01:00
Jordi Boggiano
cf2838131f Merge pull request #6062 from MoT3rror/master
Add ignore filters option to archive command
2017-01-22 19:35:40 +01:00
jbixler
dac51c7f4b Add ignore filters option to archive command 2017-01-11 16:21:44 -06:00
Sven Luijten
b4a77e1c0e Add full stop to all command descriptions 2017-01-11 23:08:12 +01:00
Jordi Boggiano
bf1ddaa298 Fix method name for php5 2016-02-29 17:51:34 +00:00
Jordi Boggiano
1aec1c1fc8 Add --repository flag to init command, and rename --repository-url to --repository in create-project, fixes #4200, closes #4207, closes #2604, fixes #2920 2016-02-29 17:33:46 +00:00
Niels Keurentjes
692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 2016-02-19 23:56:46 +01:00
Jordi Boggiano
29312be4df Strict typing fixes 2015-12-16 17:48:12 +00:00
MakiCode
63ede6c9dd Fixed issues with PR 2015-10-07 12:42:19 -05:00
MakiCode
0d00338bdb Added better messages and fixed bugs 2015-10-04 20:03:06 -05:00
MakiCode
87b5af60a8 Almost finished adding --file option, need to add unit test 2015-10-02 09:09:09 -05:00
Jordi Boggiano
ce08582671 Fix CS 2015-09-28 10:53:24 +01:00
Jordi Boggiano
41a87a3ae7 Adjust file path output, refs #4379 2015-09-23 00:41:24 +01:00
Javi Hernández
dd7243fc01 Archive command shows created package path 2015-08-26 13:08:40 +02:00
Jordi Boggiano
c8eca6f198 Remove pool usage from ArchiveCommand 2015-06-18 17:45:37 +01:00
Jordi Boggiano
b025d0982b Remove some state 2015-06-18 11:12:57 +01:00
Thibault Jamet
25ab752ca6 Map archive command to the archive configuration 2015-06-17 20:53:09 +02:00
Rob Bast
cb336a5416 Implement writeError throughout Composer 2015-02-25 11:00:35 +01:00
Jordi Boggiano
94926218e8 CS fixes 2014-10-17 18:57:27 +01:00
Jordi Boggiano
4f5d979bee ArchiveCommand improvements 2014-07-23 19:01:22 +02:00
Jordi Boggiano
ac497feaba CS fixes 2014-06-10 16:13:12 +02:00