diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2016-05-12 09:49:15 +0200 |
---|---|---|
committer | Thomas Müller <DeepDiver1975@users.noreply.github.com> | 2016-05-12 09:49:15 +0200 |
commit | b57f3126eb445e5dfdc8154412a2fb40444c4641 (patch) | |
tree | 7c7a84eeebd69b7cfbbb67907088499018ff8025 /apps | |
parent | d5dee805806c1af5774040e3a1f40e7d1914758e (diff) | |
download | nextcloud-server-b57f3126eb445e5dfdc8154412a2fb40444c4641.tar.gz nextcloud-server-b57f3126eb445e5dfdc8154412a2fb40444c4641.zip |
Move files_versions to PSR-4 (#24571)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_versions/appinfo/info.xml | 1 | ||||
-rw-r--r-- | apps/files_versions/lib/AppInfo/Application.php (renamed from apps/files_versions/appinfo/application.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/lib/BackgroundJob/ExpireVersions.php (renamed from apps/files_versions/lib/backgroundjob/expireversions.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/lib/Capabilities.php (renamed from apps/files_versions/lib/capabilities.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/lib/Command/CleanUp.php (renamed from apps/files_versions/command/cleanup.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/lib/Command/Expire.php (renamed from apps/files_versions/command/expire.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/lib/Expiration.php (renamed from apps/files_versions/lib/expiration.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/lib/Hooks.php (renamed from apps/files_versions/lib/hooks.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/lib/Storage.php (renamed from apps/files_versions/lib/storage.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/tests/Command/CleanupTest.php (renamed from apps/files_versions/tests/command/cleanuptest.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/tests/Command/ExpireTest.php (renamed from apps/files_versions/tests/command/expiretest.php) | 0 | ||||
-rw-r--r-- | apps/files_versions/tests/ExpirationTest.php (renamed from apps/files_versions/tests/expirationtest.php) | 2 | ||||
-rw-r--r-- | apps/files_versions/tests/VersioningTest.php (renamed from apps/files_versions/tests/versions.php) | 4 |
13 files changed, 5 insertions, 2 deletions
diff --git a/apps/files_versions/appinfo/info.xml b/apps/files_versions/appinfo/info.xml index ad0354a5101..c70e58a12b2 100644 --- a/apps/files_versions/appinfo/info.xml +++ b/apps/files_versions/appinfo/info.xml @@ -13,6 +13,7 @@ In addition to the expiry of versions, ownCloud’s versions app makes certain n <types> <filesystem/> </types> + <namespace>Files_Versions</namespace> <dependencies> <owncloud min-version="9.1" max-version="9.1" /> </dependencies> diff --git a/apps/files_versions/appinfo/application.php b/apps/files_versions/lib/AppInfo/Application.php index b32cf54729d..b32cf54729d 100644 --- a/apps/files_versions/appinfo/application.php +++ b/apps/files_versions/lib/AppInfo/Application.php diff --git a/apps/files_versions/lib/backgroundjob/expireversions.php b/apps/files_versions/lib/BackgroundJob/ExpireVersions.php index 8e14e65b9a7..8e14e65b9a7 100644 --- a/apps/files_versions/lib/backgroundjob/expireversions.php +++ b/apps/files_versions/lib/BackgroundJob/ExpireVersions.php diff --git a/apps/files_versions/lib/capabilities.php b/apps/files_versions/lib/Capabilities.php index 441b2adfba3..441b2adfba3 100644 --- a/apps/files_versions/lib/capabilities.php +++ b/apps/files_versions/lib/Capabilities.php diff --git a/apps/files_versions/command/cleanup.php b/apps/files_versions/lib/Command/CleanUp.php index 1abf62763b1..1abf62763b1 100644 --- a/apps/files_versions/command/cleanup.php +++ b/apps/files_versions/lib/Command/CleanUp.php diff --git a/apps/files_versions/command/expire.php b/apps/files_versions/lib/Command/Expire.php index b1f72980633..b1f72980633 100644 --- a/apps/files_versions/command/expire.php +++ b/apps/files_versions/lib/Command/Expire.php diff --git a/apps/files_versions/lib/expiration.php b/apps/files_versions/lib/Expiration.php index ffc7640e7f9..ffc7640e7f9 100644 --- a/apps/files_versions/lib/expiration.php +++ b/apps/files_versions/lib/Expiration.php diff --git a/apps/files_versions/lib/hooks.php b/apps/files_versions/lib/Hooks.php index beaf81c7471..beaf81c7471 100644 --- a/apps/files_versions/lib/hooks.php +++ b/apps/files_versions/lib/Hooks.php diff --git a/apps/files_versions/lib/storage.php b/apps/files_versions/lib/Storage.php index 3c23f2f730a..3c23f2f730a 100644 --- a/apps/files_versions/lib/storage.php +++ b/apps/files_versions/lib/Storage.php diff --git a/apps/files_versions/tests/command/cleanuptest.php b/apps/files_versions/tests/Command/CleanupTest.php index af217b18893..af217b18893 100644 --- a/apps/files_versions/tests/command/cleanuptest.php +++ b/apps/files_versions/tests/Command/CleanupTest.php diff --git a/apps/files_versions/tests/command/expiretest.php b/apps/files_versions/tests/Command/ExpireTest.php index f89ece82515..f89ece82515 100644 --- a/apps/files_versions/tests/command/expiretest.php +++ b/apps/files_versions/tests/Command/ExpireTest.php diff --git a/apps/files_versions/tests/expirationtest.php b/apps/files_versions/tests/ExpirationTest.php index 2dfff19f230..2486b9c85c8 100644 --- a/apps/files_versions/tests/expirationtest.php +++ b/apps/files_versions/tests/ExpirationTest.php @@ -24,7 +24,7 @@ namespace OCA\Files_Versions\Tests; use \OCA\Files_Versions\Expiration; -class Expiration_Test extends \Test\TestCase { +class ExpirationTest extends \Test\TestCase { const SECONDS_PER_DAY = 86400; //60*60*24 public function expirationData(){ diff --git a/apps/files_versions/tests/versions.php b/apps/files_versions/tests/VersioningTest.php index b8e68cfadf7..354ff6ee5e9 100644 --- a/apps/files_versions/tests/versions.php +++ b/apps/files_versions/tests/VersioningTest.php @@ -29,6 +29,8 @@ * */ +namespace OCA\Files_Versions\Tests; + require_once __DIR__ . '/../appinfo/app.php'; use OC\Files\Storage\Temporary; @@ -39,7 +41,7 @@ use OC\Files\Storage\Temporary; * * @group DB */ -class Test_Files_Versioning extends \Test\TestCase { +class VersioningTest extends \Test\TestCase { const TEST_VERSIONS_USER = 'test-versions-user'; const TEST_VERSIONS_USER2 = 'test-versions-user2'; |