1
0
Fork 0
Commit Graph

9053 Commits (f60bee416e890b6b90b514957de0895f21d79622)

Author SHA1 Message Date
Matthew Turland f60bee416e
Update installer script URL to include openssl_free_key() deprecation fix
If the installer script linked from [this page]([https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md](https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md)) is run using PHP 8, it generates the following deprecation notice.

```
Deprecated: Function openssl_free_key() is deprecated since 8.0, as OpenSSLAsymmetricKey objects are freed automatically in Standard input code on line 982
```

This issue was [fixed in the installer script]([composer/getcomposer.org#159](https://github.com/composer/getcomposer.org/pull/159)), but the documentation was not updated to link to the version of it that includes the fix.
2024-12-20 09:13:22 -06:00
Jordi Boggiano 355f71eaa8
Reverting release version changes 2023-09-29 10:50:23 +02:00
Jordi Boggiano f8f49191ee
Release 1.10.27 2023-09-29 10:50:23 +02:00
Jordi Boggiano 75ff650970
Update changelog 2023-09-29 10:48:01 +02:00
Jordi Boggiano 4fce14795a
Merge pull request from GHSA-jm6m-4632-36hf 2023-09-29 10:15:51 +02:00
Jordi Boggiano a4acd96ad3
Fix bitbucket redirect URLs failing old PHP builds which do not support long headers
51e2015af3
2023-09-28 16:36:02 +02:00
Jordi Boggiano d3a3c83fc8
Update deps 2023-09-28 16:29:43 +02:00
homersimpsons 1997bb8f36
🚨 Fix `strpos()` deprecation notice with `null` (#11310)
Deprecation Notice: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in composer/src/Composer/DependencyResolver/SolverProblemsException.php:80
2023-02-10 13:25:03 +01:00
Jordi Boggiano 9c86ff9fff
Reverting release version changes 2022-04-13 16:39:57 +02:00
Jordi Boggiano 3e196135ea
Release 1.10.26 2022-04-13 16:39:56 +02:00
Jordi Boggiano 6f85c881d0
Update changelog 2022-04-13 16:39:49 +02:00
Stephan c33aafaa04
Merge pull request from GHSA-x7cr-6qr6-2hh6
* GitDriver: filter branch names starting with a - character

* GitDriver: getFileContent prevent identifiers starting with a -

* HgDriver: prevent invalid identifiers and prevent file from running commands

* HgDriver: filter branches starting with a - character
2022-04-13 16:38:19 +02:00
Jordi Boggiano d4b29e9916
Reverting release version changes 2022-01-21 10:02:15 +01:00
Jordi Boggiano 892838f844
Release 1.10.25 2022-01-21 10:02:15 +01:00
Jordi Boggiano 2b7aaa48c5
Update changelog 2022-01-21 10:01:27 +01:00
Jordi Boggiano f01f446e8e
Update deps 2022-01-21 10:01:20 +01:00
John Stevenson b262b7718b
Use copy in selfupdate to fix Windows PHP-8.1 regression (#10446) 2022-01-21 09:48:41 +01:00
Jordi Boggiano 138e315014
Reverting release version changes 2021-12-09 20:06:34 +01:00
Jordi Boggiano 6dea608377
Release 1.10.24 2021-12-09 20:06:33 +01:00
Jordi Boggiano a72e4bc0b4
Add missing link 2021-12-09 20:05:51 +01:00
Jordi Boggiano 768e6d579e
Update deps 2021-12-09 20:05:27 +01:00
Jordi Boggiano aee2f532b7
Update changelog 2021-12-09 19:57:59 +01:00
Antoine Makdessi fec5eeef8d
Add warning that Composer 1 is deprecated in install command (#9826) 2021-12-09 10:46:47 +01:00
Jordi Boggiano da4d93759e
Merge pull request #10346 from dzuelke/errorhandler-php81-compat
ErrorHandler PHP 8.1 compatibility
2021-12-09 10:36:59 +01:00
Jordi Boggiano be273491c6 Ignore all symfony deprecations 2021-12-09 02:32:26 +01:00
David Zuelke ac9f4ac86d port from main/2.1: ignore all Return type deprecation warnings from Symfony and Composer namespaces (47cf602f9e, 2be03f0d60) 2021-12-09 02:30:25 +01:00
Jordi Boggiano ed9e9e9f9a Register ErrorHandler early to catch deprecation notices while the Application is being initialized 2021-12-09 02:22:49 +01:00
Jordi Boggiano b8e5b1d2d4
Merge remote-tracking branch 'johnstevenson/escape' into 1.10 2021-10-13 22:08:26 +02:00
John Stevenson 906442117c Carriage returns are ignored by cmd 2021-10-13 14:54:37 +01:00
John Stevenson 0783b043d2 Fix Windows escaping in tests 2021-10-10 17:02:22 +01:00
John Stevenson 8f974fe741 Improve Windows escaping 2021-10-10 16:24:49 +01:00
Jordi Boggiano ca5e2f8d50
Fix escaping issues on Windows which could lead to command injection, fixes GHSA-frqg-7g38-6gcf 2021-10-05 09:39:50 +02:00
Jordi Boggiano 1a994e41d4
Update deps 2021-10-01 10:10:43 +02:00
Jordi Boggiano 32eb3b459a
Update deps 2021-06-08 21:15:28 +02:00
Jordi Boggiano a02802b109
Warn 1.x users when a package is not found that it may be due to our deprecation policy 2021-06-08 21:12:49 +02:00
Jordi Boggiano cd682f90a6
Update xdebug-handler to latest 2021-04-27 13:10:36 +02:00
Jordi Boggiano 1cdbacbe07
Update changelog 2021-04-27 13:03:36 +02:00
Jordi Boggiano 083b73515d
Merge pull request from GHSA-h5h8-pc6h-jvvx
* Fix external process calls to avoid user input being able to pass extra parameters

* Tweak some fixes
2021-04-27 13:00:40 +02:00
Jordi Boggiano 4dc293b289
Update changelog 2021-04-01 09:16:28 +02:00
Jordi Boggiano 96acad1e45
Update github token pattern to match their latest updates 2021-04-01 09:13:32 +02:00
Jordi Boggiano 54889ca109
Document GH token usage and also make sure we redact them in Process debug output, refs #9757 2021-03-09 21:37:43 +01:00
Ayesh Karunaratne dc83ba93f3
Update GitHub token pattern
GitHub is updating the format of auth tokens from `a-z0-9` to `A-Za-z0-9` ([notice](https://github.blog/changelog/2021-03-04-authentication-token-format-updates/)).
I'm not sure why `.` is allowed, but I dare not to remove it. In this PR, the token validation regex is updated to allow `A-Za-z0-9` instead of the current all lower-case `a-z` and disallowed `_`.
2021-03-09 17:17:35 +01:00
Jordi Boggiano 06003f4da6
Update release step to use php8 as it produces slightly different output wrt white-space, fixes #9746 2021-03-09 15:27:35 +01:00
Jordi Boggiano 812207c823
Merge pull request #9695 from Seldaek/avoid-invalid-dir
Fix processes silently ignoring the CWD when it does not exist
2021-02-11 13:04:26 +01:00
Jordi Boggiano abcf9e993b
Fix processes silently ignoring the CWD when it does not exist, refs #9694 2021-02-11 12:57:01 +01:00
Jordi Boggiano 4d2ae78703
Update changelog 2021-01-27 15:40:59 +01:00
Jordi Boggiano 37c5e9961c
Merge remote-tracking branch 'nicolas-grekas/path-version' into 1.10 2021-01-27 15:20:38 +01:00
Jordi Boggiano 92313447d6
Filter out exclude-from-classmap rules to avoid generating very long regexes, fixes #9487 2021-01-27 15:10:32 +01:00
Jordi Boggiano bab210777e
Update deps 2021-01-27 15:01:26 +01:00
Nicolas Grekas 725b33ee5a Handle "versions" option in PathRepository, remove support for "branch-version" 2021-01-27 14:28:26 +01:00