Browse Source

Move files_versions to PSR-4 (#24571)

tags/v9.1.0beta1
Joas Schilling 8 years ago
parent
commit
b57f3126eb

+ 1
- 0
apps/files_versions/appinfo/info.xml View File

@@ -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>

apps/files_versions/appinfo/application.php → apps/files_versions/lib/AppInfo/Application.php View File


apps/files_versions/lib/backgroundjob/expireversions.php → apps/files_versions/lib/BackgroundJob/ExpireVersions.php View File


apps/files_versions/lib/capabilities.php → apps/files_versions/lib/Capabilities.php View File


apps/files_versions/command/cleanup.php → apps/files_versions/lib/Command/CleanUp.php View File


apps/files_versions/command/expire.php → apps/files_versions/lib/Command/Expire.php View File


apps/files_versions/lib/expiration.php → apps/files_versions/lib/Expiration.php View File


apps/files_versions/lib/hooks.php → apps/files_versions/lib/Hooks.php View File


apps/files_versions/lib/storage.php → apps/files_versions/lib/Storage.php View File


apps/files_versions/tests/command/cleanuptest.php → apps/files_versions/tests/Command/CleanupTest.php View File


apps/files_versions/tests/command/expiretest.php → apps/files_versions/tests/Command/ExpireTest.php View File


apps/files_versions/tests/expirationtest.php → apps/files_versions/tests/ExpirationTest.php View File

@@ -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(){

apps/files_versions/tests/versions.php → apps/files_versions/tests/VersioningTest.php View File

@@ -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';

Loading…
Cancel
Save