Completed
Push — master ( 734345...f5668f )
by Hannes
04:51
created
src/ExampleFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      * Check if line is a ignore anntotation
80 80
      *
81 81
      * @param  string $line
82
-     * @return boolean
82
+     * @return boolean|null
83 83
      */
84 84
     private function isIgnoreAnnotation($line)
85 85
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * Parse expectation from line
93 93
      *
94 94
      * @param  string $line
95
-     * @return Expectation|null
95
+     * @return Expectation
96 96
      */
97 97
     private function readExpectation($line)
98 98
     {
Please login to merge, or discard this patch.
src/Regexp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     private function isRegexp($input)
48 48
     {
49
-        set_error_handler(function () {});
49
+        set_error_handler(function() {});
50 50
         $result = preg_match($input, '');
51 51
         restore_error_handler();
52 52
         return $result !== false;
Please login to merge, or discard this patch.
src/Expectation/ReturnTypeExpectation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,12 +32,12 @@
 block discarded – undo
32 32
             case 'object':
33 33
             case 'resource':
34 34
             case 'null':
35
-                $this->strategy = function (Result $result) use ($type) {
35
+                $this->strategy = function(Result $result) use ($type) {
36 36
                     return 0 == strcasecmp(gettype($result->getReturnValue()), $type);
37 37
                 };
38 38
                 break;
39 39
             default:
40
-                $this->strategy = function (Result $result) use ($type) {
40
+                $this->strategy = function(Result $result) use ($type) {
41 41
                     return $result->getReturnValue() instanceof $type;
42 42
                 };
43 43
                 break;
Please login to merge, or discard this patch.
src/Command/TestCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
             ->setDescription('Test examples in readme files')
21 21
             ->addArgument(
22 22
                 'filename',
23
-                InputArgument::OPTIONAL|InputArgument::IS_ARRAY,
23
+                InputArgument::OPTIONAL | InputArgument::IS_ARRAY,
24 24
                 'Name of file to test',
25 25
                 ['README.md']
26 26
             );
Please login to merge, or discard this patch.