Test Failed
Branch master (8fafb3)
by Jinyun
08:09
created
src/Structural/FluentInterface/Mysql.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace DesignPattern\Structural\FluentInterface;
4 4
 
5
-class Mysql implements FluentInterface
6
-{
5
+class Mysql implements FluentInterface
6
+{
7 7
     /**
8 8
      * @var array
9 9
      */
@@ -22,8 +22,8 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * @return string
24 24
      */
25
-    public function __toString()
26
-    {
25
+    public function __toString()
26
+    {
27 27
         return sprintf(
28 28
             'SELECT %s FROM %s WHERE %s',
29 29
             implode(',', $this->fields),
Please login to merge, or discard this patch.
src/Structural/Proxy/WifiNetworkInterface.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\Proxy;
4 4
 
5
-interface WifiNetworkInterface
6
-{
5
+interface WifiNetworkInterface
6
+{
7 7
     /**
8 8
      * Grant access to the Wifi network to an employee.
9 9
      *
Please login to merge, or discard this patch.
src/Structural/Proxy/Employee.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace DesignPattern\Structural\Proxy;
4 4
 
5
-class Employee
6
-{
5
+class Employee
6
+{
7 7
     /**
8 8
      * No access to WiFi.
9 9
      */
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         string $username,
41 41
         string $password,
42 42
         int $accessLevel
43
-    ) {
43
+    ) {
44 44
         $this->username = $username;
45 45
         $this->password = $password;
46 46
         $this->accessLevel = $accessLevel;
Please login to merge, or discard this patch.
src/Structural/Facade/MacOSInterface.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\Facade;
4 4
 
5
-interface MacOSInterface
6
-{
5
+interface MacOSInterface
6
+{
7 7
     public function restart();
8 8
 
9 9
     public function shutdown();
Please login to merge, or discard this patch.
src/Structural/Facade/Bios.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace DesignPattern\Structural\Facade;
4 4
 
5
-class Bios implements BiosInterface
6
-{
5
+class Bios implements BiosInterface
6
+{
7 7
     /**
8 8
      * @return string
9 9
      */
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
      *
18 18
      * @return mixed
19 19
      */
20
-    public function launch(MacOSInterface $macOS)
21
-    {
20
+    public function launch(MacOSInterface $macOS)
21
+    {
22 22
         return $macOS->launch();
23 23
     }
24 24
 
Please login to merge, or discard this patch.
src/Structural/Facade/BiosInterface.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\Facade;
4 4
 
5
-interface BiosInterface
6
-{
5
+interface BiosInterface
6
+{
7 7
     public function execute();
8 8
 
9 9
     /**
Please login to merge, or discard this patch.
src/Structural/Composite/RenderableInterface.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\Composite;
6 6
 
7
-interface RenderableInterface
8
-{
7
+interface RenderableInterface
8
+{
9 9
     /**
10 10
      * Render HTML element.
11 11
      *
Please login to merge, or discard this patch.
src/Structural/Decorator/JsonRender.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\Decorator;
4 4
 
5
-class JsonRender extends RendererDecorator
6
-{
5
+class JsonRender extends RendererDecorator
6
+{
7 7
     /**
8 8
      * @return string
9 9
      */
Please login to merge, or discard this patch.
src/Structural/Decorator/XmlRender.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\Decorator;
4 4
 
5
-class XmlRender extends RendererDecorator
6
-{
5
+class XmlRender extends RendererDecorator
6
+{
7 7
     /**
8 8
      * @return string
9 9
      */
Please login to merge, or discard this patch.