Skip to content

Commit 96c9676

Browse files
authored
Merge pull request #161 from PHPCSStandards/feature/tests-static-dataproviders
Tests: make dataproviders static
2 parents 8e50c7d + 8e0a60e commit 96c9676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/DocsXsd/DocsXsdTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function testXsdValidationPassedWithValidXml($fixtureFile)
6060
*
6161
* @return array<string, array<string, string>>
6262
*/
63-
public function dataValidXsd()
63+
public static function dataValidXsd()
6464
{
6565
return [
6666
'Valid docs example with single standard in the file' => [
@@ -110,7 +110,7 @@ public function testXsdValidationFailsForInvalidXml($fixtureFile, $expectedStdOu
110110
*
111111
* @return array<string, array<string, string>>
112112
*/
113-
public function dataInvalidXsd()
113+
public static function dataInvalidXsd()
114114
{
115115
return [
116116
'Title attribute too long on <documentation> element' => [

0 commit comments

Comments
 (0)