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

\Drupal\Component\Utility\Bytes::toInt() is deprecated in favor of \Drupal\Component\Utility\Bytes::toNumber() #75

Open
mglaman opened this issue Apr 21, 2023 · 1 comment
Labels
9.1.x archived Issues that are unlikely to work on in the future drupal-rector drupal-rector-covered This issue is covered in rector

Comments

@mglaman
Copy link
Owner

mglaman commented Apr 21, 2023

https://www.drupal.org/node/3162663

\Drupal\Component\Utility\Bytes::toInt() is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\Component\Utility\Bytes::toNumber() instead. The method is renamed because both methods will always return a float.

@bbrala
Copy link
Collaborator

bbrala commented Dec 23, 2023

@bbrala bbrala added drupal-rector drupal-rector-covered This issue is covered in rector labels Dec 23, 2023
@bbrala bbrala added the archived Issues that are unlikely to work on in the future label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9.1.x archived Issues that are unlikely to work on in the future drupal-rector drupal-rector-covered This issue is covered in rector
Projects
None yet
Development

No branches or pull requests

2 participants