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.4 deprecated #23

Open
querty888 opened this issue Dec 1, 2024 · 2 comments
Open

PHP 8.4 deprecated #23

querty888 opened this issue Dec 1, 2024 · 2 comments

Comments

@querty888
Copy link
Contributor

querty888 commented Dec 1, 2024

PHP Deprecated: Constant CURLOPT_BINARYTRANSFER is deprecated in /vendor/easmith/selectel-storage/src/SCurl.php on line 67

@querty888
Copy link
Contributor Author

Правиться вероятно так. Можете залить и обнвоить или вообще не поддерживается больше?

// Проверяем существование константы перед использованием
if (defined('CURLOPT_BINARYTRANSFER')) {
    curl_setopt($this->ch, CURLOPT_BINARYTRANSFER, true);
}

@querty888
Copy link
Contributor Author

querty888 commented Dec 1, 2024

Попробовал сделать Pull request. Если всё ок, добавьте пожалуйста. Чтобы через composer можно было использовать

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

1 participant