Completed
Push — master ( 672e4f...e22914 )
by Maxence
21:09 queued 14s
created
lib/public/AppFramework/Http/FeaturePolicy.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -37,23 +37,23 @@
 block discarded – undo
37 37
  * @since 17.0.0
38 38
  */
39 39
 class FeaturePolicy extends EmptyFeaturePolicy {
40
-	protected $autoplayDomains = [
41
-		'\'self\'',
42
-	];
40
+    protected $autoplayDomains = [
41
+        '\'self\'',
42
+    ];
43 43
 
44
-	/** @var string[] of allowed domains that can access the camera */
45
-	protected $cameraDomains = [];
44
+    /** @var string[] of allowed domains that can access the camera */
45
+    protected $cameraDomains = [];
46 46
 
47
-	protected $fullscreenDomains = [
48
-		'\'self\'',
49
-	];
47
+    protected $fullscreenDomains = [
48
+        '\'self\'',
49
+    ];
50 50
 
51
-	/** @var string[] of allowed domains that can use the geolocation of the device */
52
-	protected $geolocationDomains = [];
51
+    /** @var string[] of allowed domains that can use the geolocation of the device */
52
+    protected $geolocationDomains = [];
53 53
 
54
-	/** @var string[] of allowed domains that can use the microphone */
55
-	protected $microphoneDomains = [];
54
+    /** @var string[] of allowed domains that can use the microphone */
55
+    protected $microphoneDomains = [];
56 56
 
57
-	/** @var string[] of allowed domains that can use the payment API */
58
-	protected $paymentDomains = [];
57
+    /** @var string[] of allowed domains that can use the payment API */
58
+    protected $paymentDomains = [];
59 59
 }
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/Reminder/NotificationTypeDoesNotExistException.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,15 +26,15 @@
 block discarded – undo
26 26
 
27 27
 class NotificationTypeDoesNotExistException extends \Exception {
28 28
 
29
-	/**
30
-	 * NotificationTypeDoesNotExistException constructor.
31
-	 *
32
-	 * @since 16.0.0
33
-	 *
34
-	 * @param string $type ReminderType
35
-	 */
36
-	public function __construct(string $type) {
37
-		parent::__construct("Type $type is not an accepted type of notification");
38
-	}
29
+    /**
30
+     * NotificationTypeDoesNotExistException constructor.
31
+     *
32
+     * @since 16.0.0
33
+     *
34
+     * @param string $type ReminderType
35
+     */
36
+    public function __construct(string $type) {
37
+        parent::__construct("Type $type is not an accepted type of notification");
38
+    }
39 39
 
40 40
 }
Please login to merge, or discard this patch.
lib/CalDAV/Reminder/NotificationProvider/ProviderNotAvailableException.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -25,15 +25,15 @@
 block discarded – undo
25 25
 
26 26
 class ProviderNotAvailableException extends \Exception {
27 27
 
28
-	/**
29
-	 * ProviderNotAvailableException constructor.
30
-	 *
31
-	 * @since 16.0.0
32
-	 *
33
-	 * @param string $type ReminderType
34
-	 */
35
-	public function __construct(string $type) {
36
-		parent::__construct("No notification provider for type $type available");
37
-	}
28
+    /**
29
+     * ProviderNotAvailableException constructor.
30
+     *
31
+     * @since 16.0.0
32
+     *
33
+     * @param string $type ReminderType
34
+     */
35
+    public function __construct(string $type) {
36
+        parent::__construct("No notification provider for type $type available");
37
+    }
38 38
 
39 39
 }
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/Reminder/NotificationProvider/AudioProvider.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
  */
33 33
 class AudioProvider extends PushProvider {
34 34
 
35
-	/** @var string */
36
-	public const NOTIFICATION_TYPE = 'AUDIO';
35
+    /** @var string */
36
+    public const NOTIFICATION_TYPE = 'AUDIO';
37 37
 }
Please login to merge, or discard this patch.
lib/public/WorkflowEngine/IEntityCheck.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -34,21 +34,21 @@
 block discarded – undo
