Page MenuHomePhabricator

Make PHPUnit dataProvider static in LoginNotify tests
Closed, ResolvedPublic

Description

The @dataProvider annotation should be a static function, check and make data provider in the extension, at least:

  • LoginNotifyTest with provideIsUserRecordGivenCookie and provideCheckAndGenerateCookie

static and adjust the usages (More infos at T332865).

Initial work was done in 76bf0ed8e387e84ec36d04736e75a683da4dcaad