You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering a compatibility issue when trying to install hubspot/api-client with PHP 7.4, even though the documentation states that this library supports PHP >= 7.4.
Problem: The issue appears to stem from a dependency on symfony/deprecation-contracts, which, in its latest version (v3.5.0), requires PHP 8.1 or higher. This results in a Composer error, preventing installation on PHP 7.4 environments.
Steps to Reproduce:
Set up a PHP 7.4 environment.
Run the command: composer require hubspot/api-client
Composer returns an error: Package "php" could not be found with constraint "7.4", results below will most likely be incomplete.
symfony/deprecation-contracts v3.5.0 requires php (>=8.1)
Expected Behavior: The package should install correctly with PHP 7.4, as indicated in the requirements on the documentation page.
Observed Behavior: Composer throws an error, indicating that a dependency (symfony/deprecation-contracts) requires PHP 8.1 or higher.
Potential Solution: To maintain PHP 7.4 compatibility, consider updating the hubspot/api-client package to specify a compatible version constraint for symfony/deprecation-contracts (e.g., ^2.5.0), which supports PHP 7.4 or change the description
Hello HubSpot API Client team,
I'm encountering a compatibility issue when trying to install hubspot/api-client with PHP 7.4, even though the documentation states that this library supports PHP >= 7.4.
Problem: The issue appears to stem from a dependency on symfony/deprecation-contracts, which, in its latest version (v3.5.0), requires PHP 8.1 or higher. This results in a Composer error, preventing installation on PHP 7.4 environments.
Steps to Reproduce:
symfony/deprecation-contracts v3.5.0 requires php (>=8.1)
Expected Behavior: The package should install correctly with PHP 7.4, as indicated in the requirements on the documentation page.
Observed Behavior: Composer throws an error, indicating that a dependency (symfony/deprecation-contracts) requires PHP 8.1 or higher.
Potential Solution: To maintain PHP 7.4 compatibility, consider updating the hubspot/api-client package to specify a compatible version constraint for symfony/deprecation-contracts (e.g., ^2.5.0), which supports PHP 7.4 or change the description
Thank you for looking into this issue!
PHP version: 7.4.33
Composer version: 2.7.1 2024-02-09 15:26:28
hubspot/api-client version: latest
The text was updated successfully, but these errors were encountered: