Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.x compatibility #56

Open
grant-ellis-skyscanner opened this issue Mar 21, 2023 · 5 comments
Open

PHP 8.x compatibility #56

grant-ellis-skyscanner opened this issue Mar 21, 2023 · 5 comments

Comments

@grant-ellis-skyscanner
Copy link

Would it be possible to release a version of the SDK that supports PHP 8.x?

@kovinet
Copy link

kovinet commented Aug 23, 2023

So it means that latest release (2.1.9) is not compatible with PHP 8.1?

@Crovitche-1623
Copy link

For me, It works with PHP 8.2

@MrDaleSmith
Copy link

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).

@JensVranckxLiip
Copy link

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).

@BramDriesen
Copy link
Contributor

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).

ahongbynder pushed a commit that referenced this issue Aug 27, 2024
* Fix PHP 8.2 deprecation

* fix: PHP 8.2 deprecations fixed

* fix: PHP8.2 Deprecations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants