Passed
Pull Request — master (#97)
by Maximilian
04:17
created
src/Validation/RequestValidator.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,7 @@
 block discarded – undo
13 13
 /**
14 14
  * This is a validator for amazon echo requests. It validates the timestamp of the request and the request signature.
15 15
  */
16
-class RequestValidator
17
-{
16
+class RequestValidator {
18 17
     /**
19 18
      * Basic value for timestamp validation. 150 seconds is suggested by amazon.
20 19
      */
Please login to merge, or discard this patch.
src/Response/Directives/APL/Gesture/DoublePress.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\Document\GestureType;
8 8
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\StandardCommand\AbstractStandardCommand;
9 9
 
10
-class DoublePress extends AbstractGesture
11
-{
10
+class DoublePress extends AbstractGesture {
12 11
     /**
13 12
      * @param AbstractStandardCommand[]|null $onDoublePress Commands to run on double press
14 13
      * @param AbstractStandardCommand[]|null $onSinglePress Commands to run on single press
Please login to merge, or discard this patch.
src/Response/Directives/APL/Gesture/LongPress.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\Document\GestureType;
8 8
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\StandardCommand\AbstractStandardCommand;
9 9
 
10
-class LongPress extends AbstractGesture
11
-{
10
+class LongPress extends AbstractGesture {
12 11
     /**
13 12
      * @param AbstractStandardCommand[]|null $onLongPressStart Commands to run when long press starts
14 13
      * @param AbstractStandardCommand[]|null $onLongPressEnd Commands to run when long press ends
Please login to merge, or discard this patch.
src/Response/Directives/APL/Gesture/Tap.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\Document\GestureType;
8 8
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\StandardCommand\AbstractStandardCommand;
9 9
 
10
-class Tap extends AbstractGesture
11
-{
10
+class Tap extends AbstractGesture {
12 11
     /**
13 12
      * @param AbstractStandardCommand[]|null $onTap Commands to run when a tap occurs
14 13
      * @param AbstractStandardCommand[]|null $onCancel Commands to run when gesture is cancelled
Please login to merge, or discard this patch.
src/Response/Directives/APL/Gesture/SwipeAway.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@
 block discarded – undo
10 10
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\Document\SwipeDirection;
11 11
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\StandardCommand\AbstractStandardCommand;
12 12
 
13
-class SwipeAway extends AbstractGesture
14
-{
13
+class SwipeAway extends AbstractGesture {
15 14
     /**
16 15
      * @param SwipeDirection|null $direction Direction the user swipes to activate the gesture
17 16
      * @param SwipeAction|null $action How to display the original and child components during the swipe gesture
Please login to merge, or discard this patch.
src/Response/Directives/APL/StandardCommand/AutoPageCommand.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 namespace MaxBeckers\AmazonAlexa\Response\Directives\APL\StandardCommand;
6 6
 
7
-class AutoPageCommand extends AbstractStandardCommand
8
-{
7
+class AutoPageCommand extends AbstractStandardCommand {
9 8
     public const TYPE = 'AutoPage';
10 9
 
11 10
     /**
Please login to merge, or discard this patch.
src/Response/Directives/APL/StandardCommand/ClearFocusCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,12 +4,10 @@
 block discarded – undo
4 4
 
5 5
 namespace MaxBeckers\AmazonAlexa\Response\Directives\APL\StandardCommand;
6 6
 
7
-class ClearFocusCommand extends AbstractStandardCommand
8
-{
7
+class ClearFocusCommand extends AbstractStandardCommand {
9 8
     public const TYPE = 'ClearFocus';
10 9
 
11
-    public function __construct()
12
-    {
10
+    public function __construct() {
13 11
         parent::__construct(self::TYPE);
14 12
     }
15 13
 
Please login to merge, or discard this patch.
src/Response/Directives/APL/StandardCommand/ImportPackageCommand.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 namespace MaxBeckers\AmazonAlexa\Response\Directives\APL\StandardCommand;
6 6
 
7
-class ImportPackageCommand extends AbstractStandardCommand
8
-{
7
+class ImportPackageCommand extends AbstractStandardCommand {
9 8
     public const TYPE = 'ImportPackage';
10 9
 
11 10
     /**
Please login to merge, or discard this patch.
src/Response/Directives/APL/StandardCommand/OpenURLCommand.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 namespace MaxBeckers\AmazonAlexa\Response\Directives\APL\StandardCommand;
6 6
 
7
-class OpenURLCommand extends AbstractStandardCommand
8
-{
7
+class OpenURLCommand extends AbstractStandardCommand {
9 8
     public const TYPE = 'OpenURL';
10 9
 
11 10
     /**
Please login to merge, or discard this patch.