aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Lock
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-243-65/+8
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-022-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* composer run cs:fixCôme Chilliet2023-01-202-3/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Cleanup lock related codeCarl Schwan2022-05-121-19/+17
| | | | | | | | - Port to QueryBuilder - Improve the doc a bit - Add type hinting Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-043-5/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove @package annotations from public namespaceJulius Härtl2020-08-263-3/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* add proper paths to locking exceptionsRobin Appelman2020-06-302-3/+9
| | | | | | | while some code paths do wrap the "raw" locking exception into one with a proper path, not all of them do by adding the proper path to the original exception we ensure that we always have the usefull information in out logs Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* pass the existing locks info when making locked exception with absolute pathsRobin Appelman2020-03-021-0/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix license headersChristoph Wurst2020-01-131-6/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18080 from nextcloud/enhancement/noid/add-timeoutblizzz2019-12-201-0/+91
|\ | | | | adding timeout param
| * nullable paramsMaxence Lange2019-12-131-1/+1
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * +ManuallyLockedExceptionMaxence Lange2019-12-121-0/+91
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Update license headersChristoph Wurst2019-12-052-2/+8
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Log more info about locking conflicts for memcache locking backendsRobin Appelman2018-05-041-3/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Made locking providers strictRoeland Jago Douma2018-01-162-6/+8
| | | | | | | | * Added typehints * Added return types * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Replace wrong PHPDocsLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Update with robinJoas Schilling2016-07-212-2/+2
|
* Fix othersJoas Schilling2016-07-212-2/+4
|
* Move \OCP\Lock to PSR-4Roeland Jago Douma2016-05-182-0/+140