Jordi Boggiano
6a466a120a
Enable strict types on all files
2 years ago
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
2 years ago
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
2 years ago
Samuel Felipe
3ccb54832b
PHPStan level 6 in src/Composer/Command ( #10214 )
3 years ago
Jordi Boggiano
4851f65318
Remove version argument from why and enforce it for why-not command, refs #9693
3 years ago
Simon Berger
002fd39bc6
Removed passing of parameters with default value
4 years ago
Alexander M. Turek
146aa4938f
Command::execute() should always return an integer.
5 years ago
Markus Staab
c876613d5c
Added "Read more at" links to all commands ( #8019 )
5 years ago
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Sven Luijten
b4a77e1c0e
Add full stop to all command descriptions
7 years ago
Rob Bast
a245c4618b
php-cs-fixer
8 years ago
Niels Keurentjes
22a6f6c612
phpdoc consistency.
8 years ago
Niels Keurentjes
75bb0d9b10
Implemented Prohibits and Depends correctly now.
8 years ago
Niels Keurentjes
692a3ed300
Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes.
8 years ago
Niels Keurentjes
9bc2ee02e4
Process feedback, code cleanup.
8 years ago
Niels Keurentjes
86374034b6
Removed unnecessary state from Depends command.
8 years ago
Niels Keurentjes
9b41495353
Options added and cleaned up.
8 years ago
Niels Keurentjes
e38fe67333
Rewrote DependsCommand
8 years ago
Jordi Boggiano
1818b95149
CS fixes
8 years ago
Jordi Boggiano
a0398286ba
Wording fixes
8 years ago
Jordi Boggiano
e8bc9232e0
Add explanation about match args in the "no installed package" output, refs #4663
8 years ago
Jordi Boggiano
42cb3dafc4
Merge remote-tracking branch 'Soullivaneuh/depends-replaces'
8 years ago
Jordi Boggiano
4fbf15e6d6
Tweaks and add new args to docs, refs #4663
8 years ago
Jordi Boggiano
9e42eedf1f
Merge remote-tracking branch 'Soullivaneuh/depends-match-constraint'
8 years ago
Jordi Boggiano
dbe7f34181
Allow depend command to show results for platform packages, fixes #3836 , fixes #4696
8 years ago
Sullivan SENECHAL
e0031ed4a2
Add match-constraint options to depends command
9 years ago
Sullivan SENECHAL
0eb7e2f216
Add --with-replaces option on depends command
9 years ago
Sullivan SENECHAL
d8975b5cb1
Depends command: Add phpdoc blocks for IDE completion
9 years ago
Jordi Boggiano
dbcf8cae13
Fix depends command to also show when the root package depends on something
9 years ago
Olivier Laviale
cc522c20bb
Optimized this->getIO()
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Nils Adermann
d00ca4bcdb
Add a Command event triggered by all comands which load plugins
11 years ago
Jordi Boggiano
be861f090a
Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646
11 years ago
Jordi Boggiano
542d10d8fd
Remove all occurrences of getLocalDevRepository and getLocalRepositories calls
11 years ago
Jordi Boggiano
b51a4a7854
Improve depends output, fixes #1459
12 years ago
Bilal Amarni
4e02cbd49e
added a local option to the depends command
12 years ago
Jordi Boggiano
e2f8098f53
Fix depends command on 5.3, fixes #1034
12 years ago
Jordi Boggiano
c31d588b7d
Update init and depends commands to use the new filterPackages method
12 years ago
Jordi Boggiano
de4e9c4022
Fix InputOption requirement flags
12 years ago
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
12 years ago
Jordi Boggiano
d1f66073ca
Update depends command
12 years ago
Jordi Boggiano
fd0bf14eb2
Support both require and requires as depends link-type arg
12 years ago
Jordi Boggiano
cc1dbbc36f
Add --link-type option to select link types in DependsCommand
13 years ago
Hugo Hamon
c993f3e92d
[Command] removed unused local $recommendedDependencies variable in DependsCommand::getReferences() method.
13 years ago
Jordi Boggiano
83a106bd79
Add recommends and package versions to the depends command
13 years ago
Justin Rainbow
981477dd17
New 'depends' command added
...
Basic command to display where a given package is referenced.
This helps in figuring out where a package is used, and even
can help in troubleshooting dependency issues.
13 years ago