replace PHPUnit annotations with attributes (#5608)

This commit is contained in:
Kevin Papst
2025-08-11 18:57:42 +02:00
committed by GitHub
parent 04331420ae
commit 24778d3ffb
599 changed files with 1778 additions and 2313 deletions

View File

@@ -9,16 +9,16 @@
namespace App\Tests\Export\Spreadsheet;
use App\Export\Spreadsheet\ColumnDefinition;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
/**
* @covers \App\Export\Spreadsheet\ColumnDefinition
*/
#[CoversClass(ColumnDefinition::class)]
class ColumnDefinitionTest extends TestCase
{
public function testConstruct(): void
{
$sut = new \App\Export\Spreadsheet\ColumnDefinition('foo', 'bar', function () {
$sut = new ColumnDefinition('foo', 'bar', function () {
return 'hello world';
});