--- ../test/Operands/CommonTest.php	2026-07-11 01:31:09.291295273 +0300
+++ ../test/Operands/CommonTest.php	2026-07-11 01:31:30.512046367 +0300
@@ -8,10 +8,11 @@
 use GetOpt\GetOpt;
 use GetOpt\Operand;
 use PHPUnit\Framework\TestCase;
+use PHPUnit\Framework\Attributes\Test;
 
 class CommonTest extends TestCase
 {
-    /** @test */
+    #[Test]
     public function operandsAreResetted(): void
     {
         $getopt = new GetOpt();
@@ -22,7 +23,7 @@
         self::assertSame([], $getopt->getOperands());
     }
 
-    /** @test */
+    #[Test]
     public function addOperands(): void
     {
         $operand1 = new Operand('op1');
@@ -36,7 +37,7 @@
         self::assertSame([$operand1, $operand2, $operand3], $getopt->getOperandObjects());
     }
 
-    /** @test */
+    #[Test]
     public function operandValidation(): void
     {
         $operand = Operand::create('op1')
@@ -51,7 +52,7 @@
         $getopt->process('"any value"');
     }
 
-    /** @test */
+    #[Test]
     public function optionalOperand(): void
     {
         $operand = new Operand('op1', Operand::OPTIONAL); // false is default
@@ -63,7 +64,7 @@
         self::assertSame([], $getopt->getOperands());
     }
 
-    /** @test */
+    #[Test]
     public function requiredOperand(): void
     {
         $operand = new Operand('op1', Operand::REQUIRED);
@@ -75,7 +76,7 @@
         $getopt->process('');
     }
 
-    /** @test */
+    #[Test]
     public function getOperandByName(): void
     {
         $operand = new Operand('op1');
@@ -87,7 +88,7 @@
         self::assertSame('42', $getopt->getOperand('op1'));
     }
 
-    /** @test */
+    #[Test]
     public function defaultValue(): void
     {
         $operand = Operand::create('op1')
@@ -100,7 +101,7 @@
         self::assertSame(42, $getopt->getOperand('op1'));
     }
 
-    /** @test */
+    #[Test]
     public function allPreviousOperandsGetRequiredToo(): void
     {
         $operand1 = new Operand('op1', Operand::OPTIONAL);
@@ -112,7 +113,7 @@
         self::assertTrue($getopt->getOperandObjects()[0]->isRequired());
     }
 
-    /** @test */
+    #[Test]
     public function commandsCanHaveOperands(): void
     {
         $operand = new Operand('op1');
@@ -122,7 +123,7 @@
         self::assertSame([$operand], $command->getOperands());
     }
 
-    /** @test */
+    #[Test]
     public function commandWithOperand(): void
     {
         $getopt = new GetOpt();
@@ -136,7 +137,7 @@
         self::assertSame('path/to/file', $getopt->getOperand('file'));
     }
 
-    /** @test */
+    #[Test]
     public function returnsNullForUnknownOperands(): void
     {
         $getopt = new GetOpt();
@@ -146,7 +147,7 @@
         self::assertNull($result);
     }
 
-    /** @test */
+    #[Test]
     public function requireMakesRequired(): void
     {
         $operand = new Operand('op1');
@@ -156,7 +157,7 @@
         self::assertTrue($operand->isRequired());
     }
 
-    /** @test */
+    #[Test]
     public function requireFalse(): void
     {
         $operand = new Operand('op1', Operand::REQUIRED);
@@ -166,7 +167,7 @@
         self::assertFalse($operand->isRequired());
     }
 
-    /** @test */
+    #[Test]
     public function requireDoesNotMakeAnOperandMultiple(): void
     {
         $operand = new Operand('op1');
@@ -178,7 +179,7 @@
         self::assertFalse($operand->isMultiple());
     }
 
-    /** @test */
+    #[Test]
     public function multipleMakesMultiple(): void
     {
         $operand = new Operand('op1');
@@ -188,7 +189,7 @@
         self::assertTrue($operand->isMultiple());
     }
 
-    /** @test */
+    #[Test]
     public function multipleFalse(): void
     {
         $operand = new Operand('op1', Operand::MULTIPLE);
@@ -198,7 +199,7 @@
         self::assertFalse($operand->isMultiple());
     }
 
-    /** @test */
+    #[Test]
     public function requiredMultipleThrowsMissing(): void
     {
         $operand = new Operand('port');
