Skip to content

Commit

Permalink
fix(CI): Fix casing of stubs for psalm
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Jun 20, 2024
1 parent 88414a2 commit f734a31
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions tests/stub.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace OC\User {
class NoUserException extends \Exception {}
}

namespace Sabre\Dav {
namespace Sabre\DAV {
class ServerPlugin {}

class INode {
Expand Down Expand Up @@ -94,7 +94,7 @@ namespace OCA\DAV\Upload {
class FutureFile extends \Sabre\Dav\INode {}
}

namespace Sabre\Http {
namespace Sabre\HTTP {
class RequestInterface {
public function getPath(): string {}
public function getUrl(): string {}
Expand All @@ -116,7 +116,7 @@ namespace Sabre\Http {
}
}

namespace Sabre\Dav\Exception {
namespace Sabre\DAV\Exception {
class Conflict extends \Exception {}

class NotFound extends \Exception {}
Expand Down Expand Up @@ -371,10 +371,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 @@ -387,7 +387,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 @@ -396,7 +396,7 @@ namespace OC\Files\Mount {
public function getMountPoint() {
throw new \Exception('stub');
}

/**
* Sets the mount point path, relative to data/
*
Expand All @@ -405,43 +405,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 @@ -452,7 +452,7 @@ namespace OC\Files\Mount {
public function getOption($name, $default) {
throw new \Exception('stub');
}

/**
* Get all options for the mount
*
Expand All @@ -461,18 +461,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 f734a31

Please sign in to comment.