Completed
Push — master ( 32fd8d...690881 )
by Alberto
19s
created
src/Moka/Plugin/PHPUnit/moka.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/Moka/Plugin/Prophecy/moka.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\Prophecy;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Plugin/Mockery/moka.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\Mockery;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Plugin/Phake/moka.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\Phake;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Moka.php 1 patch
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;
5 5
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public static function __callStatic(string $name, array $arguments): ProxyInterface
47 47
     {
48
-        if (!isset(self::$mockingStrategies[$name])) {
48
+        if ( ! isset(self::$mockingStrategies[$name])) {
49 49
             self::$mockingStrategies[$name] = PluginHelper::load($name);
50 50
         }
51 51
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     {
127 127
         $backtrace = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT);
128 128
         foreach ($backtrace as $frame) {
129
-            if (!isset($frame['object'])) {
129
+            if ( ! isset($frame['object'])) {
130 130
                 continue;
131 131
             }
132 132
 
Please login to merge, or discard this patch.
src/Moka/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
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     private $__moka_methods = [];
37 37
 
38 38
     /**
39
-     * @return object
39
+     * @return \PHPUnit_Framework_MockObject_MockObject
40 40
      */
41 41
     public function __moka_getMock()
42 42
     {
Please login to merge, or discard this patch.
src/Moka/Plugin/Prophecy/MethodProphecyHelper.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\Prophecy;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Generator/Template/ReturnTypeTemplate.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\Generator\Template;
5 5
 
Please login to merge, or discard this patch.
src/Moka/Generator/Template/TemplateInterface.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\Generator\Template;
5 5
 
Please login to merge, or discard this patch.