1
0
Fork 0
Commit Graph

11343 Commits (fb854df12402fe0c14dcc74b74c88a4dd8dbf88f)

Author SHA1 Message Date
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
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
Jordi Boggiano 2c318ff09b
Reverting release version changes 2022-02-04 17:00:39 +01:00
Jordi Boggiano ce785a18c0
Release 2.2.6 2022-02-04 17:00:38 +01:00
Jordi Boggiano 809b372997
Update changelog for 2.2.6 2022-02-04 17:00:30 +01:00
Jordi Boggiano 4f2e2ec4fc
Update docs for renamed COMPOSER_RUNTIME_BIN_DIR 2022-02-04 16:59:57 +01:00
Jordi Boggiano 4b67a97a25
Update baseline 2022-02-04 16:50:01 +01:00
Jordi Boggiano 3446091027
Merge branch '2.2' into main 2022-02-04 16:31:14 +01:00
Jordi Boggiano 335c3c9450
Update baseline 2022-02-04 16:25:16 +01:00
Jordi Boggiano d124c13a42
Add hints when the arg of show is not found, fixes #10493 2022-02-04 16:17:02 +01:00
Jordi Boggiano ee36c5e54a
Fix error reporting issues when partial updates cannot update due to a symlinked path repo package, fixes #10451 2022-02-04 15:58:50 +01:00
Jordi Boggiano 6c36920453
Bump semver 2022-02-04 15:22:38 +01:00