Skip to content

Commit

Permalink
Use attributes instead of annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 15, 2023
1 parent f3c0039 commit cf97b3c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/InvokerTest.php
Expand Up @@ -10,15 +10,14 @@
namespace SebastianBergmann\Invoker;

use function sleep;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use PHPUnit\Framework\TestCase;
use RuntimeException;
use SebastianBergmann\Invoker\TestFixture\TestCallable;

/**
* @requires extension pcntl
*
* @covers \SebastianBergmann\Invoker\Invoker
*/
#[RequiresPhpExtension('pcntl')]
#[CoversClass(Invoker::class)]
final class InvokerTest extends TestCase
{
private TestCallable $callable;
Expand Down

0 comments on commit cf97b3c

Please sign in to comment.