* Changed required version of PHP to avoid Fatal Error during library work #116
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Library doesn`t want to work properly on servers with PHP < 5.6
Tested on PHP version 5.4.45 and 5.5.38 .
When trying to get or send any kind of data -> we will get a fatal error:
Fatal error: Uncaught exception 'Bitrix24\Exceptions\Bitrix24IoException' with message 'in try[0] cURL error (code 3): No URL set!
' in /home/vendor/mesilov/bitrix24-php-sdk/src/bitrix24.php:508
Stack trace:
#0 /home/vendor/mesilov/bitrix24-php-sdk/src/bitrix24.php(1111): Bitrix24\Bitrix24->executeRequest('https://sotnik....', Array)
#1 /home/vendor/mesilov/bitrix24-php-sdk/src/bitrix24.php(1047): Bitrix24\Bitrix24->_call('user.current', Array)
#2 /home/vendor/mesilov/bitrix24-php-sdk/src/classes/user/user.php(28): Bitrix24\Bitrix24->call('user.current', Array)
#3 /home/index.php(23): Bitrix24\User\User->current()
#4 {main}
thrown in /home/vendor/mesilov/bitrix24-php-sdk/src/bitrix24.php on line 508