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
eda9014bef
Add return types to all code which is not being extended by open source packages
2 years ago
Jordi Boggiano
a16ed3d0ed
Add return types to private/internal methods
2 years ago
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
2 years ago
Jordi Boggiano
63b5f2737b
Merge branch '2.2' into main
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
6ea5b84bd9
Fix licenses command summary to count all licenses of a package
2 years ago
Marko H. Tamminen
8756f54da0
Handle missing license when showing license summary ( #10537 )
...
Fixes the issue of license summary command aborting when a package is
missing license information.
2 years ago
Jordi Boggiano
f9d61c0665
Add links to repo to fund/licenses/search commands and add links to docs to config command
2 years ago
Jordi Boggiano
5805a68645
Fix some todos dropping support for older Symfony releases
2 years ago
Jordi Boggiano
44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS
3 years ago
Samuel Felipe
3ccb54832b
PHPStan level 6 in src/Composer/Command ( #10214 )
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
Jonas Drieghe
eea7564c9e
Revert accidental rename of $dependencies variable in unrelated code branch
4 years ago
Jonas Drieghe
d5d956df4d
Use correct variable name
4 years ago
Jonas Drieghe
73a721c7e5
Add the missing summary format to command-line help text
4 years ago
Jonas Drieghe
ec6e05d55f
Sort licenses so that the most used license will appear first
4 years ago
Jonas Drieghe
668655c21a
Rename variable for clarity
4 years ago
Jonas Drieghe
8da2811dc3
Add new summary format for licenses ( #8973 )
...
* Add new summary format to render the number of dependencies for each used license
* Array dereferencing wasn't available on php 5.3
* Add summary format to documentation
4 years ago
Bingqing Wang
46db638678
fix typo
4 years ago
Bingqing Wang
63eb178297
compatible with symfony/console 5.0.0 getVerticalBorderChars() method
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
Vladimir Reznichenko
da9e00066c
SCA: reduced repetitive methods references, used specialized PhpUnit assertions
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
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
8 years ago
Niels Keurentjes
818c3e707a
Ton of phpDoc fixes.
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
Olivier Laviale
cc522c20bb
Optimized this->getIO()
9 years ago
Kunal Mehta
f634c6946d
Update callers of VersionParser::formatVersion()
...
Tests were moved to BasePackageTest.
9 years ago
Jordi Boggiano
dbfd47eeca
CS fixes
9 years ago
Jordi Boggiano
e0ce559838
Merge remote-tracking branch 'alcohol/write-errors-to-stderr'
...
Conflicts:
src/Composer/Command/LicensesCommand.php
9 years ago
Jordi Boggiano
182cfbc249
Merge remote-tracking branch 'SofHad/licenses'
...
Conflicts:
src/Composer/Command/LicensesCommand.php
9 years ago
Christian Flothmann
fa3ea2a626
remove unused method argument
...
Unlike the `TableHelper`, the `render()` method of the `Table` class
does not make use of an `$output` argument. The actual `OutputInterface`
to send the table to is passed in the constructor instead.
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Rob Bast
3dd93c91b8
TableHelper is deprecated, switched to Table
9 years ago
SofHad
844b57bf7f
Fixed render method
10 years ago
SofHad
dc9429c82a
Remove deprecated TableHelper and update table style
10 years ago
Jordi Boggiano
d8f043e12c
Remove object state from methods to simplify things, refs #3385
10 years ago
d060631
cfa8432a60
add no-dev option to licenses command
10 years ago
Jordi Boggiano
a5c6319d46
Fix uninitialized var, fixes #2539
11 years ago
Nicolas Bastien
52711d121c
Remove unused use statement.
11 years ago
Nils Adermann
d00ca4bcdb
Add a Command event triggered by all comands which load plugins
11 years ago
Jordi Boggiano
187017cc0d
Minor tweaks, refs #2075
11 years ago