spatie / phpunit-snapshot-assertions

A way to test without writing actual test cases
https://spatie.be/courses/testing-laravel-with-pest/snapshot-testing
MIT License
640 stars 70 forks source link

Updating to PHPUnit 11.x outputs deprecation notices #186

Closed robiningelbrecht closed 6 months ago

robiningelbrecht commented 6 months ago
Metadata found in doc-comment for method Tests\OutputTest::setUpSnapshotIncrementor(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.

Metadata found in doc-comment for method Tests\OutputTest::markTestIncompleteIfSnapshotsHaveChanged(). Metadata in doc-comments is deprecated and will no longer be supported in PHPUnit 12. Update your test code to use attributes instead.
simonhammes commented 6 months ago

I will try to send a PR