Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
ErrorException in Stream.php line 176: flock(): Illegal operation argument
I can fix this error by setting LOCK_EX
* master: 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
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