statamic / eloquent-driver

Provides support for storing your Statamic data in a database, rather than flat files.
https://statamic.dev/tips/storing-content-in-a-database
MIT License
104 stars 71 forks source link

Move to PHPUnit attributes #309

Closed ryanmitchell closed 1 week ago

ryanmitchell commented 2 weeks ago

PHPUnit has started throwing deprecation warnings on the use of /** @test **/ and dataproviders in comments.

This PR updates the test suite to use attributes instead, which is going to be the only supported way from PHPUnit 12+.