@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | //restore all mock variable global value to "false" |
| 67 | 67 | foreach ($GLOBALS as $key => $value) { |
| 68 | 68 | if (substr((string) $key, 0, 5) === 'mock_') { |
| 69 | - $GLOBALS[$key] = false; |
|
| 69 | + $GLOBALS[$key] = FALSE; |
|
| 70 | 70 | } |
| 71 | 71 | } |
| 72 | 72 | } |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | ) { |
| 83 | 83 | $reflection = new \ReflectionClass(get_class($object)); |
| 84 | 84 | $reflectionMethod = $reflection->getMethod($method); |
| 85 | - $reflectionMethod->setAccessible(true); |
|
| 85 | + $reflectionMethod->setAccessible(TRUE); |
|
| 86 | 86 | return $reflectionMethod->invokeArgs($object, $args); |
| 87 | 87 | } |
| 88 | 88 | |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | string $attr |
| 95 | 95 | ): ReflectionProperty { |
| 96 | 96 | $rProp = new \ReflectionProperty($className, $attr); |
| 97 | - $rProp->setAccessible(true); |
|
| 97 | + $rProp->setAccessible(TRUE); |
|
| 98 | 98 | return $rProp; |
| 99 | 99 | } |
| 100 | 100 | |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | */ |
| 136 | 136 | public function createVfsDirectory( |
| 137 | 137 | string $name, |
| 138 | - vfsStreamContainer $destination = null |
|
| 138 | + vfsStreamContainer $destination = NULL |
|
| 139 | 139 | ): vfsStreamDirectory { |
| 140 | 140 | if ($destination) { |
| 141 | 141 | return vfsStream::newDirectory($name)->at($destination); |