34 34
  * @since 18.0.0
35 35
  */
36 36
 interface IEntityCheck {
37
-	/**
38
-	 * Equips the check with a subject fitting the Entity. For instance, an
39
-	 * entity of File will receive an instance of OCP\Files\Node, or a comment
40
-	 * entity might get an IComment.
41
-	 *
42
-	 * The implementing check must be aware of the incoming type.
43
-	 *
44
-	 * If an unsupported subject is passed the implementation MAY throw an
45
-	 * \UnexpectedValueException.
46
-	 *
47
-	 * @param IEntity $entity
48
-	 * @param mixed $subject
49
-	 * @throws \UnexpectedValueException
50
-	 * @since 18.0.0
51
-	 */
52
-	public function setEntitySubject(IEntity $entity, $subject): void;
37
+    /**
38
+     * Equips the check with a subject fitting the Entity. For instance, an
39
+     * entity of File will receive an instance of OCP\Files\Node, or a comment
40
+     * entity might get an IComment.
41
+     *
42
+     * The implementing check must be aware of the incoming type.
43
+     *
44
+     * If an unsupported subject is passed the implementation MAY throw an
45
+     * \UnexpectedValueException.
46
+     *
47
+     * @param IEntity $entity
48
+     * @param mixed $subject
49
+     * @throws \UnexpectedValueException
50
+     * @since 18.0.0
51
+     */
52
+    public function setEntitySubject(IEntity $entity, $subject): void;
53 53
 
54 54
 }
Please login to merge, or discard this patch.
lib/public/WorkflowEngine/ICheck.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -31,43 +31,43 @@
 block discarded – undo
31 31
  * @since 9.1
32 32
  */
33 33
 interface ICheck {
34
-	/**
35
-	 * @param string $operator
36
-	 * @param string $value
37
-	 * @return bool
38
-	 * @since 9.1
39
-	 */
40
-	public function executeCheck($operator, $value);
34
+    /**
35
+     * @param string $operator
36
+     * @param string $value
37
+     * @return bool
38
+     * @since 9.1
39
+     */
40
+    public function executeCheck($operator, $value);
41 41
 
42
-	/**
43
-	 * @param string $operator
44
-	 * @param string $value
45
-	 * @throws \UnexpectedValueException
46
-	 * @since 9.1
47
-	 */
48
-	public function validateCheck($operator, $value);
42
+    /**
43
+     * @param string $operator
44
+     * @param string $value
45
+     * @throws \UnexpectedValueException
46
+     * @since 9.1
47
+     */
48
+    public function validateCheck($operator, $value);
49 49
 
50
-	/**
51
-	 * returns a list of Entities the checker supports. The values must match
52
-	 * the class name of the entity.
53
-	 *
54
-	 * An empty result means the check is universally available.
55
-	 *
56
-	 * @since 18.0.0
57
-	 */
58
-	public function supportedEntities(): array;
50
+    /**
51
+     * returns a list of Entities the checker supports. The values must match
52
+     * the class name of the entity.
53
+     *
54
+     * An empty result means the check is universally available.
55
+     *
56
+     * @since 18.0.0
57
+     */
58
+    public function supportedEntities(): array;
59 59
 
60
-	/**
61
-	 * returns whether the operation can be used in the requested scope.
62
-	 *
63
-	 * Scope IDs are defined as constants in OCP\WorkflowEngine\IManager. At
64
-	 * time of writing these are SCOPE_ADMIN and SCOPE_USER.
65
-	 *
66
-	 * For possibly unknown future scopes the recommended behaviour is: if
67
-	 * user scope is permitted, the default behaviour should return `true`,
68
-	 * otherwise `false`.
69
-	 *
70
-	 * @since 18.0.0
71
-	 */
72
-	public function isAvailableForScope(int $scope): bool;
60
+    /**
61
+     * returns whether the operation can be used in the requested scope.
62
+     *
63
+     * Scope IDs are defined as constants in OCP\WorkflowEngine\IManager. At
64
+     * time of writing these are SCOPE_ADMIN and SCOPE_USER.
65
+     *
66
+     * For possibly unknown future scopes the recommended behaviour is: if
67
+     * user scope is permitted, the default behaviour should return `true`,
68
+     * otherwise `false`.
69
+     *
70
+     * @since 18.0.0
71
+     */
72
+    public function isAvailableForScope(int $scope): bool;
73 73
 }
