kenjis / ci-phpunit-test

An easier way to use PHPUnit with CodeIgniter 3.x.
http://kenjis.github.io/ci-phpunit-test/
MIT License
586 stars 195 forks source link

flock(): Illegal operation argument #377

Closed codeasashu closed 3 years ago

codeasashu commented 3 years ago

Getting this error as soon as I enabled monkey patching.

A PHP Error was encountered

Severity:    Warning
Message:     flock(): Illegal operation argument
Filename:    /Users/ashutoshchaudhary/code/office/php/asterisk/engine-obd/application/tests/_ci_phpunit_test/patcher/IncludeStream.php
Line Number: 212
codeasashu commented 3 years ago

@kenjis PR #378 seems to fix this. Kindly review

kenjis commented 3 years ago

@codeasashu If you know what code causes the error, could you tell me what it is? Or could you show me how to reproduce the error?

kenjis commented 3 years ago

Fixed in #378