1
0
Fork 0
Commit Graph

11673 Commits (8304ea06953a9f5eb74f96d3a3cd90ea222e009a)

Author SHA1 Message Date
Jordi Boggiano 8304ea0695
Fix type error with null descriptions, fixes #10924 2022-07-05 16:23:53 +02:00
Jordi Boggiano 9a6d63f0f4
Fix build regressions 2022-07-05 16:22:29 +02:00
Jordi Boggiano 3764073b43
Merge branch '2.2' into 2.3 2022-07-05 16:08:35 +02:00
fluffycondor 3ebd66b851
Fix deprecation notice (#10921)
Deprecation Notice: trim(): Passing null to parameter #1 ($string) of type string is deprecated in phar:///usr/bin/composer/src/Composer/Util/GitHub.php:103
2022-07-05 15:51:07 +02:00
Damien Tournoud 92e1c26c3b
Disallow plugins by throwing an exception if non-interactive to avoid half-broken runtime states (#10920)
* Disallow plugins by throwing an exception if non-interactive to avoid half-broken runtime states, fixes #10912
* Also allow BC mode for lock files older than 2.2.0 to keep plugins working there
* Allow locker to be accessed by plugin manager at init time
* Update allow-plugins docs

Co-authored-by: Damien Tournoud <damien@platform.sh>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-07-05 15:44:30 +02:00
Jordi Boggiano 1703b74e73
Add missing return types 2022-07-01 12:24:54 +02:00
Jordi Boggiano 726669084b
Reverting release version changes 2022-07-01 12:10:47 +02:00
Jordi Boggiano f69e63262d
Release 2.3.8 2022-07-01 12:10:47 +02:00
Jordi Boggiano 75bea6ba73
Update changelog 2022-07-01 12:09:16 +02:00
Jordi Boggiano 618fcb800b
Merge branch '2.2' into 2.3 2022-07-01 12:05:18 +02:00
Jordi Boggiano f14b02b9c9
Reverting release version changes 2022-07-01 12:01:26 +02:00
Jordi Boggiano 509dcbd4f8
Release 2.2.15 2022-07-01 12:01:26 +02:00
Jordi Boggiano c3bb27960b
Fix other issues with readonly caches, refs #10906 2022-07-01 11:55:43 +02:00
Jordi Boggiano f8324e0524
Fix support for read-only caches where the filesystem is not writable (fixes #10906) 2022-07-01 11:50:26 +02:00
Jordi Boggiano 143e42269a
Update changelog 2022-07-01 11:43:12 +02:00
Jordi Boggiano ac7a6e3326
Update docs, refs #10909 2022-07-01 11:35:50 +02:00
Tom Klingenberg 7adcf9f14c
Fix TypeError (#10904)
Fix string type requirement in case of NULL value:

    [TypeError]                                                                                                                                                                  
    Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
2022-07-01 11:33:15 +02:00
Tom Klingenberg f1dd325e14
Fix TypeError (#10904)
Fix string type requirement in case of NULL value:

    [TypeError]                                                                                                                                                                  
    Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
2022-07-01 11:23:04 +02:00
Tom Klingenberg 7ab4306c78
Fix TypeError (#10904)
Fix string type requirement in case of NULL value:

    [TypeError]                                                                                                                                                                  
    Composer\Command\InitCommand::parseAuthorString(): Argument #1 ($author) must be of type string, null given, called in phar:///composer.phar/src/Composer/Command/InitCommand.php on line 345
2022-07-01 11:15:29 +02:00
Andreas Schempp 424547bb70
Correctly merge boolean flag of allow-plugin config (#10909) 2022-07-01 11:08:35 +02:00
Jordi Boggiano f7e88099af
Merge branch '2.2' into 2.3 2022-06-24 11:09:45 +02:00
Stephan 6776cef441
Fix: ValidatingArrayLoader [TypeError]: strcasecmp(): Argument #1() must be of type string, int given (#10897) 2022-06-24 10:30:33 +02:00
Jordi Boggiano a5fdc00de1
Remove duplicate function in RootPackageInterface, fixes #10895 2022-06-23 13:39:39 +02:00
Jordi Boggiano 30a8b82b15
Merge branch '2.2' into 2.3 2022-06-22 13:49:11 +02:00
Marek Stipek 690ab5166a
Ignoring passed arguments for @putenv, closes #10846 2022-06-22 13:40:35 +02:00
Jordi Boggiano 5730c24c92
Rethrow path repo init failures with path information, closes #10845 2022-06-22 13:30:39 +02:00
Jordi Boggiano bad3eb2cd9
Update deps, update baseline (1958, 103) 2022-06-22 09:49:09 +02:00
Jordi Boggiano 16ee2e479f
Merge branch '2.2' into 2.3 2022-06-22 09:16:23 +02:00
Jordi Boggiano 5c68c2c86d
Fix case where branches cannot be listed in GitDownloader, fixes #10888 2022-06-22 08:50:55 +02:00
naveen 14476ec2a6
chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-22 08:18:22 +02:00
Chris Reed 03fbcdbf07
Fix exported path with space in binary installer proxy (#10836) 2022-06-10 21:56:11 +02:00
Jordi Boggiano b39608753b
Reverting release version changes 2022-06-06 16:43:28 +02:00
Jordi Boggiano 10cd375cf8
Release 2.3.7 2022-06-06 16:43:28 +02:00
Jordi Boggiano e6d061c682
Update hash 2022-06-06 16:43:22 +02:00
Jordi Boggiano a33f658596
Update changelog 2022-06-06 16:42:31 +02:00
Markus Staab ab9e18027e
plugins: mention static analysis support (#10812) 2022-06-06 16:42:24 +02:00
Jordi Boggiano cb76394800
Merge branch '2.2' into 2.3 2022-06-06 16:34:34 +02:00
Jordi Boggiano ba2ce37cd9
Reverting release version changes 2022-06-06 16:32:51 +02:00
Jordi Boggiano 8c7a2d200b
Release 2.2.14 2022-06-06 16:32:50 +02:00
Jordi Boggiano 7cb994fade
Update changelog 2022-06-06 16:32:44 +02:00
Stephan Jorek fbc85dede8
allow chained proxy-binary php-inclusions (#10823)
* allow chained proxy-binary php-inclusion by skipping redundant “phpvfscomposer” stream-wrapper registration
2022-06-06 16:14:54 +02:00
Jordi Boggiano e3527ea37f
Detect broken symlinks when checking for a package's presence, fixes #6708 2022-06-06 15:22:49 +02:00
Jordi Boggiano a76a1c9fc2
Fix parsing of multi-line arrays in funding yml, fixes #10784 2022-06-06 14:49:37 +02:00
Anatoly Pashin a0b7896231
Fix processing null config value in DiagnoseCommand
Fixes #10814
2022-06-06 09:58:15 +02:00
Fabien Villepinte 1e9210f7b1
Fix TypeError when a JSON file can not be read (#10818) 2022-06-04 15:20:58 +02:00
Martin Herndl 3b204cb6f2
Specify optional array keys in `ConfigReturnTypeExtension` 2022-06-02 21:38:39 +02:00
Jordi Boggiano 15f7d24e7e
Parse openssl 3 versions cleaner 2022-06-02 21:17:44 +02:00
Jordi Boggiano 509c0fffbe
Include phpstan rules file, closes #10813 2022-06-02 21:08:42 +02:00
Jordi Boggiano f58b72a43b
Reverting release version changes 2022-06-01 21:57:14 +02:00
Jordi Boggiano 0f43aa1652
Release 2.3.6 2022-06-01 21:57:13 +02:00