Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-03-24Migrate from ILogger to LoggerInterface where needed in the testsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-12Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke
\PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
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>
2020-04-09Unify function spacing to PSR2 recommendationChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Use the shorter phpunit syntax for mocked return valuesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-02Add message for DoesNotExistExceptionDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-14when we receive intentional empty whats new info, do not try to show itArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-11-27Mode to modern phpunitRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-27Make phpunit8 compatibleRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-20Do not check for updates if we have no internetRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-05Backend work to provide NC whats New info to usersArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-29adjust testsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-29adjust backend and gui to update and changelog serverArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-06-29adjust testsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-03-20Show EOL warning in the update sectionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-12-18Cache final result of update checkMorris Jobke
If the parsed data is not a valid response we should not cache it and only cache the preprocessed result set. Fixes #7442 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-10-24Use ::class in test mocksMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-01Update the URLs in tests to use example.orgMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-12-06Document updater channel & check for correct PHP version in updaterMorris Jobke
* see https://github.com/nextcloud/updater/issues/53 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-09-27Use the same URL everywhereJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27Return the autoupdater value from the serverJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-08Change updater URLJoas Schilling
2016-09-07Fix getMock UpdaterRoeland Jago Douma
2016-09-07fix testsMorris Jobke
2016-09-06Deprecate getEditionString()Joas Schilling
2016-05-20Move tests/ to PSR-4 (#24731)Joas Schilling
* 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