Skip to content

Commit

Permalink
Merge pull request #161 from PHPCSStandards/feature/tests-static-data…
Browse files Browse the repository at this point in the history
…providers

Tests: make dataproviders static
  • Loading branch information
jrfnl authored Sep 10, 2024
2 parents 8e50c7d + 8e0a60e commit 96c9676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/DocsXsd/DocsXsdTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function testXsdValidationPassedWithValidXml($fixtureFile)
*
* @return array<string, array<string, string>>
*/
public function dataValidXsd()
public static function dataValidXsd()
{
return [
'Valid docs example with single standard in the file' => [
Expand Down Expand Up @@ -110,7 +110,7 @@ public function testXsdValidationFailsForInvalidXml($fixtureFile, $expectedStdOu
*
* @return array<string, array<string, string>>
*/
public function dataInvalidXsd()
public static function dataInvalidXsd()
{
return [
'Title attribute too long on <documentation> element' => [
Expand Down

0 comments on commit 96c9676

Please sign in to comment.