]> granicus.if.org Git - php/commit
Revert "Detect invalid uses of parent:: during compilation"
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 4 Mar 2019 11:18:33 +0000 (12:18 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 4 Mar 2019 11:24:02 +0000 (12:24 +0100)
commitdeb44d405eb27a6654ad9a57c1e5f641218b22a4
treec27b474de234b8a3e990a7b29fd9e4000833ded0
parenta8c3e22d231a9993c253d446ce23425662ac1645
Revert "Detect invalid uses of parent:: during compilation"

This reverts commit a9e6667817c38f22f4645ec5b4e5c6b0e4b928fa.

Breakage found in the wild: Mockery uses a parent:: call in the
implementation regardless of whether the class has a parent or not:
https://github.com/mockery/mockery/blob/4324afeaf9d95b492507e6587abb3f024e2576de/library/Mockery/Mock.php#L600

This change is not worth the compat break in 7.4.
UPGRADING
Zend/tests/class_name_as_scalar_error_002.phpt
Zend/zend_compile.c