Please login to merge, or discard this patch.
lib/public/WorkflowEngine/IEntityEvent.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -34,21 +34,21 @@
 block discarded – undo
34 34
  * @since 18.0.0
35 35
  */
36 36
 interface IEntityEvent {
37
-	/**
38
-	 * returns a translated name to be presented in the web interface.
39
-	 *
40
-	 * Example: "created" (en), "kreita" (eo)
41
-	 *
42
-	 * @since 18.0.0
43
-	 */
44
-	public function getDisplayName(): string;
37
+    /**
38
+     * returns a translated name to be presented in the web interface.
39
+     *
40
+     * Example: "created" (en), "kreita" (eo)
41
+     *
42
+     * @since 18.0.0
43
+     */
44
+    public function getDisplayName(): string;
45 45
 
46
-	/**
47
-	 * returns the event name that is emitted by the EventDispatcher, e.g.:
48
-	 *
49
-	 * Example: "OCA\MyApp\Factory\Cats::postCreated"
50
-	 *
51
-	 * @since 18.0.0
52
-	 */
53
-	public function getEventName(): string;
46
+    /**
47
+     * returns the event name that is emitted by the EventDispatcher, e.g.:
48
+     *
49
+     * Example: "OCA\MyApp\Factory\Cats::postCreated"
50
+     *
51
+     * @since 18.0.0
52
+     */
53
+    public function getEventName(): string;
54 54
 }
Please login to merge, or discard this patch.
apps/twofactor_backupcodes/appinfo/routes.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
  */
22 22
 // @codeCoverageIgnoreStart
23 23
 return [
24
-	'routes' => [
25
-		[
26
-			'name' => 'settings#createCodes',
27
-			'url' => '/settings/create',
28
-			'verb' => 'POST'
29
-		],
30
-	]
24
+    'routes' => [
25
+        [
26
+            'name' => 'settings#createCodes',
27
+            'url' => '/settings/create',
28
+            'verb' => 'POST'
29
+        ],
30
+    ]
31 31
 ];
32 32
 // @codeCoverageIgnoreEnd
Please login to merge, or discard this patch.
lib/private/AppFramework/Routing/RouteActionHandler.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -29,21 +29,21 @@
 block discarded – undo
29 29
 use OC\AppFramework\DependencyInjection\DIContainer;
30 30
 
31 31
 class RouteActionHandler {
32
-	private $controllerName;
33
-	private $actionName;
34
-	private $container;
32
+    private $controllerName;
33
+    private $actionName;
34
+    private $container;
35 35
 
36
-	/**
37
-	 * @param string $controllerName
38
-	 * @param string $actionName
39
-	 */
40
-	public function __construct(DIContainer $container, $controllerName, $actionName) {
41
-		$this->controllerName = $controllerName;
42
-		$this->actionName = $actionName;
43
-		$this->container = $container;
44
-	}
36
+    /**
37
+     * @param string $controllerName
38
+     * @param string $actionName
39
+     */
40
+    public function __construct(DIContainer $container, $controllerName, $actionName) {
41
+        $this->controllerName = $controllerName;
42
+        $this->actionName = $actionName;
43
+        $this->container = $container;
44
+    }
45 45
 
46
-	public function __invoke($params) {
47
-		App::main($this->controllerName, $this->actionName, $this->container, $params);
48
-	}
46
+    public function __invoke($params) {
47
+        App::main($this->controllerName, $this->actionName, $this->container, $params);
48
+    }
49 49
 }
Please login to merge, or discard this patch.