15 Commits (44e65915731448a1f89fc7adf34805b6d2564890)

Author SHA1 Message Date
Jordi Boggiano f13282e555
Change default preferred-install to dist, add --prefer-install=auto|dist|source to allow specifying auto (#9603)
Fixes #9546
Fixes #9674
3 years ago
Jordi Boggiano 4940009f83
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Simon Berger 687f886d56 Moved duplicated table render code to a new method in BaseCommand 4 years ago
Jordi Boggiano 7f308d986e
Add --with to update command to allow downgrading to a specific version/applying custom temporary constraints, fixes #8756 4 years ago
Matthew Brown 65903aacfd Fix type issues (#7996)
* Fix type issues found by Psalm
5 years ago
Gabriel Caruso 2a13bb2649 Fixes from PHPStan (#7687)
* fix docblocks

* remove redundant conditional

* fix wrong variable name

* fix wrong namespaces

* add missing private members

* remove unused/redundant arguments

* move testcase class

* exclude TestCase.php

* Tweak RuleWatchGraph type hints

* Tweak doc comment
6 years ago
Jordi Boggiano 0fdf746ebe Fix --no-plugins not working in certain edge cases 6 years ago
Jordi Boggiano d73aef5c8a Respect --no-plugins flag when firing pre-command-run event 6 years ago
Jordi Boggiano ccbbbccadb CAvoid calling PRE_COMMAND_RUN if no composer could be initialized 7 years ago
Jordi Boggiano 352aefe48c Add command name to the PreCommandRun event 7 years ago
Jordi Boggiano b1bfb9bb65 Add PRE_COMMAND_RUN event, fixes #7002 7 years ago
Fabien Potencier 69740bbbee Refactor some common logic in Command classes 8 years ago
Jordi Boggiano 7bcd336c95 Disable plugins across the board when --no-plugins is specified, fixes #5509 8 years ago
Bilal Amarni 92207da83a add isProxyCommand() to BaseCommand 8 years ago
Niels Keurentjes 692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 8 years ago