summaryrefslogtreecommitdiffstats
path: root/lib/public/Util.php
Commit message (Collapse)AuthorAgeFilesLines
* Add visibility to all constantsChristoph Wurst2020-04-101-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-2/+3
| | | | | | | | | | | | | | | 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>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use lowercase true, false and null constantsChristoph Wurst2020-03-251-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-4/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Add extendedSupport to SubscriptionJulius Härtl2019-06-171-3/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove deprecated function callCheckRoeland Jago Douma2019-05-281-16/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #11686 from ↵Morris Jobke2018-10-091-0/+1
|\ | | | | | | | | nextcloud/deprecation/noid/ocp_util_recursiveArraySearch Deprecate unused OCP\Util::recursiveArraySearch
| * Deprecate unused OCP\Util::recursiveArraySearchMorris Jobke2018-10-081-0/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Deprecate unused, private OC_Helper::linkToPublicMorris Jobke2018-10-081-1/+6
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deprecated methods from OCP\UtilRoeland Jago Douma2018-09-041-44/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Comply @since requirementsJohn Molakvoæ (skjnldsv)2018-07-231-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Design structure fixesJohn Molakvoæ (skjnldsv)2018-07-211-0/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix PHPDocMorris Jobke2018-05-221-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* move log constants to ILoggerArthur Schiwon2018-04-261-2/+16
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Remove deprecated URL functions for OCP\UtilRoeland Jago Douma2018-03-131-39/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove unused and deprecated methods from OCP\UtilMorris Jobke2018-03-121-101/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused import statementsMorris Jobke2018-02-141-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove deprecated functions for OCP\UtilRoeland Jago Douma2018-01-131-26/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Doc: Fix phpDoc issuesJulius Härtl2017-10-231-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix \OCP\UtilLukas Reschke2017-08-011-3/+5
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Some phpstorm inspection fixesRoeland Jago Douma2017-07-221-16/+16
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Deprecate static writeLog() methodMorris Jobke2017-06-231-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use SystemConfig instead of AllConfig for DB stuffMorris Jobke2017-03-191-1/+1
| | | | | | * preparation for followup PRs to clean up the DB bootstrapping Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use correct channel informationMorris Jobke2016-11-291-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2016-11-151-1/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move away from OC_L10NRoeland Jago Douma2016-10-281-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* write channel to config file when changedMorris Jobke2016-09-261-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-3/+4
|
* [master] Port Same-Site Cookies to masterLukas Reschke2016-07-201-0/+5
| | | | Fixes https://github.com/nextcloud/server/issues/50
* Fix case with no userRoeland Jago Douma2016-06-141-1/+6
|
* Optimize isSharingDisabledForuserRoeland Jago Douma2016-06-141-5/+9
|
* Update license headersLukas Reschke2016-05-261-4/+4
|
* Move \OCP to PSR-4Roeland Jago Douma2016-05-191-0/+697