nextcloud/lib/public
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
Authentication 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
Calendar Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Capabilities 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 Update license headers 2019-12-05 15:38:45 +01: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 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 Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Diagnostics Remove trailing whitespaces from comments 2020-04-09 16:09:23 +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
Files_FullTextSearch/Model 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
Http/Client Update license headers 2019-12-05 15:38:45 +01:00
L10N Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
LDAP Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Lock Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Lockdown Update license headers 2019-12-05 15:38:45 +01: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
Migration Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Notification Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
OCS Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Preview Update license headers 2019-12-05 15:38:45 +01:00
Remote Update license headers 2019-12-05 15:38:45 +01: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 Remove trailing whitespaces from comments 2020-04-09 16:09:23 +02:00
Security Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Session/Exceptions Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Settings 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
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
User Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
WorkflowEngine Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
API.php Update license headers 2019-12-05 15:38:45 +01:00
App.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
AutoloadNotAllowedException.php Update license headers 2019-12-05 15:38:45 +01:00
BackgroundJob.php Update license headers 2019-12-05 15:38:45 +01:00
Constants.php Update license headers 2019-12-05 15:38:45 +01:00
Defaults.php Update license headers 2019-12-05 15:38:45 +01:00
Files.php Remove trailing and in between spaces 2020-04-09 16:07:47 +02:00
GroupInterface.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IAddressBook.php Update license headers 2019-12-05 15:38:45 +01:00
IAppConfig.php Update license headers 2019-12-05 15:38:45 +01:00
IAvatar.php Update license headers 2019-12-05 15:38:45 +01:00
IAvatarManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ICache.php Update license headers 2019-12-05 15:38:45 +01:00
ICacheFactory.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ICertificate.php Update license headers 2019-12-05 15:38:45 +01:00
ICertificateManager.php Update license headers 2019-12-05 15:38:45 +01:00
IConfig.php Update license headers 2019-12-05 15:38:45 +01:00
IContainer.php Update license headers 2019-12-05 15:38:45 +01:00
IDateTimeFormatter.php Update license headers 2019-12-05 15:38:45 +01:00
IDateTimeZone.php Update license headers 2019-12-05 15:38:45 +01:00
IDBConnection.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IEventSource.php Update license headers 2019-12-05 15:38:45 +01:00
IGroup.php Update license headers 2019-12-05 15:38:45 +01:00
IGroupManager.php Update license headers 2019-12-05 15:38:45 +01:00
IImage.php Update license headers 2019-12-05 15:38:45 +01:00
IInitialStateService.php Update license headers 2019-12-05 15:38:45 +01:00
IL10N.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
ILogger.php Update license headers 2019-12-05 15:38:45 +01:00
Image.php Update license headers 2019-12-05 15:38:45 +01:00
IMemcache.php Update license headers 2019-12-05 15:38:45 +01:00
IMemcacheTTL.php Update license headers 2019-12-05 15:38:45 +01:00
INavigationManager.php Update license headers 2019-12-05 15:38:45 +01:00
IPreview.php Update license headers 2019-12-05 15:38:45 +01:00
IRequest.php Update license headers 2019-12-05 15:38:45 +01:00
ISearch.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IServerContainer.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
ISession.php Update license headers 2019-12-05 15:38:45 +01:00
ITagManager.php Fix multiline comments 2020-04-08 22:24:54 +02:00
ITags.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ITempManager.php Update license headers 2019-12-05 15:38:45 +01:00
IURLGenerator.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
IUser.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
IUserBackend.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IUserManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
IUserSession.php Update license headers 2019-12-05 15:38:45 +01:00
PreConditionNotMetException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SabrePluginEvent.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
SabrePluginException.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Share.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Share_Backend.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Share_Backend_Collection.php Update license headers 2019-12-05 15:38:45 +01:00
Share_Backend_File_Dependent.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Template.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
User.php Update license headers 2019-12-05 15:38:45 +01:00
UserInterface.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Util.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00