-
Notifications
You must be signed in to change notification settings - Fork 256
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
Deprecation functions - PHP 8.1 #364
Comments
Worked in php 7.4 upgraded to 8.1 and lots of things broke It appears " $this->getDescription())); " has to be changed to " $this->getDescription()?: "")); " on the listed lines above to escape passing the NULL |
Add this one to the list:
|
Is there a plan to upgrade this to work with php 8.1? |
we have the php-ups-api running under PHP 8.2 without any problems. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can see a lot of deprecations when try to use id on PHP 8.1
`Deprecated: DOMDocument::createElement(): Passing null to parameter #2 ($value) of type string is deprecated in /var/www/vendor/gabrielbull/ups-api/src/Entity/PickupType.php on line 46
Deprecated: DOMDocument::createElement(): Passing null to parameter #2 ($value) of type string is deprecated in /var/www/vendor/gabrielbull/ups-api/src/Entity/Service.php on line 160
Deprecated: DOMDocument::createElement(): Passing null to parameter #2 ($value) of type string is deprecated in /var/www/vendor/gabrielbull/ups-api/src/Entity/ShipTo.php on line 145
Deprecated: DOMDocument::createElement(): Passing null to parameter #2 ($value) of type string is deprecated in /var/www/vendor/gabrielbull/ups-api/src/Entity/ShipTo.php on line 146
Deprecated: DOMDocument::createElement(): Passing null to parameter #2 ($value) of type string is deprecated in /var/www/vendor/gabrielbull/ups-api/src/Entity/PackagingType.php on line 96
Deprecated: DOMDocument::createElement(): Passing null to parameter #2 ($value) of type string is deprecated in /var/www/vendor/gabrielbull/ups-api/src/Entity/UnitOfMeasurement.php on line 105
Deprecated: DOMDocument::createElement(): Passing null to parameter #2 ($value) of type string is deprecated in /var/www/vendor/gabrielbull/ups-api/src/Entity/UnitOfMeasurement.php on line 105`
The text was updated successfully, but these errors were encountered: