1
0
Fork 0
Commit Graph

12221 Commits (623e5e1de055e65bc6c3c61b8348dc4662d75e2b)

Author SHA1 Message Date
Jordi Boggiano c6a2142dc4
Merge branch '2.3' 2022-07-12 20:57:16 +02:00
Jordi Boggiano 03cebc2490
Clean up types with conditional return types 2022-07-12 20:56:23 +02:00
Jordi Boggiano cecdc0cbd1
Merge branch '2.2' into 2.3 2022-07-12 20:52:51 +02:00
Jordi Boggiano 75ef4903ef
Ensure plugins from CWD/vendor do not get loaded when running create-project, fixes #10935 2022-07-12 16:25:12 +02:00
Jordi Boggiano 12e15b7f60
Merge branch '2.3' 2022-07-12 13:25:12 +02:00
Jordi Boggiano e29bff2727
Merge branch '2.2' into 2.3 2022-07-12 13:25:03 +02:00
Jordi Boggiano 8323e85bc8
Fix allow-plugins check to not check plugins which are anyway incompatible with the current Composer version, refs #10928 2022-07-12 13:24:21 +02:00
Calvin Truong a73933e167
Update README.md (#10933)
Minor change. Added a new line between sentence regarding Public and Private packages for slightly increased readability through spatial distinction.
2022-07-10 17:03:38 +02:00
Jordi Boggiano 8536a2ca80
Merge branch '2.3' 2022-07-05 22:21:44 +02:00
Jordi Boggiano d60ffc3b82
Merge branch '2.2' into 2.3 2022-07-05 22:21:37 +02:00
Jordi Boggiano dcd7f2180d
Avoid checking for allowed plugins if plugins are disabled entirely, fixes #10925 2022-07-05 22:20:33 +02:00
Jordi Boggiano 70b78137a9
Merge branch '2.3' 2022-07-05 16:54:43 +02:00
Jordi Boggiano 4cd8787c88
Reverting release version changes 2022-07-05 16:52:11 +02:00
Jordi Boggiano 015f524c99
Release 2.3.9 2022-07-05 16:52:11 +02:00
Jordi Boggiano 5b52a4fb45
Merge branch '2.2' into 2.3
Update changelog for 2.3.9
2022-07-05 16:52:00 +02:00
Jordi Boggiano 2759d8b545
Reverting release version changes 2022-07-05 16:50:29 +02:00
Jordi Boggiano 8c0ee53ff6
Release 2.2.16 2022-07-05 16:50:29 +02:00
Jordi Boggiano 8b7ea8deb6
Update changelog 2022-07-05 16:50:25 +02:00
Jordi Boggiano fca92faed8
Fix type error 2022-07-05 16:26:46 +02:00
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 c422fefda4
Merge branch '2.3' 2022-07-01 12:24:58 +02:00
Jordi Boggiano 1703b74e73
Add missing return types 2022-07-01 12:24:54 +02:00
Jordi Boggiano 99255d3d85
Build releases with 8.1 2022-07-01 12:22:11 +02:00
Jordi Boggiano 796d2bae08
Merge branch '2.3' 2022-07-01 12:15:30 +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 1812862d5e
Update phpstan to latest, update baseline (1909, 103) 2022-06-30 17:07:18 +02:00
dependabot[bot] 51db9e823c
Bump actions/cache from 2 to 3 (#10902)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 15:17:38 +02:00
Jordi Boggiano efd426f8bb
Extract some common logic for filtering away dev requirements into a RepositoryUtils 2022-06-30 15:05:34 +02:00
Jordi Boggiano de9996d4c4 Output exception class when audit fails 2022-06-30 14:28:16 +02:00
Naveen 137ed52966
chore: Included githubactions in the dependabot config (#10900)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-28 20:32:45 +02:00
Jordi Boggiano f9db69ae1f
Merge pull request #10898 from Seldaek/meta_advisories
Move security advisory loading to repositories
2022-06-28 20:31:03 +02:00
Dan Wallis d880ab68cf
Allow use of --locked with depends and prohibits (#10834)
* Allow use of --locked with depends and prohibits

* Only include other repos if not --locked

* Move logic to appease PHPStan

* Load a PlatformRepository when reading lock file
2022-06-25 17:06:58 +02:00
Jordi Boggiano 0196690ab3
Disable automatic audit at the end of install step to keep things fast, switch --no-audit to an opt-in --audit flag 2022-06-24 16:54:30 +02:00