http-foundation
http-foundation copied to clipboard
Automatic conversion of false to array is deprecated
See PHP RFC: Deprecate autovivification on false https://wiki.php.net/rfc/autovivification_false
Got the error on a Drupal instance with memcache module and memcache_admin sub module enabled.
PHP: 8.1.11 Drupal core: 9.5.0-rc1 memcache module : 2.5.0
Note: in the test: memcache:11211 (hostname: memcache, port: 11211) is the memcached instance running with the docker image bitnami/memcached:1.6.9
Location: https://example.com/admin/reports/memcache/default/memcache%3A11211 Referrer: https://example.com/admin/reports/memcache/default Message (partial):
Thanks for your pull request! We love contributions.
However, this repository is what we call a "subtree split": a read-only copy of one directory of the main Symfony repository. It is used by Composer to allow developers to depend on specific Symfony components.
If you want to contribute, you should instead open a pull request on the main repository:
https://github.com/symfony/symfony
Thank you for your contribution!
PS: if you haven't already, please add tests, and beware that bug fixes should be submitted on the lowest maintained branch where they apply.
$components = parse_url($uri);
<<<<<<< 6.2
if (!$components) {
=======
if (false === $components) {
trigger_deprecation('symfony/http-foundation', '6.3', 'Calling "%s()" with an invalid URI is deprecated.', __METHOD__);
>>>>>>> 6.4
Note an issue in 6.4