Skip to content

Commit

Permalink
PHPUnit 10.x dataProvider support
Browse files Browse the repository at this point in the history
  • Loading branch information
roelofr committed Mar 7, 2023
1 parent d0a668a commit 468d75e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function testSubmittingImageUrlWithErrors(): void
* Provides a list of valid image files to test.
* @return string[][]
*/
public function provideValidFiles(): array
public static function provideValidFiles(): array
{
return [
'gif' => [test_resource('responses/image.gif')],
Expand All @@ -182,7 +182,7 @@ public function provideValidFiles(): array
* Provides a subset of the available image formats, since svg isn't supported by the GD library.
* @return string[][]
*/
public function provideValidFilesForImageUpload(): array
public static function provideValidFilesForImageUpload(): array
{
return Arr::except($this->provideValidFiles(), [
'svg',
Expand Down

0 comments on commit 468d75e

Please sign in to comment.