- Issue created by @mondrake
Migrate plugin kernel tests use @covers
annotation to indicate the plugin class to be tested.
This is blocking conversion of test metadata to PHP attributes, since there is no attribute equivalent to the @covers
annotation.
Add a @coversDefaultClass
annotation to the relevant test classes, that indicates the same class indicated by the @covers
annotation.
The @coversDefaultClass
annotation will be converted by Rector to a #[CoversClass]
attribute.
Change MigrateSourceTestBase::getPluginClass
to look for the CoversClass metadata first, falling back to the Covers metadata for BC.
Active
11.0 🔥
phpunit