[Pkg-owncloud-commits] [php-sabredav] 60/66: Updated changelog. Fixed some CS issues.
David Prévot
taffit at moszumanska.debian.org
Wed May 27 13:56:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag 3.0.0-alpha1
in repository php-sabredav.
commit b6780d8513501a44d8f1ed0de7ddc91d74c5e37a
Author: Evert Pot <me at evertpot.com>
Date: Tue May 19 13:43:42 2015 +0300
Updated changelog. Fixed some CS issues.
---
CHANGELOG.md | 1 +
lib/DAV/Browser/HtmlOutputHelper.php | 22 +++++++++++-----------
lib/DAVACL/FS/HomeCollection.php | 2 +-
3 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c6425e5..7da36a2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,7 @@ ChangeLog
* #654: Added a collection, `Sabre\DAVACL\FS\HomeCollection` for automatically
creating a private home collection per-user.
* Changed all MySQL columns from `VARCHAR` to `VARBINARY` where possible.
+* Improved older migration scripts a bit to allow easier testing.
2.2.0-alpha4 (2015-04-13)
diff --git a/lib/DAV/Browser/HtmlOutputHelper.php b/lib/DAV/Browser/HtmlOutputHelper.php
index 45f4fd3..907d873 100644
--- a/lib/DAV/Browser/HtmlOutputHelper.php
+++ b/lib/DAV/Browser/HtmlOutputHelper.php
@@ -67,10 +67,10 @@ class HtmlOutputHelper {
}
/**
- * Escape string for HTML output.
+ * Escape string for HTML output.
*
- * @param string $input
- * @return string
+ * @param string $input
+ * @return string
*/
function h($input) {
@@ -82,11 +82,11 @@ class HtmlOutputHelper {
* Generates a full <a>-tag.
*
* Url is automatically expanded. If label is not specified, we re-use the
- * url.
- *
- * @param string $url
- * @param string $label
- * @return string
+ * url.
+ *
+ * @param string $url
+ * @param string $label
+ * @return string
*/
function link($url, $label = null) {
@@ -97,10 +97,10 @@ class HtmlOutputHelper {
/**
* This method takes an xml element in clark-notation, and turns it into a
- * shortened version with a prefix, if it was a known namespace.
- *
+ * shortened version with a prefix, if it was a known namespace.
+ *
* @param string $element
- * @return string
+ * @return string
*/
function xmlName($element) {
diff --git a/lib/DAVACL/FS/HomeCollection.php b/lib/DAVACL/FS/HomeCollection.php
index 5322079..28825c3 100644
--- a/lib/DAVACL/FS/HomeCollection.php
+++ b/lib/DAVACL/FS/HomeCollection.php
@@ -89,7 +89,7 @@ class HomeCollection extends AbstractPrincipalCollection implements IACL {
];
list(, $principalBaseName) = Uri\split($owner);
-
+
$path = $this->storagePath . '/' . $principalBaseName;
if (!is_dir($path)) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list