tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745) Bug: T332865 Change-Id: Idd94bf5deedd4a06039205192435f0abdd827d64
This commit is contained in:
@@ -34,7 +34,7 @@ class LanguageSearchTest extends PHPUnit\Framework\TestCase {
|
||||
$this->assertSame( $expected, $actual );
|
||||
}
|
||||
|
||||
public function searchDataProvider() {
|
||||
public static function searchDataProvider() {
|
||||
return [
|
||||
[ 'ഹിന്ദി', [
|
||||
'hi' => 'ഹിന്ദി'
|
||||
|
||||
Reference in New Issue
Block a user