danog / MadelineProto

Async PHP client API for the telegram MTProto protocol
https://docs.madelineproto.xyz
GNU Affero General Public License v3.0
2.74k stars 617 forks source link

Compatibility Issue with Symfony Components Due to nikic/php-parser Upgrade #1474

Closed Mustakillah closed 4 months ago

Mustakillah commented 5 months ago

In the latest update (8.0.0-beta189), you upgraded the dependency nikic/php-parser to version ^5, preventing users who utilize Symfony components from successfully updating.

Examples:

Symfony/translation component (v7.0.2) has a dependency on "nikic/php-parser": "^4.13", Symfony/maker-bundle component (v1.52.0) has a dependency on "nikic/php-parser": "^4.11", Phpstan/phpdoc-parser component (1.25.0) has a dependency on "nikic/php-parser": "^4.15",, As these components are widely popular among developers, updating to the latest version becomes impossible.

Question: Is there a technical possibility to revert the nikic/php-parser library to version ^4.18?

Explanation: Reverting to nikic/php-parser:^4.18 would address the compatibility issue with Symfony components, ensuring the stable operation of the product.

Mustakillah commented 4 months ago

No longer relevant. All dependencies updated to support nikic/php-parser v5