Completed
Push — master ( 92e282...5f81a7 )
by John
25:44 queued 14s
created
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.
lib/public/Http/WellKnown/GenericResponse.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -31,20 +31,20 @@
 block discarded – undo
31 31
  * @since 21.0.0
32 32
  */
33 33
 final class GenericResponse implements IResponse {
34
-	/** @var Response */
35
-	private $response;
34
+    /** @var Response */
35
+    private $response;
36 36
 
37
-	/**
38
-	 * @since 21.0.0
39
-	 */
40
-	public function __construct(Response $response) {
41
-		$this->response = $response;
42
-	}
37
+    /**
38
+     * @since 21.0.0
39
+     */
40
+    public function __construct(Response $response) {
41
+        $this->response = $response;
42
+    }
43 43
 
44
-	/**
45
-	 * @since 21.0.0
46
-	 */
47
-	public function toHttpResponse(): Response {
48
-		return $this->response;
49
-	}
44
+    /**
45
+     * @since 21.0.0
46
+     */
47
+    public function toHttpResponse(): Response {
48
+        return $this->response;
49
+    }
50 50
 }
Please login to merge, or discard this patch.