Fix logo image
Travis: skip phpcs in case of integration tests
stream_lock operation can use strict type checking when it's 0
PHP 7.1: Fixed issue with php-cs-fixer
Fix bug with StreamProcessor::stream_lock explained here antecedent/patchwork#27
Test php 7.1
test for setting post method when CURLOPT_POSTFIELDS set
Adds github pull request template
Set POST method when CURLOPT_POSTFIELDS is set
Fix parallel cURL requests: - Make sure all handles are inside an array so they can be removed properly when done - Remove handle as soon as done - Fix behaviour of curl_multi_exec to return last curl info - Also fix test, check for the second to last curl info and make sure the third returns false, not the second - CS fixes
php-cs-fixer introduced (php-vcr#173)
I have found a similar issue with flock on line 192 - the issue manifested because - somehow - this module conflicts with the php codesniffer module.
The main issue seems to be that the stream_lock method assumes that the $operation parameter is going to be a string representation of operation - which is strange because the operation constants should theoretically be available. What I found was that checking the numerical equivalent resolved the issue - however stream_lock doesn't seem to be validating the operation.
I'll check this out when I get to the office tomorrow - but I think the internals of this function could pass in operation as an integer, and that would allow consumers to call it using more appropriate methods - for example stream_lock(LOCK_EX)