(string $label, bool $condition)
| 24 | $failed = 0; |
| 25 | |
| 26 | function check(string $label, bool $condition): void |
| 27 | { |
| 28 | global $passed, $failed; |
| 29 | if ($condition) { |
| 30 | $passed++; |
| 31 | } else { |
| 32 | $failed++; |
| 33 | echo "FAIL: $label\n"; |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | function assertMethodVisibility(string $class, string $method, string $expected): void |
| 38 | { |
no outgoing calls
no test coverage detected