From: Joe Watkins Date: Wed, 1 Feb 2017 18:33:47 +0000 (+0000) Subject: Revert "Added tests demonstrating the same effect with abstracts" X-Git-Tag: php-7.1.3RC1~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=648238da5c45bdf2c65d856b533f9a2534864ba2;p=php Revert "Added tests demonstrating the same effect with abstracts" This reverts commit c11b2b809d349399c8f4b54c6bf24078dece455e. --- diff --git a/Zend/tests/bug73987.phpt b/Zend/tests/bug73987.phpt index 610b594a64..551565650c 100644 --- a/Zend/tests/bug73987.phpt +++ b/Zend/tests/bug73987.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #73987 (Method compatibility check looks to original definition and not parent - nullability interface) +Bug #73987 (Method compatibility check looks to original definition and not parent) --FILE-- ---EXPECTF-- -Fatal error: Declaration of C::example($a, $b, $c = NULL) must be compatible with B::example($a, $b = NULL, $c = NULL) in %s diff --git a/Zend/tests/bug73987_3.phpt b/Zend/tests/bug73987_3.phpt deleted file mode 100644 index 89e4686ed6..0000000000 --- a/Zend/tests/bug73987_3.phpt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -Bug #73987 (Method compatibility check looks to original definition and not parent - return types abstract) ---FILE-- - ---EXPECTF-- -Fatal error: Declaration of C::example(): string must be compatible with B::example(): int in %s