32 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
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 f509c41280
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Samuel Felipe 3ccb54832b
PHPStan level 6 in src/Composer/Command (#10214) 3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Jordi Boggiano f31564ef5b
Fix check-platform-reqs --no-dev to not require lock anymore 4 years ago
Jordi Boggiano e0e4d60166
Fix check-platform-reqs to be more clear about what is going on, and add a --lock flag to allow explicitly checking from lock 4 years ago
Simon Berger a6475a7118 Removed unused variables, properties and parameters of private functions 4 years ago
Jordi Boggiano 943c7a6433
Merge pull request #9165 from bpesch/master
Performance improvements
4 years ago
Jordi Boggiano cc1874e21b
Merge pull request #9179 from simonberger/fix-duplicated-code
Moved duplicated table render code to a new method in BaseCommand
4 years ago
Simon Berger 687f886d56 Moved duplicated table render code to a new method in BaseCommand 4 years ago
Yanick Witschi bd6f62c535 Consistently reuse the new PlatformRepository::isPlatformPackage() method 4 years ago
username 17ae93bc9c Remove unnecessary method call 4 years ago
Jordi Boggiano d173af2d7a
Fix check-platform-reqs command to take into account provide/replace from the root package 4 years ago
Jordi Boggiano 0aaa815268
Merge branch '1.10' 4 years ago
Bingqing Wang 63eb178297
compatible with symfony/console 5.0.0 getVerticalBorderChars() method 4 years ago
Jordi Boggiano 80505e745e
Fix phpstan issues 4 years ago
Jordi Boggiano 2445ef5e1f
Refactor check-platform-reqs to use InstalledRepository and look for providers as well as platform packages, fixes #8645, closes #8676
Co-authored-by: Ellis <eantaya@nuglif.com>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
Jordi Boggiano 5ddc40e93c
Load packages from the lock file for check-platform-reqs if no dependencies have been installed yet, fixes #8058 5 years ago
Jordi Boggiano 45591597f6
Clarify how check-platform-reqs works, fixes #8191 5 years ago
Jordi Boggiano a25d6f6c35 Use local repo for platform checks when possible to avoid surprises, refs #7605 6 years ago
SeRRg c279c7ca96 Add --no-dev option to check-platform-reqs command 6 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
Christophe Coevoet e91505ce30 Fix the platform requirement check command
The command must validate that the current package matches the constraint, not
that any newer package matches it.
7 years ago
Jordi Boggiano c8aea719b1 CS fixes 7 years ago
Jordi Boggiano 6bb3ab1868 Tweak help/description 7 years ago
Jordi Boggiano b579884e15 Tweak check-platform-reqs command to check all constraints and output more information about what requires failed, refs #6709 7 years ago
闫兴茂 fb306b6eb7 Update [] to array synax 7 years ago
闫兴茂 f83883b2f6 Add command check-platform-reqs 7 years ago