When running PHPUnit 6.5.14 by Sebastian Bergmann and contributors.

I received the following deprecation notices

1x: Calling CasUserManager::register() without the $local_username argument is deprecated in cas:8.x-1.6 and the $local_username argument will be required in cas:8.x-2.0.
1x in CasUserManagerTest::testUserRegister from Drupal\Tests\cas\Unit\Service

Comments

trackleft2 created an issue. See original summary.

trackleft2’s picture

Assigned: Unassigned » trackleft2
Status: Active » Needs review
StatusFileSize
new616 bytes

Adding required argument $local_username to CasUserManager::register() call.

bkosborne’s picture

Status: Needs review » Fixed
StatusFileSize
new563 bytes

Hi! Thanks. I adjusted the patch to remove the unnecessary variable assignment.

  • bkosborne committed afa0152 on 8.x-1.x authored by trackleft2
    Issue #3124256 by trackleft2, bkosborne: PHPUnit deprecation notice...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.