Completed
Push — master ( eaae5e...b8c6eb )
by
unknown
25:30
created
lib/public/AppFramework/Http/IOutput.php 1 patch
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -31,48 +31,48 @@
 block discarded – undo
31 31
  * @since 8.1.0
32 32
  */
33 33
 interface IOutput {
34
-	/**
35
-	 * @param string $out
36
-	 * @since 8.1.0
37
-	 */
38
-	public function setOutput($out);
34
+    /**
35
+     * @param string $out
36
+     * @since 8.1.0
37
+     */
38
+    public function setOutput($out);
39 39
 
40
-	/**
41
-	 * @param string|resource $path or file handle
42
-	 *
43
-	 * @return bool false if an error occurred
44
-	 * @since 8.1.0
45
-	 */
46
-	public function setReadfile($path);
40
+    /**
41
+     * @param string|resource $path or file handle
42
+     *
43
+     * @return bool false if an error occurred
44
+     * @since 8.1.0
45
+     */
46
+    public function setReadfile($path);
47 47
 
48
-	/**
49
-	 * @param string $header
50
-	 * @since 8.1.0
51
-	 */
52
-	public function setHeader($header);
48
+    /**
49
+     * @param string $header
50
+     * @since 8.1.0
51
+     */
52
+    public function setHeader($header);
53 53
 
54
-	/**
55
-	 * @return int returns the current http response code
56
-	 * @since 8.1.0
57
-	 */
58
-	public function getHttpResponseCode();
54
+    /**
55
+     * @return int returns the current http response code
56
+     * @since 8.1.0
57
+     */
58
+    public function getHttpResponseCode();
59 59
 
60
-	/**
61
-	 * @param int $code sets the http status code
62
-	 * @since 8.1.0
63
-	 */
64
-	public function setHttpResponseCode($code);
60
+    /**
61
+     * @param int $code sets the http status code
62
+     * @since 8.1.0
63
+     */
64
+    public function setHttpResponseCode($code);
65 65
 
66
-	/**
67
-	 * @param string $name
68
-	 * @param string $value
69
-	 * @param int $expire
70
-	 * @param string $path
71
-	 * @param string $domain
72
-	 * @param bool $secure
73
-	 * @param bool $httpOnly
74
-	 * @param string $sameSite (added in 20)
75
-	 * @since 8.1.0
76
-	 */
77
-	public function setCookie($name, $value, $expire, $path, $domain, $secure, $httpOnly, $sameSite = 'Lax');
66
+    /**
67
+     * @param string $name
68
+     * @param string $value
69
+     * @param int $expire
70
+     * @param string $path
71
+     * @param string $domain
72
+     * @param bool $secure
73
+     * @param bool $httpOnly
74
+     * @param string $sameSite (added in 20)
75
+     * @since 8.1.0
76
+     */
77
+    public function setCookie($name, $value, $expire, $path, $domain, $secure, $httpOnly, $sameSite = 'Lax');
78 78
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Http/ICallbackResponse.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
  * @since 8.1.0
31 31
  */
32 32
 interface ICallbackResponse {
33
-	/**
34
-	 * Outputs the content that should be printed
35
-	 *
36
-	 * @param IOutput $output a small wrapper that handles output
37
-	 * @since 8.1.0
38
-	 */
39
-	public function callback(IOutput $output);
33
+    /**
34
+     * Outputs the content that should be printed
35
+     *
36
+     * @param IOutput $output a small wrapper that handles output
37
+     * @since 8.1.0
38
+     */
39
+    public function callback(IOutput $output);
40 40
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Http/StrictInlineContentSecurityPolicy.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@
 block discarded – undo
42 42
  * @deprecated 17.0.0
43 43
  */
44 44
 class StrictInlineContentSecurityPolicy extends ContentSecurityPolicy {
45
-	/**
46
-	 * @since 14.0.0
47
-	 */
48
-	public function __construct() {
49
-		$this->inlineStyleAllowed = false;
50
-	}
45
+    /**
46
+     * @since 14.0.0
47
+     */
48
+    public function __construct() {
49
+        $this->inlineStyleAllowed = false;
50
+    }
51 51
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Http/StrictEvalContentSecurityPolicy.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@
 block discarded – undo
42 42
  * @deprecated 17.0.0
43 43
  */
44 44
 class StrictEvalContentSecurityPolicy extends ContentSecurityPolicy {
45
-	/**
46
-	 * @since 14.0.0
47
-	 */
48
-	public function __construct() {
49
-		$this->evalScriptAllowed = false;
50
-	}
45
+    /**
46
+     * @since 14.0.0
47
+     */
48
+    public function __construct() {
49
+        $this->evalScriptAllowed = false;
50
+    }
51 51
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Bootstrap/IBootContext.php 1 patch
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -35,43 +35,43 @@
 block discarded – undo
35 35
  * @since 20.0.0
36 36
  */
37 37
 interface IBootContext {
38
-	/**
39
-	 * Get hold of the app's container
40
-	 *
41
-	 * Useful to register and query app-specific services
42
-	 *
43
-	 * @return IAppContainer
44
-	 * @since 20.0.0
45
-	 */
46
-	public function getAppContainer(): IAppContainer;
38
+    /**
39
+     * Get hold of the app's container
40
+     *
41
+     * Useful to register and query app-specific services
42
+     *
43
+     * @return IAppContainer
44
+     * @since 20.0.0
45
+     */
46
+    public function getAppContainer(): IAppContainer;
47 47
 
48
-	/**
49
-	 * Get hold of the server DI container
50
-	 *
51
-	 * Useful to register and query system-wide services
52
-	 *
53
-	 * @return IServerContainer
54
-	 * @since 20.0.0
55
-	 */
56
-	public function getServerContainer(): IServerContainer;
48
+    /**
49
+     * Get hold of the server DI container
50
+     *
51
+     * Useful to register and query system-wide services
52
+     *
53
+     * @return IServerContainer
54
+     * @since 20.0.0
55
+     */
56
+    public function getServerContainer(): IServerContainer;
57 57
 
58
-	/**
59
-	 * Invoke the given callable and inject all parameters based on their types
60
-	 * and names
61
-	 *
62
-	 * Note: when used with methods, make sure they are public or use \Closure::fromCallable
63
-	 * to wrap the private method call, e.g.
64
-	 *  * `$context->injectFn([$obj, 'publicMethod'])`
65
-	 *  * `$context->injectFn([$this, 'publicMethod'])`
66
-	 *  * `$context->injectFn(\Closure::fromCallable([$this, 'privateMethod']))`
67
-	 *
68
-	 * Note: the app container will be queried
69
-	 *
70
-	 * @param callable $fn
71
-	 * @throws ContainerExceptionInterface if at least one of the parameter can't be resolved
72
-	 * @throws Throwable any error the function invocation might cause
73
-	 * @return mixed|null the return value of the invoked function, if any
74
-	 * @since 20.0.0
75
-	 */
76
-	public function injectFn(callable $fn);
58
+    /**
59
+     * Invoke the given callable and inject all parameters based on their types
60
+     * and names
61
+     *
62
+     * Note: when used with methods, make sure they are public or use \Closure::fromCallable
63
+     * to wrap the private method call, e.g.
64
+     *  * `$context->injectFn([$obj, 'publicMethod'])`
65
+     *  * `$context->injectFn([$this, 'publicMethod'])`
66
+     *  * `$context->injectFn(\Closure::fromCallable([$this, 'privateMethod']))`
67
+     *
68
+     * Note: the app container will be queried
69
+     *
70
+     * @param callable $fn
71
+     * @throws ContainerExceptionInterface if at least one of the parameter can't be resolved
72
+     * @throws Throwable any error the function invocation might cause
73
+     * @return mixed|null the return value of the invoked function, if any
74
+     * @since 20.0.0
75
+     */
76
+    public function injectFn(callable $fn);
77 77
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/IAppContainer.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -42,35 +42,35 @@
 block discarded – undo
42 42
  * @since 6.0.0
43 43
  */
44 44
 interface IAppContainer extends ContainerInterface, IContainer {
45
-	/**
46
-	 * used to return the appname of the set application
47
-	 * @return string the name of your application
48
-	 * @since 6.0.0
49
-	 * @deprecated 20.0.0
50
-	 */
51
-	public function getAppName();
45
+    /**
46
+     * used to return the appname of the set application
47
+     * @return string the name of your application
48
+     * @since 6.0.0
49
+     * @deprecated 20.0.0
50
+     */
51
+    public function getAppName();
52 52
 
53
-	/**
54
-	 * @return \OCP\IServerContainer
55
-	 * @since 6.0.0
56
-	 * @deprecated 20.0.0
57
-	 */
58
-	public function getServer();
53
+    /**
54
+     * @return \OCP\IServerContainer
55
+     * @since 6.0.0
56
+     * @deprecated 20.0.0
57
+     */
58
+    public function getServer();
59 59
 
60
-	/**
61
-	 * @param string $middleWare
62
-	 * @return boolean
63
-	 * @since 6.0.0
64
-	 * @deprecated 20.0.0 use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerMiddleware
65
-	 */
66
-	public function registerMiddleWare($middleWare);
60
+    /**
61
+     * @param string $middleWare
62
+     * @return boolean
63
+     * @since 6.0.0
64
+     * @deprecated 20.0.0 use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerMiddleware
65
+     */
66
+    public function registerMiddleWare($middleWare);
67 67
 
68
-	/**
69
-	 * Register a capability
70
-	 *
71
-	 * @param string $serviceName e.g. 'OCA\Files\Capabilities'
72
-	 * @since 8.2.0
73
-	 * @deprecated 20.0.0 use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCapability
74
-	 */
75
-	public function registerCapability($serviceName);
68
+    /**
69
+     * Register a capability
70
+     *
71
+     * @param string $serviceName e.g. 'OCA\Files\Capabilities'
72
+     * @since 8.2.0
73
+     * @deprecated 20.0.0 use \OCP\AppFramework\Bootstrap\IRegistrationContext::registerCapability
74
+     */
75
+    public function registerCapability($serviceName);
76 76
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Db/MultipleObjectsReturnedException.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -33,12 +33,12 @@
 block discarded – undo
33 33
  * @since 7.0.0
34 34
  */
35 35
 class MultipleObjectsReturnedException extends \Exception implements IMapperException {
36
-	/**
37
-	 * Constructor
38
-	 * @param string $msg the error message
39
-	 * @since 7.0.0
40
-	 */
41
-	public function __construct($msg) {
42
-		parent::__construct($msg);
43
-	}
36
+    /**
37
+     * Constructor
38
+     * @param string $msg the error message
39
+     * @since 7.0.0
40
+     */
41
+    public function __construct($msg) {
42
+        parent::__construct($msg);
43
+    }
44 44
 }
Please login to merge, or discard this patch.
lib/public/AppFramework/Db/DoesNotExistException.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -33,12 +33,12 @@
 block discarded – undo
33 33
  * @since 7.0.0
34 34
  */
35 35
 class DoesNotExistException extends \Exception implements IMapperException {
36
-	/**
37
-	 * Constructor
38
-	 * @param string $msg the error message
39
-	 * @since 7.0.0
40
-	 */
41
-	public function __construct($msg) {
42
-		parent::__construct($msg);
43
-	}
36
+    /**
37
+     * Constructor
38
+     * @param string $msg the error message
39
+     * @since 7.0.0
40
+     */
41
+    public function __construct($msg) {
42
+        parent::__construct($msg);
43
+    }
44 44
 }
Please login to merge, or discard this patch.
lib/public/Comments/ICommentsManagerFactory.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -35,19 +35,19 @@
 block discarded – undo
35 35
  * @since 9.0.0
36 36
  */
37 37
 interface ICommentsManagerFactory {
38
-	/**
39
-	 * Constructor for the comments manager factory
40
-	 *
41
-	 * @param IServerContainer $serverContainer server container
42
-	 * @since 9.0.0
43
-	 */
44
-	public function __construct(IServerContainer $serverContainer);
38
+    /**
39
+     * Constructor for the comments manager factory
40
+     *
41
+     * @param IServerContainer $serverContainer server container
42
+     * @since 9.0.0
43
+     */
44
+    public function __construct(IServerContainer $serverContainer);
45 45
 
46
-	/**
47
-	 * creates and returns an instance of the ICommentsManager
48
-	 *
49
-	 * @return ICommentsManager
50
-	 * @since 9.0.0
51
-	 */
52
-	public function getManager();
46
+    /**
47
+     * creates and returns an instance of the ICommentsManager
48
+     *
49
+     * @return ICommentsManager
50
+     * @since 9.0.0
51
+     */
52
+    public function getManager();
53 53
 }
Please login to merge, or discard this patch.