1
0
Fork 0
Commit Graph

11060 Commits (bbc442b0ade931cc1fcf4f7ee99a8368932f18af)

Author SHA1 Message Date
pistej b99e21259c
phpstan level 6 in src/Composer/Package/Comparer (refs #10159) (#10196) 2021-10-20 22:20:33 +02:00
Martin Herndl db9e9a544e
Add types to `Package/Dumper` (#10198) 2021-10-20 22:19:53 +02:00
pistej dbd0ccaad8
phpstan level 6 in src/Composer/Package/Archiver (refs #10159) (#10195) 2021-10-20 21:54:38 +02:00
Nils Adermann cbc686c16a
Merge pull request #10185 from Seldaek/remove_unknown_rule_type
Remove unknown Rule type
2021-10-19 22:00:10 +02:00
Martin Herndl 995bf5a932
Add types to `Util` namespace, refs #10159 (#10190) 2021-10-19 14:35:37 +02:00
Stephan 261d93aacf
ComposerRepository: handle packages.json with null value for package (#10189) 2021-10-19 13:14:12 +02:00
Jordi Boggiano 37ce8969a4
Use real type hint instead of annotation 2021-10-19 13:11:04 +02:00
Martin Herndl f0cc9aeb01
Remove scalar parameter type declaration (#10186)
`string` can only be used in parameters starting from PHP 7.0.
2021-10-19 13:10:21 +02:00
Jordi Boggiano 6d37c1f8ab
Ignore unmatched errors 2021-10-19 00:09:59 +02:00
Jordi Boggiano 0b8089fe80
Ignore some irrelevant PHPStan errors in test files 2021-10-19 00:04:49 +02:00
Paolo Rossi 3add01a40b
PHPStan level 6 in src/Composer/Config (refs #10159) (#10182) 2021-10-18 23:51:43 +02:00
Jordi Boggiano 87f25e6df6
Specify parseAutoloads more narrowly, refs #10179 2021-10-18 23:49:57 +02:00
immeëmosol be25cf1d7a
Reaching phpstan level 6 in Composer/Autoload (refs #10159) (#10179)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2021-10-18 23:40:22 +02:00
Jordi Boggiano 57e417b53a
Minor cleanup 2021-10-18 23:10:11 +02:00
Jordi Boggiano 75a8677e8a
Remove unknown Rule type 2021-10-18 23:05:31 +02:00
Paolo Rossi 6e04991489
Reaching phpstan level 6 in Composer/Console (refs #10159) (#10183) 2021-10-18 22:40:50 +02:00
Jordi Boggiano 7e1f4882af
Reorder some code 2021-10-18 22:37:40 +02:00
immeëmosol 50d738eeee
Reaching phpstan level 6 in Composer/DependencyResolver (refs #10159) (#10178) 2021-10-18 22:33:37 +02:00
Jordi Boggiano 04ab74bbef
Avoid checking for hhvm in a loop, refs #10170 2021-10-18 10:51:16 +02:00
Jordi Boggiano a6f1e803b1
Use more BasePackage instead of PackageInterface 2021-10-17 14:43:34 +02:00
Jordi Boggiano b209816056
Type annotations 2021-10-17 14:31:48 +02:00
pistej 98f1465610
Phpstan level 6 in Composer/Plaform and Composer/Script (#10159) (#10170) 2021-10-17 13:52:01 +02:00
Markus Staab c9b80bc3b6
Fix reference to main [ci skip] (#10174) 2021-10-17 13:51:42 +02:00
Markus Staab b8e2fcd33d
Fix reference to main branch (#10173) 2021-10-17 13:51:25 +02:00
Jordi Boggiano f25398f52c
Fix 2021-10-17 10:49:57 +02:00
Jordi Boggiano e137046558
Type annotations 2021-10-17 10:31:09 +02:00
Fabien Villepinte 9fde6ec88b
PHPStan level 6 in src/Composer/Json (#10172) 2021-10-16 22:42:32 +02:00
pistej 04c157bf32
Reaching phpstan level 6 in Composer/SelfUpdate (#10169) 2021-10-16 22:35:31 +02:00
Jordi Boggiano 9f4b5c10a7
Update branch name in badge link 2021-10-16 22:32:18 +02:00
Fabien Villepinte 3861ce68cd
Replace master by main (#10171) 2021-10-16 22:30:15 +02:00
Jordi Boggiano 7d88de7d0b
Fix syntax 2021-10-16 11:17:44 +02:00
Jordi Boggiano 9599eb613b
Type annotations 2021-10-16 11:14:10 +02:00
immeëmosol 6d5f6eb090
Reaching phpstan level 6 in Composer\IO (#10166) 2021-10-16 10:36:02 +02:00
Jordi Boggiano c3c6969cf5
Type annotations 2021-10-16 10:25:12 +02:00
Jordi Boggiano 626370d444
Suggest COMPOSER_DISABLE_NETWORK if a possibly-offline state is detected (#10163)
Co-authored-by: Nils Adermann <naderman@naderman.de>
2021-10-16 09:47:04 +02:00
Jordi Boggiano 97fe881af4
Add some docblocks 2021-10-15 16:36:28 +02:00
Fabien Villepinte 1dd2bc6f02
Validate composer.lock strictly (#10160) 2021-10-15 15:11:38 +02:00
Jordi Boggiano 4b2a94c397
Merge pull request #10164 from Seldaek/fix_php81
Fix php8.1 build
2021-10-15 13:47:49 +02:00
Jordi Boggiano 135611fc9d
Add deprecation baseline for php8.1+ builds which use locked or lowest dependencies 2021-10-15 13:37:02 +02:00
Jordi Boggiano 5818b4aa51
Attempt fixing php8.1 build 2021-10-15 12:55:41 +02:00
Jordi Boggiano 915f3f4fb6
Make sure that if cleanup happens before install completes on zip updates, we do not report bogus errors, fixes #9804 2021-10-15 10:42:44 +02:00
Jordi Boggiano 1ef7076703
Update lock file 2021-10-14 21:05:56 +02:00
Matthew Davis fd5b1980a1
Allow psr/log ^2.0 (#10158) 2021-10-14 17:19:23 +02:00
Jordi Boggiano bfd819779d
Update lock file 2021-10-14 16:24:20 +02:00
Jordi Boggiano 0868245589
Rename master branch to main 2021-10-14 16:21:47 +02:00
Jordi Boggiano 4a7abd79c9
Fix 5.3 syntax 😒 2021-10-14 15:44:14 +02:00
Jordi Boggiano 759a3a9300
Fix require reverting changes even though dependency resolution succeeded if when something fails afterwards, closes #10118 2021-10-14 15:41:44 +02:00
Jordi Boggiano f776f52474
Hint composer require alternatives if dep resolution fails, fixes #10136 2021-10-14 15:12:29 +02:00
Jordi Boggiano 260ac0011c
Add constants to describe error codes from Installer::run 2021-10-14 15:12:06 +02:00
Jordi Boggiano 79727d35c4
Avoid warning due to invalid cache dir during init, wait for first use, fixes #10125 2021-10-14 10:24:08 +02:00