phpunit7-interfaces.php 455 B

1234567891011121314151617181920
  1. <?php
  2. // @codingStandardsIgnoreStart
  3. // PHPUnit 6 compatibility
  4. namespace PHPUnit\Framework {
  5. if (!interface_exists(Test::class, false)) {
  6. interface Test extends \Countable {
  7. public function run(TestResult $result = null);
  8. }
  9. }
  10. if (!interface_exists(SelfDescribing::class, false)) {
  11. interface SelfDescribing
  12. {
  13. public function toString();
  14. }
  15. }
  16. }
  17. // @codingStandardsIgnoreEnd