UserSession uid property is now protected so trying to do $user->uid will generate fatal error:

PHP Fatal error: Cannot access protected property Drupal\\Core\\Session\\UserSession::$uid in /home/pivica/moje/lamp/www/drupal-8.x-dev/modules/contrib/captcha/captcha.inc on line 112

Files: 
CommentFileSizeAuthor
#2 uid-is-protected-property-2060885-1.patch1.22 KBpivica
FAILED: [[SimpleTest]]: [MySQL] 547 pass(es), 2 fail(s), and 2 exception(s).
[ View ]
#1 uid-is-protected-property-2060885.patch533 bytespivica
FAILED: [[SimpleTest]]: [MySQL] 547 pass(es), 2 fail(s), and 2 exception(s).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new533 bytes
FAILED: [[SimpleTest]]: [MySQL] 547 pass(es), 2 fail(s), and 2 exception(s).
[ View ]

StatusFileSize
new1.22 KB
FAILED: [[SimpleTest]]: [MySQL] 547 pass(es), 2 fail(s), and 2 exception(s).
[ View ]

Found one more in image captcha.

Status:Needs review» Needs work

The last submitted patch, uid-is-protected-property-2060885-1.patch, failed testing.