Bug #71428 [Csd->ReO]: Validation type inheritance with = NULL

From: Date: Thu, 28 Apr 2016 17:16:08 +0000
Subject: Bug #71428 [Csd->ReO]: Validation type inheritance with = NULL
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200814@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71428&edit=1

 ID:                 71428
 Updated by:         dmitry@php.net
 Reported by:        dpa-bugs at aegee dot org
 Summary:            Validation type inheritance with = NULL
-Status:             Closed
+Status:             Re-Opened
 Type:               Bug
 Package:            Class/Object related
 PHP Version:        7.0.2
 Block user comment: N
 Private report:     N

 New Comment:

The fix was reverted


Previous Comments:
------------------------------------------------------------------------
[2016-04-28 16:58:41] dmitry@php.net

Automatic comment on behalf of dmitry@zend.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9e45ac53ce64461e56f82f5847526a675c769f88
Log: Fixed BC break described by bug #72119. It was introduced after 7.0.5 release by attempt to fix
bug #71428.

------------------------------------------------------------------------
[2016-04-28 15:22:30] bwoebi@php.net

Related To: Bug #72119

------------------------------------------------------------------------
[2016-03-29 08:58:31] krakjoe@php.net

Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dd70c39556fe6efe2e1f28cecf8fc73d9588d04a
Log: fix bug #71428: Validation type inheritance with = NULL

------------------------------------------------------------------------
[2016-03-29 08:58:16] krakjoe@php.net

Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dd70c39556fe6efe2e1f28cecf8fc73d9588d04a
Log: fix bug #71428: Validation type inheritance with = NULL

------------------------------------------------------------------------
[2016-03-28 10:53:58] bwoebi@php.net

It's technically a BC break, but at the same time a big LSP violation bug.

If you relied on that, your code is technically anyway broken. (as passing null to a typehint of
superclass should break,)

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=71428


--
Edit this bug report at https://bugs.php.net/bug.php?id=71428&edit=1


Thread (11 messages)

« previous php.bugs (#200814) next »