1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-18 11:30:54 +01:00
phorge-arcanist/support/unit
Andre Klapper 6250296648 Correct call to non-existing PhutilFileLockException in support/unit/lock.php
Summary: `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.

Test Plan:
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.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25641
2024-05-30 14:36:03 +02:00
..
cat.php Merge utility/support changes from "wilds" to "master" 2020-02-13 14:10:09 -08:00
echo.php Merge utility/support changes from "wilds" to "master" 2020-02-13 14:10:09 -08:00
exit.php Merge utility/support changes from "wilds" to "master" 2020-02-13 14:10:09 -08:00
lock.php Correct call to non-existing PhutilFileLockException in support/unit/lock.php 2024-05-30 14:36:03 +02:00
sleep.php Merge utility/support changes from "wilds" to "master" 2020-02-13 14:10:09 -08:00