1
0
Fork 0
Commit Graph

11353 Commits (14fcfc3ae171c3b6f526f264d18cedafac6e59a4)

Author SHA1 Message Date
Jordi Boggiano 14fcfc3ae1
Update baseline (2244 errors) 2022-02-23 11:39:26 +01:00
Jordi Boggiano 7abc8da7d3
Add more types 2022-02-23 11:37:32 +01:00
Jordi Boggiano e52071a92c
Revert some return types for symfony/flex compatibility 2022-02-22 20:36:49 +01:00
Jordi Boggiano 225b4d7c27
Add some more return types 2022-02-22 19:29:40 +01:00
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2022-02-22 16:48:53 +01:00
Jordi Boggiano c9baeda95b
Merge pull request #10547 from Seldaek/add_returns
Add native return types where possible
2022-02-21 13:57:32 +01:00
Jordi Boggiano fb854df124
Update phpstan config 2022-02-21 13:49:26 +01:00
Alexander Schranz e9b60580f5
Add return types to tests (#10) 2022-02-21 13:42:28 +01:00
Alexander Schranz 1321bfca36
Add return types to closures (#9) 2022-02-21 13:37:49 +01:00
kenedy akena 61ed47baba
Update 04-schema.md (#10554)
Fix grammar to make the sentence grammatically correct
2022-02-21 13:33:20 +01:00
Jordi Boggiano 868b75d5e8
Fix broken links, refs #10542 2022-02-19 12:52:00 +01:00
Sean McBride 7328f5e5db
Renamed the only file with a quote character to remove it (#10542)
The quote character can be problematic and as this is the only one, just removing it makes the codebase more compatible with other systems that forbid the character as a matter of policy.
2022-02-19 12:49:55 +01:00
Yanick Witschi 32da10dc2c
Improve the pool optimizer logging (#10545) 2022-02-19 12:47:35 +01:00
Jordi Boggiano 7b1fc4b2c8
Remove alias::getAliasOf return type as this is not compatible with PHP 7.2/7.3 2022-02-18 20:53:58 +01:00
Jordi Boggiano 84f0f19112
Split Composer into PartialComposer & Composer classes to avoid nullable properties on Composer for non-fully-loaded instances, add types to Composer\Factory 2022-02-18 14:45:08 +01:00
Jordi Boggiano eda9014bef
Add return types to all code which is not being extended by open source packages 2022-02-18 14:32:38 +01:00
Jordi Boggiano 137ebddc25
Clean up useless mocks 2022-02-18 13:05:12 +01:00
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 2022-02-18 11:22:01 +01:00
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2022-02-18 10:38:54 +01:00
Jordi Boggiano 32852304d0
Make use of some new PHP features 2022-02-18 10:20:20 +01:00
Jordi Boggiano 86fb8d4412
Fix CS 2022-02-18 08:50:11 +01:00
Jordi Boggiano 2e40cdf2dc
Clean up properties that belong in PackageDiscoveryTrait 2022-02-18 08:26:59 +01:00
Jordi Boggiano 40de07569d
Merge branch '2.2' into main 2022-02-16 16:05:05 +01:00
Jordi Boggiano 7ee44e6461
Merge pull request #10541 from Seldaek/init_req_fixes
Fix issues in require/init when dealing with virtual packages which do not exist
2022-02-16 16:00:57 +01:00
Jordi Boggiano 2a2440c2a1
Fix handling of virtual packages when searching for packages or when looking up the preferred version (init & require command), refs #10489 2022-02-16 15:44:43 +01:00
Jordi Boggiano 8b5254688c
Drop early package name validation if a version is provided to require/init command, fixes #10489 2022-02-16 15:13:21 +01:00
Jordi Boggiano acea849c51
Clarify plugin docs slightly wrt pre-operations-exec event 2022-02-16 14:58:24 +01:00
Jordi Boggiano 4376153912
Improve untrusted package install docs 2022-02-16 14:50:38 +01:00
sasezaki 0c4cefaaa1
Introduce phpstan-type about autoload array type to be DRY (#10516) 2022-02-16 14:34:10 +01:00
Jordi Boggiano 63b5f2737b
Merge branch '2.2' into main 2022-02-16 13:44:40 +01:00
Jordi Boggiano 53810b0cfb
Fix return type 2022-02-16 13:30:54 +01:00
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
2022-02-16 13:24:57 +01:00
Jordi Boggiano 28ec4fa7b0
Fix handling of invalid emails 2022-02-16 13:24:15 +01:00
Jordi Boggiano f1ebc1d2b6
Fix init author support to make email optional, fixes #10538 2022-02-16 13:08:54 +01:00
Jordi Boggiano 6ea5b84bd9
Fix licenses command summary to count all licenses of a package 2022-02-16 12:26:49 +01:00
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.
2022-02-16 12:17:49 +01:00
Jordi Boggiano a3e6af54f9
Allow xdebug-handler 3.x, fixes #10528 2022-02-16 10:43:40 +01:00
Stephan 3eb12efae5
VcsRepositories: handle initialize with invalid repository URL (#10525) 2022-02-16 09:37:36 +01:00
Jordi Boggiano 48758c0207
Update deps & baseline 2022-02-15 17:05:01 +01:00
Jordi Boggiano 45218092b4
Merge branch '2.2' into main 2022-02-15 16:52:03 +01:00
Jordi Boggiano 6698317342
Make tests more robust 2022-02-15 16:42:50 +01:00
Jordi Boggiano f808e4907c
Fix handling for non-lowercased enum keyword, fixes #10521 2022-02-15 16:41:06 +01:00
Jordi Boggiano eee8816bc3
Fix allow-plugins:false handling, fixes #10530 2022-02-15 16:14:06 +01:00
Stephan 23b0a3819b
ComposerRepository: fix array_keys(): Argument #1 () must be of type array, null given (#10529) 2022-02-09 11:45:10 +01:00
Jordi Boggiano ae68ada127
Merge branch '2.2' into main 2022-02-08 14:55:10 +01:00
Jordi Boggiano 3cb44bc4c0
Fix build with latest setup-php 2022-02-08 14:54:46 +01:00
Markus Staab eefb4644b0
InstallerInterface: describe `getInstallPath()` to return a absolute path (#10524) 2022-02-08 14:24:59 +01:00
Volodymyr Panivko a0b0ddcd73
Add config option for update reference in path repository (#10488) 2022-02-07 13:54:17 +01:00
Fran Moreno 00bac7470e
Remove duplicated keys (#10517) 2022-02-06 16:55:58 +01:00
Jordi Boggiano ac8fb8cc57
Merge branch '2.2' into main 2022-02-04 17:01:51 +01:00