Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Held <ilovemilk@wusa.io>2018-09-14 22:00:39 +0300
committerMatthias Held <ilovemilk@wusa.io>2018-09-14 22:00:39 +0300
commitc1f439e6b3b713ecdfa600dbb44f53dd5d768230 (patch)
treec1d14974b4d63e99cd512d2250f9162b25ae530b /lib
parentd4c8484a92b4c372091c5204333501368aed8c90 (diff)
Extend tests
Signed-off-by: Matthias Held <matthias.held@uni-konstanz.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/StorageWrapper.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/StorageWrapper.php b/lib/StorageWrapper.php
index 6809081..17f18e3 100644
--- a/lib/StorageWrapper.php
+++ b/lib/StorageWrapper.php
@@ -44,18 +44,6 @@ class StorageWrapper extends Wrapper
}
/**
- * Makes it easier to test.
- *
- * @param IStorage $storage
- * @param string $path
- * @param int $mode
- */
- protected function analyze(IStorage $storage, $path, $mode)
- {
- return $this->monitor->analyze($storage, $path, $mode);
- }
-
- /**
* see http://php.net/manual/en/function.mkdir.php.
*
* @param string $path
@@ -256,4 +244,16 @@ class StorageWrapper extends Wrapper
return $this->storage->moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
}
+
+ /**
+ * Makes it easier to test.
+ *
+ * @param IStorage $storage
+ * @param string $path
+ * @param int $mode
+ */
+ protected function analyze(IStorage $storage, $path, $mode)
+ {
+ return $this->monitor->analyze($storage, $path, $mode);
+ }
}