PhutilFileLockException does not exist. Per https://we.phorge.it/source/arcanist/browse/master/src/filesystem/PhutilFileLock.php$54-66 , if lock acquisition fails it is supposed to throw a PhutilLockException instead.
Details
Details
- Reviewers
valerio.bozzolan - Group Reviewers
O1: Blessed Committers - Commits
- rARC6250296648fa: Correct call to non-existing PhutilFileLockException in support/unit/lock.php
Grep the code base.
Or, run this, from arcanist, from two different terminals:
php ./support/unit/lock.php asd.txt
After this change, the exception is correctly managed.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- NEPhutilFileLockException (branched from master)
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 1262 Build 1262: arc lint + arc unit