kreait / firebase-php

Unofficial Firebase Admin SDK for PHP
https://firebase-php.readthedocs.io/
MIT License
2.21k stars 423 forks source link

Replacing `symfony/polyfill-mbstring` makes ^6.9 impossible to install #742

Closed mbabker closed 1 year ago

mbabker commented 1 year ago

Describe the bug

With the introduction of the replace.symfony/polyfill-mbstring config in https://github.com/kreait/firebase-php/commit/75857d0b6a4ec2134b8c2c46c3831dec944b7e81, when a project has a dependency that requires the symfony/polyfill-mbstring package, the latest versions of this package cannot be installed.

In a WIP Laravel project, we've recently installed laravel-notification-channels/fcm which indirectly installs this package, and that update installed this package at version 6.8.0. Because of the replace statement, Composer decides it can't update the package.

Installed packages

$ composer show
babdev/laravel-twilio                      v1.4.0    Twilio SDK integration for Laravel
barryvdh/laravel-ide-helper                v2.12.3   Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.
barryvdh/reflection-docblock               v2.0.6   
beste/clock                                2.1.0     A collection of Clock implementations
beste/json                                 1.0.0     A simple JSON helper to decode and encode JSON
brick/math                                 0.10.2    Arbitrary-precision arithmetic library
cknow/laravel-money                        v7.0.0    Laravel Money
clue/stream-filter                         v1.6.0    A simple and modern approach to stream filtering in PHP
composer/pcre                              3.0.0     PCRE wrapping library that offers type-safe preg_* replacements.
composer/semver                            3.3.2     Semver library that offers utilities, version constraint parsing and validation.
composer/xdebug-handler                    3.0.3     Restarts a process without Xdebug.
darkaonline/l5-swagger                     8.4.1     OpenApi or Swagger integration to Laravel
dflydev/dot-access-data                    v3.0.1    Given a deep data structure, access data by dot notation.
doctrine/annotations                       1.13.3    Docblock Annotations Parser
doctrine/cache                             2.2.0     PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.
doctrine/dbal                              3.4.5     Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/deprecations                      v1.0.0    A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.
doctrine/event-manager                     1.2.0     The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.
doctrine/inflector                         2.0.5     PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.
doctrine/instantiator                      1.4.1     A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                             1.2.3     PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
dragonmantank/cron-expression              v3.3.2    CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
egulias/email-validator                    3.2.1     A library for validating emails against several RFCs
fakerphp/faker                             v1.20.0   Faker is a PHP library that generates fake data for you.
fig/http-message-util                      1.1.5     Utility classes and constants for use with PSR-7 (psr/http-message)
filp/whoops                                2.14.5    php error handling for cool kids
firebase/php-jwt                           v6.3.0    A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.
friendsofphp/php-cs-fixer                  v3.12.0   A tool to automatically fix PHP code style
fruitcake/php-cors                         v1.2.0    Cross-origin resource sharing library for the Symfony HttpFoundation
giggsey/libphonenumber-for-php             8.12.57   PHP Port of Google's libphonenumber
giggsey/locale                             2.2       Locale functions required by libphonenumber-for-php
google/auth                                v1.23.0   Google Auth Library for PHP
google/cloud-core                          v1.47.3   Google Cloud PHP shared dependency, providing functionality useful to all components.
google/cloud-logging                       v1.24.8   Stackdriver Logging Client for PHP
google/cloud-storage                       v1.28.1   Cloud Storage Client for PHP
google/common-protos                       v3.1.0    Google API Common Protos for PHP
google/crc32                               v0.1.0    Various CRC32 implementations
google/gax                                 v1.17.0   Google API Core for PHP
google/grpc-gcp                            v0.2.0    gRPC GCP library for channel management
google/longrunning                         v0.2.0    Google LongRunning Client for PHP
google/protobuf                            v3.21.7   proto library for PHP
graham-campbell/result-type                v1.1.0    An Implementation Of The Result Type
grpc/grpc                                  1.42.0    gRPC library for PHP
guzzlehttp/guzzle                          7.5.0     Guzzle is a PHP HTTP client library
guzzlehttp/promises                        1.5.2     Guzzle promises library
guzzlehttp/psr7                            2.4.1     PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php                      v2.0.1    This is the PHP port of Hamcrest Matchers
hashids/hashids                            4.1.0     Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers
http-interop/http-factory-guzzle           1.2.0     An HTTP Factory using Guzzle PSR7
jean85/pretty-package-versions             2.0.5     A library to get pretty versions strings of installed dependencies
kreait/firebase-php                        6.8.0     Firebase Admin SDK
kreait/firebase-tokens                     3.0.3     A library to work with Firebase tokens
kreait/laravel-firebase                    4.2.0     A Laravel package for the Firebase PHP Admin SDK
laravel-notification-channels/fcm          2.5.0     FCM (Firebase Cloud Messaging) Notifications Driver for Laravel
laravel/framework                          v9.35.1   The Laravel Framework.
laravel/sanctum                            v3.0.1    Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
laravel/serializable-closure               v1.2.2    Laravel Serializable Closure provides an easy and secure way to serialize closures in PHP.
laravel/slack-notification-channel         v2.4.0    Slack Notification Channel for laravel.
laravel/telescope                          v4.9.4    An elegant debug assistant for the Laravel framework.
lcobucci/clock                             2.2.0     Yet another clock abstraction
lcobucci/jwt                               4.2.1     A simple library to work with JSON Web Token and JSON Web Signature
league/commonmark                          2.3.5     Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)
league/config                              v1.1.1    Define configuration arrays with strict schemas and access values with dot notation
league/flysystem                           3.7.0     File storage abstraction for PHP
league/flysystem-google-cloud-storage      3.7.0     Google Cloud Storage adapter for Flysystem.
league/flysystem-sftp-v3                   3.6.0     SFTP filesystem adapter for Flysystem.
league/iso3166                             4.1.0     ISO 3166-1 PHP Library
league/mime-type-detection                 1.11.0    Mime-type detection for Flysystem
mockery/mockery                            1.5.1     Mockery is a simple yet flexible PHP mock object framework
moneyphp/money                             v4.0.5    PHP implementation of Fowler's Money pattern
monolog/monolog                            2.8.0     Sends your logs to files, sockets, inboxes, databases and various web services
mtdowling/jmespath.php                     2.6.1     Declaratively specify how to extract elements from a JSON document
myclabs/deep-copy                          1.11.0    Create deep copies (clones) of your objects
nesbot/carbon                              2.62.1    An API extension for DateTime that supports 281 different languages.
nette/schema                               v1.2.2    📐 Nette Schema: validating data structures against a given Schema.
nette/utils                                v3.2.8    🛠  Nette Utils: lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
nikic/php-parser                           v4.15.1   A PHP parser written in PHP
nunomaduro/collision                       v6.3.1    Cli error handling for console/command-line PHP applications.
nunomaduro/termwind                        v1.14.1   Its like Tailwind CSS, but for the console.
nyholm/psr7                                1.5.1     A fast PHP7 implementation of PSR-7
paragonie/constant_time_encoding           v2.6.3    Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)
paragonie/random_compat                    v9.99.100 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phar-io/manifest                           2.0.3     Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                            3.2.1     Library for handling version information and constraints
php-http/client-common                     2.6.0     Common HTTP Client implementations and tools for HTTPlug
php-http/discovery                         1.14.3    Finds installed HTTPlug implementations and PSR-7 message factories
php-http/httplug                           2.3.0     HTTPlug, the HTTP client abstraction for PHP
php-http/message                           1.13.0    HTTP Message related tools
php-http/message-factory                   v1.0.2    Factory interfaces for PSR-7 HTTP Message
php-http/promise                           1.1.0     Promise used for asynchronous HTTP requests
phpdocumentor/reflection-common            2.2.0     Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/type-resolver                1.6.2     A PSR-5 based resolver of Class names, Types and Structural Element Names
phpoption/phpoption                        1.9.0     Option Type for PHP
phpseclib/phpseclib                        3.0.16    PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.
phpunit/php-code-coverage                  9.2.17    Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator                  3.0.6     FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-invoker                        3.1.1     Invoke callables with a timeout
phpunit/php-text-template                  2.0.4     Simple template engine.
phpunit/php-timer                          5.0.3     Utility class for timing
phpunit/phpunit                            9.5.25    The PHP Unit Testing framework.
propaganistas/laravel-phone                4.3.8     Adds phone number functionality to Laravel based on Google's libphonenumber API.
protonemedia/laravel-cross-eloquent-search 3.0.1     Laravel package to search through multiple Eloquent models. Supports pagination, eager loading relations, single/multiple columns, sorting and scoped queries.
psr/cache                                  3.0.0     Common interface for caching libraries
psr/container                              2.0.2     Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher                       1.0.0     Standard interfaces for event handling.
psr/http-client                            1.0.1     Common interface for HTTP clients
psr/http-factory                           1.0.1     Common interfaces for PSR-7 HTTP message factories
psr/http-message                           1.0.1     Common interface for HTTP messages
psr/log                                    2.0.0     Common interface for logging libraries
psr/simple-cache                           3.0.0     Common interfaces for simple caching
ralouphie/getallheaders                    3.0.3     A polyfill for getallheaders.
ramsey/collection                          1.2.2     A PHP library for representing and manipulating collections.
ramsey/uuid                                4.5.1     A PHP library for generating and working with universally unique identifiers (UUIDs).
riverline/multipart-parser                 2.0.9     One class library to parse multipart content with encoding and charset support.
rize/uri-template                          0.3.5     PHP URI Template (RFC 6570) supports both expansion & extraction
sebastian/cli-parser                       1.0.1     Library for parsing CLI options
sebastian/code-unit                        1.0.8     Collection of value objects that represent the PHP code units
sebastian/code-unit-reverse-lookup         2.0.3     Looks up which function or method a line of code belongs to
sebastian/comparator                       4.0.8     Provides the functionality to compare PHP values for equality
sebastian/complexity                       2.0.2     Library for calculating the complexity of PHP code units
sebastian/diff                             4.0.4     Diff implementation
sebastian/environment                      5.1.4     Provides functionality to handle HHVM/PHP environments
sebastian/exporter                         4.0.5     Provides the functionality to export PHP variables for visualization
sebastian/global-state                     5.0.5     Snapshotting of global state
sebastian/lines-of-code                    1.0.3     Library for counting the lines of code in PHP source code
sebastian/object-enumerator                4.0.4     Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector                 2.0.4     Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context                4.0.4     Provides functionality to recursively process PHP variables
sebastian/resource-operations              3.0.3     Provides a list of PHP built-in functions that operate on resources
sebastian/type                             3.2.0     Collection of value objects that represent the types of the PHP type system
sebastian/version                          3.0.2     Library that helps with managing the version number of Git-hosted PHP projects
sentry/sdk                                 3.3.0     This is a metapackage shipping sentry/sentry with a recommended HTTP client.
sentry/sentry                              3.9.1     A PHP SDK for Sentry (http://sentry.io)
sentry/sentry-laravel                      2.14.2    Laravel SDK for Sentry (https://sentry.io)
spatie/backtrace                           1.2.1     A better backtrace
spatie/data-transfer-object                3.9.1     Data transfer objects with batteries included
spatie/enum                                3.13.0    PHP Enums
spatie/flare-client-php                    1.3.0     Send PHP errors to Flare
spatie/ignition                            1.4.1     A beautiful error page for PHP applications.
spatie/laravel-google-cloud-storage        2.0.5     Google Cloud Storage filesystem driver for Laravel
spatie/laravel-ignition                    1.5.2     A beautiful error page for Laravel applications.
spatie/laravel-multitenancy                2.3.8     Make your Laravel app usable by multiple tenants
spatie/laravel-package-tools               1.13.6    Tools for creating Laravel packages
spatie/laravel-permission                  5.5.5     Permission handling for Laravel 6.0 and up
spatie/laravel-settings                    2.4.5     Store your application settings
spatie/temporary-directory                 2.1.1     Easily create, use and destroy temporary directories
stella-maris/clock                         0.1.6     A pre-release of the proposed PSR-20 Clock-Interface
swagger-api/swagger-ui                     v4.14.3    Swagger UI is a collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
symfony/cache                              v6.1.5    Provides extended PSR-6, PSR-16 (and tags) implementations
symfony/cache-contracts                    v3.1.1    Generic abstractions related to caching
symfony/console                            v6.1.6    Eases the creation of beautiful and testable command line interfaces
symfony/css-selector                       v6.1.3    Converts CSS selectors to XPath expressions
symfony/deprecation-contracts              v3.1.1    A generic function and convention to trigger deprecation notices
symfony/error-handler                      v6.1.6    Provides tools to manage errors and ease debugging PHP code
symfony/event-dispatcher                   v6.1.0    Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
symfony/event-dispatcher-contracts         v3.1.1    Generic abstractions related to dispatching event
symfony/filesystem                         v6.1.5    Provides basic utilities for the filesystem
symfony/finder                             v6.1.3    Finds files and directories via an intuitive fluent interface
symfony/http-client                        v6.1.6    Provides powerful methods to fetch HTTP resources synchronously or asynchronously
symfony/http-client-contracts              v3.1.1    Generic abstractions related to HTTP clients
symfony/http-foundation                    v6.1.6    Defines an object-oriented layer for the HTTP specification
symfony/http-kernel                        v6.1.6    Provides a structured process for converting a Request into a Response
symfony/mailer                             v6.1.5    Helps sending emails
symfony/mime                               v6.1.6    Allows manipulating MIME messages
symfony/options-resolver                   v6.1.0    Provides an improved replacement for the array_replace PHP function
symfony/polyfill-ctype                     v1.26.0   Symfony polyfill for ctype functions
symfony/polyfill-intl-grapheme             v1.26.0   Symfony polyfill for intl's grapheme_* functions
symfony/polyfill-intl-idn                  v1.26.0   Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
symfony/polyfill-intl-normalizer           v1.26.0   Symfony polyfill for intl's Normalizer class and related functions
symfony/polyfill-mbstring                  v1.26.0   Symfony polyfill for the Mbstring extension
symfony/polyfill-uuid                      v1.26.0   Symfony polyfill for uuid functions
symfony/process                            v6.1.3    Executes commands in sub-processes
symfony/psr-http-message-bridge            v2.1.3    PSR HTTP message bridge
symfony/routing                            v6.1.5    Maps an HTTP request to a set of configuration variables
symfony/service-contracts                  v3.1.1    Generic abstractions related to writing services
symfony/stopwatch                          v6.1.5    Provides a way to profile code
symfony/string                             v6.1.6    Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way
symfony/translation                        v6.1.6    Provides tools to internationalize your application
symfony/translation-contracts              v3.1.1    Generic abstractions related to translation
symfony/uid                                v6.1.5    Provides an object-oriented API to generate and represent UIDs
symfony/var-dumper                         v6.1.6    Provides mechanisms for walking through any arbitrary PHP variable
symfony/var-exporter                       v6.1.3    Allows exporting any serializable PHP data structure to plain PHP code
symfony/yaml                               v6.1.6    Loads and dumps YAML files
theseer/tokenizer                          1.2.1     A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles          2.2.5     CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.
twilio/sdk                                 6.42.2    A PHP wrapper for Twilio's API
vlucas/phpdotenv                           v5.5.0    Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
voku/portable-ascii                        2.0.1     Portable ASCII library - performance optimized (ascii) string functions for php.
webmozart/assert                           1.11.0    Assertions to validate method input/output with nice error messages.
ylsideas/feature-flags                     1.5.0     A Laravel package for handling feature flags
zircote/swagger-php                        4.4.9     swagger-php - Generate interactive documentation for your RESTful API using phpdoc annotations

PHP version and extensions

$ composer show --platform
composer                2.4.2    Composer package
composer-plugin-api     2.3.0    The Composer Plugin API
composer-runtime-api    2.2.2    The Composer Runtime API
ext-bcmath              8.1.10   The bcmath PHP extension
ext-bz2                 8.1.10   The bz2 PHP extension
ext-calendar            8.1.10   The calendar PHP extension
ext-ctype               8.1.10   The ctype PHP extension
ext-curl                8.1.10   The curl PHP extension
ext-date                8.1.10   The date PHP extension
ext-dba                 8.1.10   The dba PHP extension
ext-dom                 20031129 The dom PHP extension
ext-event               3.0.7RC1 The event PHP extension
ext-exif                8.1.10   The exif PHP extension
ext-ffi                 8.1.10   The FFI PHP extension
ext-fileinfo            8.1.10   The fileinfo PHP extension
ext-filter              8.1.10   The filter PHP extension
ext-ftp                 8.1.10   The ftp PHP extension
ext-gd                  8.1.10   The gd PHP extension
ext-gettext             8.1.10   The gettext PHP extension
ext-gmp                 8.1.10   The gmp PHP extension
ext-hash                8.1.10   The hash PHP extension
ext-iconv               8.1.10   The iconv PHP extension
ext-igbinary            3.2.6    The igbinary PHP extension
ext-imagick             3.6.0    The imagick PHP extension
ext-intl                8.1.10   The intl PHP extension
ext-json                8.1.10   The json PHP extension
ext-ldap                8.1.10   The ldap PHP extension
ext-libxml              8.1.10   The libxml PHP extension
ext-mailparse           3.1.2    The mailparse PHP extension
ext-mbstring            8.1.10   The mbstring PHP extension
ext-mysqli              8.1.10   The mysqli PHP extension
ext-mysqlnd             0        The mysqlnd PHP extension (actual version: mysqlnd 8.1.10)
ext-odbc                8.1.10   The odbc PHP extension
ext-openssl             8.1.10   The openssl PHP extension
ext-pcntl               8.1.10   The pcntl PHP extension
ext-pcov                1.0.10   The pcov PHP extension
ext-pcre                8.1.10   The pcre PHP extension
ext-pdo                 8.1.10   The PDO PHP extension
ext-pdo_dblib           8.1.10   The pdo_dblib PHP extension
ext-pdo_mysql           8.1.10   The pdo_mysql PHP extension
ext-pdo_odbc            8.1.10   The PDO_ODBC PHP extension
ext-pdo_pgsql           8.1.10   The pdo_pgsql PHP extension
ext-pdo_sqlite          8.1.10   The pdo_sqlite PHP extension
ext-pgsql               8.1.10   The pgsql PHP extension
ext-phar                8.1.10   The Phar PHP extension
ext-posix               8.1.10   The posix PHP extension
ext-pspell              8.1.10   The pspell PHP extension
ext-readline            8.1.10   The readline PHP extension
ext-redis               5.3.5RC1 The redis PHP extension
ext-reflection          8.1.10   The Reflection PHP extension
ext-session             8.1.10   The session PHP extension
ext-shmop               8.1.10   The shmop PHP extension
ext-simplexml           8.1.10   The SimpleXML PHP extension
ext-soap                8.1.10   The soap PHP extension
ext-sockets             8.1.10   The sockets PHP extension
ext-sodium              8.1.10   The sodium PHP extension
ext-spl                 8.1.10   The SPL PHP extension
ext-sqlite3             8.1.10   The sqlite3 PHP extension
ext-sysvmsg             8.1.10   The sysvmsg PHP extension
ext-sysvsem             8.1.10   The sysvsem PHP extension
ext-sysvshm             8.1.10   The sysvshm PHP extension
ext-tidy                8.1.10   The tidy PHP extension
ext-tokenizer           8.1.10   The tokenizer PHP extension
ext-xdebug              3.1.2    The xdebug PHP extension
ext-xml                 8.1.10   The xml PHP extension
ext-xmlreader           8.1.10   The xmlreader PHP extension
ext-xmlwriter           8.1.10   The xmlwriter PHP extension
ext-xsl                 8.1.10   The xsl PHP extension
ext-zend-opcache        8.1.10   The Zend OPcache PHP extension
ext-zip                 1.19.5   The zip PHP extension
ext-zlib                8.1.10   The zlib PHP extension
lib-bz2                 1.0.8    The bz2 library
lib-curl                7.85.0   The curl library
lib-curl-libssh2        1.10.0   curl libssh2 version
lib-curl-zlib           1.2.11   curl zlib version
lib-date-timelib        2021.16  date timelib version
lib-date-zoneinfo       2022.2   zoneinfo ("Olson") database for date
lib-fileinfo-libmagic   540      fileinfo libmagic version
lib-gd                  2.3.3    The gd library
lib-gmp                 6.2.1    The gmp library
lib-icu                 71.1     The ICU unicode and globalization support library
lib-icu-cldr            41       ICU CLDR project version
lib-icu-unicode         14.0.0   ICU unicode version
lib-imagick-imagemagick 7.1.0.48 The imagick-imagemagick library
lib-ldap-openldap       2.6.3    OpenLDAP version of ldap
lib-libsodium           1.0.18   The libsodium library
lib-libxml              2.9.4    libxml library version
lib-libxslt             1.1.29   The libxslt library
lib-libxslt-libxml      2.9.4    libxml version libxslt is compiled against
lib-mbstring-libmbfl    1.3.2    mbstring libmbfl version
lib-mbstring-oniguruma  6.9.8    mbstring oniguruma version
lib-openssl             1.1.1.17 OpenSSL 1.1.1q  5 Jul 2022
lib-pcre                10.40    The pcre library
lib-pcre-unicode        14.0.0   PCRE Unicode version support
lib-pdo_pgsql-libpq     14.5     libpq for pdo_pgsql
lib-pdo_sqlite-sqlite   3.39.3   The pdo_sqlite-sqlite library
lib-sqlite3-sqlite      3.39.3   The sqlite3-sqlite library
lib-zip-libzip          1.9.2    The zip-libzip library
lib-zlib                1.2.11   The zlib library
php                     8.1.11   Package overridden via config.platform, actual: 8.1.10
php-64bit               8.1.11   Package overridden via config.platform, actual: 8.1.10
php-ipv6                8.1.11   Package overridden via config.platform, actual: 8.1.10

Steps to reproduce the issue.

composer update

Error message/Stack trace

N/A

Additional information

Removing the replace config should fix this issue.

$ composer why symfony/polyfill-mbstring
friendsofphp/php-cs-fixer      v3.12.0 requires symfony/polyfill-mbstring (^1.23)   
giggsey/libphonenumber-for-php 8.12.57 requires symfony/polyfill-mbstring (^1.17)   
mtdowling/jmespath.php         2.6.1   requires symfony/polyfill-mbstring (^1.17)   
nesbot/carbon                  2.62.1  requires symfony/polyfill-mbstring (^1.0)    
symfony/console                v6.1.6  requires symfony/polyfill-mbstring (~1.0)    
symfony/filesystem             v6.1.5  requires symfony/polyfill-mbstring (~1.8)    
symfony/http-foundation        v6.1.6  requires symfony/polyfill-mbstring (~1.1)    
symfony/mime                   v6.1.6  requires symfony/polyfill-mbstring (^1.0)    
symfony/string                 v6.1.6  requires symfony/polyfill-mbstring (~1.0)    
symfony/translation            v6.1.6  requires symfony/polyfill-mbstring (~1.0)    
symfony/var-dumper             v6.1.6  requires symfony/polyfill-mbstring (~1.0)    
vlucas/phpdotenv               v5.5.0  requires symfony/polyfill-mbstring (^1.23.1)
jeromegamez commented 1 year ago

Uh, that's not good! Thanks for bringing this up! I'll fix and create a release within the next two hours and let you know here. Sorry for the inconvenience!

Lesson learned: Jérôme, don't replace polyfills just because you think an extension is installed because it's included in the require section.

jeromegamez commented 1 year ago

Release 6.9.2 is out, please let me know if this fixes the problem 🙏

mbabker commented 1 year ago

All good, thank you!

ankurk91 commented 1 year ago

This might be a bug in composer itself