Passed
Pull Request — master (#5)
by
unknown
08:17
created
vendor/mockery/mockery/library/Mockery/CompositeExpectation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
         foreach ($this->_expectations as $exp) {
149 149
             $parts[] = (string) $exp;
150 150
         }
151
-        $return .= implode(', ', $parts) . ']';
151
+        $return .= implode(', ', $parts).']';
152 152
         return $return;
153 153
     }
154 154
 }
Please login to merge, or discard this patch.
vendor/mockery/mockery/library/Mockery/ExpectationDirector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,11 +91,11 @@
 block discarded – undo
91 91
         if (is_null($expectation)) {
92 92
             $exception = new \Mockery\Exception\NoMatchingExpectationException(
93 93
                 'No matching handler found for '
94
-                . $this->_mock->mockery_getName() . '::'
94
+                . $this->_mock->mockery_getName().'::'
95 95
                 . \Mockery::formatArgs($this->_name, $args)
96 96
                 . '. Either the method was unexpected or its arguments matched'
97 97
                 . ' no expected argument list for this method'
98
-                . PHP_EOL . PHP_EOL
98
+                . PHP_EOL.PHP_EOL
99 99
                 . \Mockery::formatObjects($args)
100 100
             );
101 101
             $exception->setMock($this->_mock)
Please login to merge, or discard this patch.
vendor/mockery/mockery/library/Mockery/Undefined.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,6 +41,6 @@
 block discarded – undo
41 41
      */
42 42
     public function __toString()
43 43
     {
44
-        return __CLASS__ . ":" . spl_object_hash($this);
44
+        return __CLASS__.":".spl_object_hash($this);
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
vendor/mockery/mockery/library/Mockery/CountValidator/AtLeast.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
     {
46 46
         if ($this->_limit > $n) {
47 47
             $exception = new Mockery\Exception\InvalidCountException(
48
-                'Method ' . (string) $this->_expectation
49
-                . ' from ' . $this->_expectation->getMock()->mockery_getName()
50
-                . ' should be called' . PHP_EOL
51
-                . ' at least ' . $this->_limit . ' times but called ' . $n
48
+                'Method '.(string) $this->_expectation
49
+                . ' from '.$this->_expectation->getMock()->mockery_getName()
50
+                . ' should be called'.PHP_EOL
51
+                . ' at least '.$this->_limit.' times but called '.$n
52 52
                 . ' times.'
53 53
             );
54 54
             $exception->setMock($this->_expectation->getMock())
Please login to merge, or discard this patch.
vendor/mockery/mockery/library/Mockery/CountValidator/Exact.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,12 +36,12 @@
 block discarded – undo
36 36
             $because = $this->_expectation->getExceptionMessage();
37 37
 
38 38
             $exception = new Mockery\Exception\InvalidCountException(
39
-                'Method ' . (string) $this->_expectation
40
-                . ' from ' . $this->_expectation->getMock()->mockery_getName()
41
-                . ' should be called' . PHP_EOL
42
-                . ' exactly ' . $this->_limit . ' times but called ' . $n
39
+                'Method '.(string) $this->_expectation
40
+                . ' from '.$this->_expectation->getMock()->mockery_getName()
41
+                . ' should be called'.PHP_EOL
42
+                . ' exactly '.$this->_limit.' times but called '.$n
43 43
                 . ' times.'
44
-                . ($because ? ' Because ' . $this->_expectation->getExceptionMessage() : '')
44
+                . ($because ? ' Because '.$this->_expectation->getExceptionMessage() : '')
45 45
             );
46 46
             $exception->setMock($this->_expectation->getMock())
47 47
                 ->setMethodName((string) $this->_expectation)
Please login to merge, or discard this patch.
vendor/mockery/mockery/library/Mockery/CountValidator/AtMost.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@
 block discarded – undo
34 34
     {
35 35
         if ($this->_limit < $n) {
36 36
             $exception = new Mockery\Exception\InvalidCountException(
37
-                'Method ' . (string) $this->_expectation
38
-                . ' from ' . $this->_expectation->getMock()->mockery_getName()
39
-                . ' should be called' . PHP_EOL
40
-                . ' at most ' . $this->_limit . ' times but called ' . $n
37
+                'Method '.(string) $this->_expectation
38
+                . ' from '.$this->_expectation->getMock()->mockery_getName()
39
+                . ' should be called'.PHP_EOL
40
+                . ' at most '.$this->_limit.' times but called '.$n
41 41
                 . ' times.'
42 42
             );
43 43
             $exception->setMock($this->_expectation->getMock())
Please login to merge, or discard this patch.
vendor/mockery/mockery/library/Mockery/Matcher/Contains.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         foreach ($this->_expected as $v) {
59 59
             $elements[] = (string) $v;
60 60
         }
61
-        $return .= implode(', ', $elements) . ']>';
61
+        $return .= implode(', ', $elements).']>';
62 62
         return $return;
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
vendor/mockery/mockery/library/Mockery/Matcher/Type.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         if ($this->_expected == 'real') {
34 34
             $function = 'is_float';
35 35
         } else {
36
-            $function = 'is_' . strtolower($this->_expected);
36
+            $function = 'is_'.strtolower($this->_expected);
37 37
         }
38 38
         if (function_exists($function)) {
39 39
             return $function($actual);
@@ -51,6 +51,6 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function __toString()
53 53
     {
54
-        return '<' . ucfirst($this->_expected) . '>';
54
+        return '<'.ucfirst($this->_expected).'>';
55 55
     }
56 56
 }
Please login to merge, or discard this patch.
vendor/mockery/mockery/library/Mockery/Matcher/Subset.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,9 +84,9 @@
 block discarded – undo
84 84
         $return = '<Subset[';
85 85
         $elements = array();
86 86
         foreach ($this->expected as $k=>$v) {
87
-            $elements[] = $k . '=' . (string) $v;
87
+            $elements[] = $k.'='.(string) $v;
88 88
         }
89
-        $return .= implode(', ', $elements) . ']>';
89
+        $return .= implode(', ', $elements).']>';
90 90
         return $return;
91 91
     }
92 92
 }
Please login to merge, or discard this patch.