Open grant-ellis-skyscanner opened 1 year ago
So it means that latest release (2.1.9) is not compatible with PHP 8.1?
For me, It works with PHP 8.2
I get a PHP Deprecation warning on PHP 8.2:
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$requestOptions is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 33 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Hi All,
When installing V 2.2.0 through a fresh drupal Bynder contrib install on PHP 8.2.5 following deprecation errors are shown:
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$requestOptions is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 33 of /app/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php). (As the comment above)
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$package is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 35 of /app/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\BynderClient::$configuration is deprecated in Bynder\Api\BynderClient->__construct() (line 30 of /app/vendor/bynder/bynder-php-sdk/src/Bynder/Api/BynderClient.php).
I'm getting a lot of deprecations on PHP 8.2.
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$requestOptions is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 33 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$package is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 35 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\BynderClient::$configuration is deprecated in Bynder\Api\BynderClient->__construct() (line 30 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/BynderClient.php).
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$requestOptions is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 33 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$package is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 35 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\BynderClient::$configuration is deprecated in Bynder\Api\BynderClient->__construct() (line 30 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/BynderClient.php).
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$requestOptions is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 33 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\Impl\PermanentTokens\Configuration::$package is deprecated in Bynder\Api\Impl\PermanentTokens\Configuration->__construct() (line 35 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/Impl/PermanentTokens/Configuration.php).
Deprecated function: Creation of dynamic property Bynder\Api\BynderClient::$configuration is deprecated in Bynder\Api\BynderClient->__construct() (line 30 of /var/www/html/vendor/bynder/bynder-php-sdk/src/Bynder/Api/BynderClient.php).
Would it be possible to release a version of the SDK that supports PHP 8.x?