Test Failed
Push — master ( dd1603...e14434 )
by Jinyun
06:30
created
src/Structural/Bridge/StringService.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 namespace DesignPattern\Structural\Bridge;
6 6
 
7
-class StringService extends Service
8
-{
7
+class StringService extends Service
8
+{
9 9
     /**
10 10
      * {@inheritdoc}
11 11
      *
Please login to merge, or discard this patch.
src/Structural/Bridge/DateFormatter.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 namespace DesignPattern\Structural\Bridge;
6 6
 
7
-class DateFormatter implements FormatterInterface
8
-{
7
+class DateFormatter implements FormatterInterface
8
+{
9 9
     /**
10 10
      * Format timestamp string to Date.
11 11
      *
Please login to merge, or discard this patch.
src/Structural/Bridge/FormatterInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 namespace DesignPattern\Structural\Bridge;
6 6
 
7
-interface FormatterInterface
8
-{
7
+interface FormatterInterface
8
+{
9 9
     /**
10 10
      * Formatter method.
11 11
      *
Please login to merge, or discard this patch.
src/Structural/Bridge/HtmlFormatter.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 namespace DesignPattern\Structural\Bridge;
6 6
 
7
-class HtmlFormatter implements FormatterInterface
8
-{
7
+class HtmlFormatter implements FormatterInterface
8
+{
9 9
     /**
10 10
      * Format string to HTML.
11 11
      *
Please login to merge, or discard this patch.
src/Structural/DependencyInjection/GeolocationServiceInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace DesignPattern\Structural\DependencyInjection;
4 4
 
5
-interface GeolocationServiceInterface
6
-{
5
+interface GeolocationServiceInterface
6
+{
7 7
     /**
8 8
      * Get coordinate from address.
9 9
      *
Please login to merge, or discard this patch.
src/Structural/DependencyInjection/GoogleMap.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace DesignPattern\Structural\DependencyInjection;
4 4
 
5
-class GoogleMap extends AbstractMap
6
-{
5
+class GoogleMap extends AbstractMap
6
+{
7 7
 }
Please login to merge, or discard this patch.
src/Structural/DependencyInjection/BaiduMap.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace DesignPattern\Structural\DependencyInjection;
4 4
 
5
-class BaiduMap extends AbstractMap
6
-{
5
+class BaiduMap extends AbstractMap
6
+{
7 7
 }
Please login to merge, or discard this patch.
src/Structural/DependencyInjection/AbstractMap.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace DesignPattern\Structural\DependencyInjection;
4 4
 
5
-abstract class AbstractMap implements GeolocationServiceInterface
6
-{
5
+abstract class AbstractMap implements GeolocationServiceInterface
6
+{
7 7
     /**
8 8
      * Get coordinate from address.
9 9
      *
Please login to merge, or discard this patch.
src/Behavioral/State/Order.php 1 patch
Braces   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,25 +4,25 @@
 block discarded – undo
4 4
 
5 5
 namespace DesignPattern\Behavioral\State;
6 6
 
7
-class Order
8
-{
7
+class Order
8
+{
9 9
     /**
10 10
      * @var \DesignPattern\Behavioral\State\StateInterface|null
11 11
      */
12 12
     private ?StateInterface $state;
13 13
 
14
-    public function cancel()
15
-    {
14
+    public function cancel()
15
+    {
16 16
         return $this->state->toCancel($this);
17 17
     }
18 18
 
19
-    public function pay()
20
-    {
19
+    public function pay()
20
+    {
21 21
         return $this->state->toPay($this);
22 22
     }
23 23
 
24
-    public function dispatch()
25
-    {
24
+    public function dispatch()
25
+    {
26 26
         return $this->state->toDispatch($this);
27 27
     }
28 28
 
Please login to merge, or discard this patch.