nextcloud/lib/private
Christoph Wurst caff1023ea
Format control structures, classes, methods and function
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-10 14:19:56 +02:00
..
Accounts Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Activity Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
App Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
AppFramework Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Archive Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Authentication Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Avatar Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
BackgroundJob Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Collaboration Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Command Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Comments Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Console Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Contacts/ContactsMenu Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Dashboard Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DB Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Diagnostics Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DirectEditing Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Encryption Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
EventDispatcher Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Federation Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Files Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
FullTextSearch Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Hooks Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Http Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IntegrityCheck Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
L10N Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
legacy Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Lock Use elseif instead of else if 2020-04-10 10:35:09 +02:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Mail Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Memcache Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Migration Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Notification Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
OCS Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Preview Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Remote Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Repair Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RichObjectStrings Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Route Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Search Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Security Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Session Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Settings Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
Setup Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Share Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Share20 Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Support Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemTag Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Tagging Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Template Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Updater Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
User Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
AllConfig.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
AppConfig.php Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
CapabilitiesManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Color.php Remove space between switch case and colon 2020-04-09 16:17:53 +02:00
Config.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ContactsManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
DatabaseException.php Update license headers 2019-12-05 15:38:45 +01:00
DatabaseSetupException.php Update license headers 2019-12-05 15:38:45 +01:00
DateTimeFormatter.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
DateTimeZone.php Remove trailing whitespaces from comments 2020-04-09 16:09:23 +02:00
ForbiddenException.php Update license headers 2019-12-05 15:38:45 +01:00
HintException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateService.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Installer.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LargeFileHelper.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MemoryInfo.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NaturalSort.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NaturalSort_DefaultCollator.php Update license headers 2019-12-05 15:38:45 +01:00
NavigationManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NeedsUpdateException.php Update license headers 2019-12-05 15:38:45 +01:00
NotSquareException.php Update license headers 2019-12-05 15:38:45 +01:00
PreviewManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
PreviewNotAvailableException.php Update license headers 2019-12-05 15:38:45 +01:00
RedisFactory.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Repair.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
RepairException.php Update license headers 2019-12-05 15:38:45 +01:00
Search.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Server.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServerContainer.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
ServerNotAvailableException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServiceUnavailableException.php Update license headers 2019-12-05 15:38:45 +01:00
Setup.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Streamer.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SubAdmin.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemConfig.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
TagManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Tags.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TemplateLayout.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
TempManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Updater.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
URLGenerator.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00