You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the correct lock constant when stream wrapper locks the file
$operation contains `0` value which results to `ValueError: flock(): Argument #2 ($operation) must be one of LOCK_SH, LOCK_EX, or LOCK_UN`
So we explicitly use `LOCK_SH`
0 commit comments