aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core/Command/Log
Commit message (Collapse)AuthorAgeFilesLines
* fix(phpunit): Remove some more withConsecutive callstechdebt/noid/prepare-phpunit10Joas Schilling2025-03-311-20/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-152-14/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Add SPDX headerAndy Scherzinger2024-05-132-34/+6
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Remove last calls to deprecated at matcher in tests/CoreCôme Chilliet2023-09-182-28/+23
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix tests and avoid PHP errors in themCôme Chilliet2021-11-231-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-122-10/+10
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-2/+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-092-2/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-252-14/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-12/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-272-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add Fatal logging optionTim Terhorst2019-10-021-0/+2
| | | | Signed-off-by: Tim Terhorst <mynamewastaken+gitlab@gmail.com>
* Set the default log rotate size to 100 MBMorris Jobke2018-04-111-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix depreccated getMock in Core/Command testsRoeland Jago Douma2016-09-012-6/+12
|
* Renamed test classes for file logging tests.Thomas Pulzer2016-07-221-1/+1
|
* Changed logtype to file instead of owncloud.Thomas Pulzer2016-07-222-6/+6
| | | | | | | | | | | | | | - Updated the config sample to point to log_type='file' - Renamed the Class for logfile logging to File in namespace 'OC\Log\'. Changed the occurrences of 'OC\Log\Owncloud' to 'OC\Log\File'. - Renamed the Class for log:file command to File in namespace 'OC\Core\Command\Log\File'. Changed registration of the command to use 'OC\Core\Command\Log\File'. - Changed default Syslog tag to Nextcloud - Retained backwards compatibility for configs with 'logtype' => 'owncloud' - Adjusted tests for the new file log. Closes #490.
* Changed name of default logfile from owncloud.log to nextcloud.log.Thomas Pulzer2016-07-041-2/+2
|
* Move tests/core/ to PSR-4Joas Schilling2016-05-192-0/+302