phpSPO icon indicating copy to clipboard operation
phpSPO copied to clipboard

Use global namespace for cURL functions

Open yani opened this issue 7 years ago • 0 comments

When cURL is not installed, it will throw an error that the function Office365\PHP\Client\Runtime\Utilities\curn_init() does not exist at line 96 in src/Runtime/Utilities/Requests.php. Both the namespace and the global namespace are checked, but the error gets thrown in the namespace. It would be better to force the global namespace so that this error will not get misinterpreted for a missing internal method.

yani avatar Feb 22 '19 11:02 yani