From 173836b95af7cdc87cb603c5d98494b02242a949 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 15 Feb 2019 22:41:29 +0100 Subject: [PATCH] typos in doc, no code changes Signed-off-by: Arthur Schiwon --- apps/files_external/lib/Config/SimpleSubstitutionTrait.php | 4 ++-- apps/files_external/lib/Service/BackendService.php | 5 +++-- apps/files_external/lib/config.php | 1 + .../tests/Config/UserPlaceholderHandlerTest.php | 2 +- apps/files_external/tests/Service/BackendServiceTest.php | 1 + 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/apps/files_external/lib/Config/SimpleSubstitutionTrait.php b/apps/files_external/lib/Config/SimpleSubstitutionTrait.php index 9abbfe0df2..05bd529f1c 100644 --- a/apps/files_external/lib/Config/SimpleSubstitutionTrait.php +++ b/apps/files_external/lib/Config/SimpleSubstitutionTrait.php @@ -1,6 +1,6 @@ + * @copyright Copyright (c) 2019 Arthur Schiwon * * @author Arthur Schiwon * @@ -31,7 +31,7 @@ namespace OCA\Files_External\Config; */ trait SimpleSubstitutionTrait { /** - * @var string the placeholder without @ prefix + * @var string the placeholder without $ prefix * @since 16.0.0 */ private $placeholder; diff --git a/apps/files_external/lib/Service/BackendService.php b/apps/files_external/lib/Service/BackendService.php index 3c66e8eb3c..bd4d2bffa7 100644 --- a/apps/files_external/lib/Service/BackendService.php +++ b/apps/files_external/lib/Service/BackendService.php @@ -4,6 +4,7 @@ * * @author Morris Jobke * @author Robin McCorkell + * @author Arthur Schiwon * * @license AGPL-3.0 * @@ -292,8 +293,8 @@ class BackendService { * * The function of the provided $placeholder is mostly to act a sorting * criteria, so longer placeholders are replaced first. This avoids - * "@user" overwriting parts of "@userMail" and "@userLang", for example. - * The provided value should not contain the @ prefix, only a-z0-9 are + * "$user" overwriting parts of "$userMail" and "$userLang", for example. + * The provided value should not contain the $ prefix, only a-z0-9 are * allowed. Upper case letters are lower cased, the replacement is case- * insensitive. * diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index 86be517bf0..65e8ae387b 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -3,6 +3,7 @@ * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Andreas Fischer + * @author Arthur Schiwon * @author Bart Visscher * @author Björn Schießle * @author Frank Karlitschek diff --git a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php index d44a146cc8..b6103c20b4 100644 --- a/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php +++ b/apps/files_external/tests/Config/UserPlaceholderHandlerTest.php @@ -1,6 +1,6 @@ + * @copyright Copyright (c) 2019 Arthur Schiwon * * @author Arthur Schiwon * diff --git a/apps/files_external/tests/Service/BackendServiceTest.php b/apps/files_external/tests/Service/BackendServiceTest.php index 1e3b6b5875..71990553e8 100644 --- a/apps/files_external/tests/Service/BackendServiceTest.php +++ b/apps/files_external/tests/Service/BackendServiceTest.php @@ -220,6 +220,7 @@ class BackendServiceTest extends \Test\TestCase { public function invalidConfigPlaceholderProvider() { return [ [['@user']], + [['$user']], [['hællo']], [['spa ce']], [['yo\o']],