Skip to content

Commit

Permalink
Merge pull request #1937 from nextcloud/artonge/chore/remove_ilogger
Browse files Browse the repository at this point in the history
chore: Remove reference to ILogger
  • Loading branch information
ArtificialOwl authored Sep 26, 2024
2 parents 2d27655 + 36ed381 commit 364ce95
Showing 1 changed file with 19 additions and 51 deletions.
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

0 comments on commit 364ce95

Please sign in to comment.