Jordi Boggiano
6a466a120a
Enable strict types on all files
2 years ago
Jordi Boggiano
6da38f83a0
Add parameter types to all the things
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
8f7597da22
Use a different way to suppress output than changing output verbosity in exec command, fixes #9711
3 years ago
Timo Webler
541692bbfe
Use "getInitialWorkingDirectory" instead of "getWorkingDirectory"
...
Follow-up 8d24b61bef
4 years ago
Jordi Boggiano
8d24b61bef
Tweak and add comments to the working dir fix with global exec, refs #8515
4 years ago
Chad Wade Day, Jr
917680e0d4
Make global exec execute commands in working directory
4 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
Issei.M
0856dfa084
Aligns the verb form of commands' description
7 years ago
Jordi Boggiano
122e422682
CS fixes
7 years ago
Sven Luijten
b4a77e1c0e
Add full stop to all command descriptions
7 years ago
David Jack Wange Olrik
2c84be47c2
Add support for seamless execution of local binaries
...
Projects that add binaries to `vendor-bin` can now execute those via the same command as projects that consume them without installing them first.
In list overview local commands have a `(local)` tag to distinguish them from commands installed in `vendor-bin`.
Local binaries take precedence over `vendor-bin` which takes precedence over binaries in path.
8 years ago
Niels Keurentjes
e6f21137ad
Undefined or default return points fixed.
8 years ago
Jordi Boggiano
35d26db704
Add docs for exec command, refs #4887
8 years ago
Jordi Boggiano
934be204a2
Simplify exec implementation and add full PATH support, refs #4887
8 years ago
Davey Shafik
43551bc537
Add `composer exec` command
8 years ago