57 Commits (6a466a120a404d1c5d492e5ca715841c491517fc)

Author SHA1 Message Date
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
Alexander Schranz 1321bfca36
Add return types to closures (#9) 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
Jordi Boggiano a4a89f1508
Update archive format docs, refs #10087 2 years ago
Samuel Felipe 3ccb54832b
PHPStan level 6 in src/Composer/Command (#10214) 3 years ago
Jordi Boggiano 7d88de7d0b
Fix syntax 3 years ago
Jordi Boggiano 9599eb613b
Type annotations 3 years ago
Jordi Boggiano d3c176ec69
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5

* Update seld/phar-utils to latest

* Add phpstan-setup / phpstan scripts
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 6b3b51e299 Fixed $this usage on static functions 4 years ago
Jordi Boggiano 085fe4e7e5
Add --no-progress support and a few more fixes 4 years ago
Jordi Boggiano be8dd528b8
Merge remote-tracking branch 'origin/master' into 2.0 4 years ago
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.
4 years ago
Jordi Boggiano 0317199507
Merge branch 'master' into 2.0 5 years ago
Markus Staab c876613d5c Added "Read more at" links to all commands (#8019) 5 years ago
Jordi Boggiano 3dfcae99a9 Add parallel download capability to FileDownloader and derivatives 5 years ago
Jordi Boggiano 713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 5 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Vladimir Reznichenko da9e00066c SCA: reduced repetitive methods references, used specialized PhpUnit assertions 6 years ago
Jordi Boggiano ff61ecd484 Allow accessing the ArchiveManager via the Composer object, fixes #6411 7 years ago
Issei.M 0856dfa084 Aligns the verb form of commands' description 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Jordi Boggiano cf2838131f Merge pull request #6062 from MoT3rror/master
Add ignore filters option to archive command
7 years ago
jbixler dac51c7f4b Add ignore filters option to archive command 7 years ago
Sven Luijten b4a77e1c0e Add full stop to all command descriptions 7 years ago
Jordi Boggiano bf1ddaa298 Fix method name for php5 8 years ago
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 8 years ago
Niels Keurentjes 692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 8 years ago
Jordi Boggiano 29312be4df Strict typing fixes 9 years ago
MakiCode 63ede6c9dd Fixed issues with PR 9 years ago
MakiCode 0d00338bdb Added better messages and fixed bugs 9 years ago
MakiCode 87b5af60a8 Almost finished adding --file option, need to add unit test 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Jordi Boggiano 41a87a3ae7 Adjust file path output, refs #4379 9 years ago
Javi Hernández dd7243fc01 Archive command shows created package path 9 years ago
Jordi Boggiano c8eca6f198 Remove pool usage from ArchiveCommand 9 years ago
Jordi Boggiano b025d0982b Remove some state 9 years ago
Thibault Jamet 25ab752ca6 Map archive command to the archive configuration 9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jordi Boggiano 94926218e8 CS fixes 10 years ago
Jordi Boggiano 4f5d979bee ArchiveCommand improvements 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
James Moran ee7961a0f3 Implemented Pre/Post Archive Script Events
The script events `pre-archive-cmd` and `post-archive-cmd` can be used
to perform any tasks necessary when archiving the composer project.

This functionality can be used to run unit test or and other build
process before archiving, and can be used to distribute the archive
when completed
10 years ago
Renan de Lima 610e272faa use available $io in archive
https://github.com/composer/composer/pull/2099#pullrequestreviewcomment-5318806
11 years ago
Renan de Lima d17935acd2 attach IO to DownloadManager in "package" command 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Jordi Boggiano 8a06e461e5 Fix a few bugs, fixes #1867 11 years ago
Nils Adermann cfd7a50f0a Do not hardcode vendor dir exclusion on archive.
For one thing this wouldn't have worked for any custom installers anyway
which can write installed code to other places. This will now allow one
to use composer archive on a clean code checkout to build an archive as
we are used to. Or on one that had composer install run to build an
archive that can be used for deployment which includes the vendors.
11 years ago