Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove reference to ILogger #1937

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 19 additions & 51 deletions tests/stub.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ namespace OCA\Files_Trashbin\Trash {

interface ITrashItem extends FileInfo {
public function getTrashBackend(): ITrashBackend;

public function getOriginalLocation(): string;

public function getDeletedTime(): int;

public function getTrashPath(): string;

public function isRootItem(): bool;

public function getUser(): IUser;

public function getTitle(): string;
Expand Down Expand Up @@ -659,38 +659,6 @@ namespace OCA\DAV\Connector\Sabre {
}
}

namespace OC\BackgroundJob {

use OCP\BackgroundJob\IJob;
use OCP\BackgroundJob\IJobList;
use OCP\ILogger;

abstract class TimedJob implements IJob {
public function execute(IJobList $jobList, ILogger $logger = null) {
}

abstract protected function run($argument);

public function setId(int $id) {
}

public function setLastRun(int $lastRun) {
}

public function setArgument($argument) {
}

public function getId() {
}

public function getLastRun() {
}

public function getArgument() {
}
}
}

namespace OC\Files\Mount {
use OC\Files\Filesystem;
use OC\Files\Storage\Storage;
Expand All @@ -705,10 +673,10 @@ namespace OC\Files\Mount {
protected $class;
protected $storageId;
protected $rootId = null;

/** @var int|null */
protected $mountId;

/**
* @param string|\OCP\Files\Storage\IStorage $storage
* @param string $mountpoint
Expand All @@ -721,7 +689,7 @@ namespace OC\Files\Mount {
public function __construct($storage, $mountpoint, $arguments = null, $loader = null, $mountOptions = null, $mountId = null) {
throw new \Exception('stub');
}

/**
* get complete path to the mount point, relative to data/
*
Expand All @@ -730,7 +698,7 @@ namespace OC\Files\Mount {
public function getMountPoint() {
throw new \Exception('stub');
}

/**
* Sets the mount point path, relative to data/
*
Expand All @@ -739,43 +707,43 @@ namespace OC\Files\Mount {
public function setMountPoint($mountPoint) {
throw new \Exception('stub');
}

/**
* @return \OCP\Files\Storage\IStorage
*/
public function getStorage() {
throw new \Exception('stub');
}

/**
* @return string
*/
public function getStorageId() {
throw new \Exception('stub');
}

/**
* @return int
*/
public function getNumericStorageId() {
throw new \Exception('stub');
}

/**
* @param string $path
* @return string
*/
public function getInternalPath($path) {
throw new \Exception('stub');
}

/**
* @param callable $wrapper
*/
public function wrapStorage($wrapper) {
throw new \Exception('stub');
}

/**
* Get a mount option
*
Expand All @@ -786,7 +754,7 @@ namespace OC\Files\Mount {
public function getOption($name, $default) {
throw new \Exception('stub');
}

/**
* Get all options for the mount
*
Expand All @@ -795,18 +763,18 @@ namespace OC\Files\Mount {
public function getOptions() {
throw new \Exception('stub');
}

/**
* @return int
*/
public function getStorageRootId() {
throw new \Exception('stub');
}

public function getMountId() {
throw new \Exception('stub');
}

public function getMountType() {
throw new \Exception('stub');
}
Expand Down
Loading