summaryrefslogtreecommitdiffstats
path: root/tests/lib/Calendar
Commit message (Collapse)AuthorAgeFilesLines
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-9/+9
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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 the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-253-36/+36
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-273-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-223-8/+8
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* RoomManager/ResourceManager: Inject IServerContainer instead of using OC ServerGeorg Ehrke2018-10-082-38/+60
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* adjust Calendar resource / room interfaces to use class implementationGeorg Ehrke2018-10-082-14/+50
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Calendar resource booking: unit tests / adding missing annotationsGeorg Ehrke2018-06-252-0/+188
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* implement CalendarManagerGeorg Ehrke2017-11-091-0/+214
Signed-off-by: Georg Ehrke <developer@georgehrke.com>