Completed
Pull Request — master (#44)
by Angelo
01:53
created
src/Plugin/PHPUnit/PHPUnitMockingStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Plugin\PHPUnit;
5 5
 
Please login to merge, or discard this patch.
src/Plugin/PHPUnit/PHPUnitPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Plugin\PHPUnit;
5 5
 
Please login to merge, or discard this patch.
src/Plugin/PluginInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Plugin;
5 5
 
Please login to merge, or discard this patch.
src/Proxy/ProxyContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Proxy;
5 5
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function get($id): ProxyInterface
35 35
     {
36
-        if (!$this->has($id)) {
36
+        if ( ! $this->has($id)) {
37 37
             throw new InvalidIdentifierException(
38 38
                 sprintf(
39 39
                     'Cannot find mock object with identifier "%s"',
Please login to merge, or discard this patch.
src/Proxy/ProxyInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Proxy;
5 5
 
Please login to merge, or discard this patch.
src/Proxy/ProxyTrait.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Proxy;
5 5
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     protected function doCall(string $name, array $arguments)
77 77
     {
78
-        if (!$this->__moka_mockingStrategy instanceof MockingStrategyInterface) {
78
+        if ( ! $this->__moka_mockingStrategy instanceof MockingStrategyInterface) {
79 79
             return null;
80 80
         }
81 81
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     protected function doGet(string $name)
92 92
     {
93
-        if (!$this->__moka_mockingStrategy instanceof MockingStrategyInterface) {
93
+        if ( ! $this->__moka_mockingStrategy instanceof MockingStrategyInterface) {
94 94
             return null;
95 95
         }
96 96
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     private $__moka_methods = [];
36 36
 
37 37
     /**
38
-     * @return object
38
+     * @return \PHPUnit\Framework\MockObject\MockObject
39 39
      */
40 40
     public function __moka_getMock()
41 41
     {
Please login to merge, or discard this patch.
src/Stub/MethodStub.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub;
5 5
 
Please login to merge, or discard this patch.
src/Stub/AbstractStub.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub;
5 5
 
Please login to merge, or discard this patch.
src/Stub/PropertyStub.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Moka\Stub;
5 5
 
Please login to merge, or discard this patch.