aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Memcache
Commit message (Collapse)AuthorAgeFilesLines
* Add visibility to all constantsChristoph Wurst2020-04-101-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-102-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | | | | 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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Skip redis if not configuredRoeland Jago Douma2019-11-271-0/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-275-7/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * 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>
* Drop support for xcacheDaniel Kesselberg2018-08-121-22/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Made the cache factory strictRoeland Jago Douma2018-01-161-4/+5
| | | | | | | | | * Return types * Typehints * made strict * fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use ::class in test mocksMorris Jobke2017-10-241-2/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make cache tests a bit more clearMorris Jobke2017-05-041-0/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Restoring the error handler within the error handler causes unexpected resultsJoas Schilling2017-04-201-3/+10
| | | | | | | See http://php.net/manual/en/function.restore-error-handler.php#120879 for more information. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Kill APC because it requires PHP 5.4Joas Schilling2017-01-051-26/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Extend APCu test with int CASRoeland Jago Douma2016-12-211-0/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-209-0/+516
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader