From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Tue, 16 Sep 2025 08:15:46 +0200
Subject: PHPunit 12 compatibility: additional fixes

---
 .../Tests/ContainerAwareEventManagerTest.php       |  2 ++
 .../DoctrineDataCollectorTestTrait.php             |  8 ++----
 .../Tests/Form/Type/EntityTypePerformanceTest.php  |  3 ---
 .../Tests/Middleware/Debug/MiddlewareTest.php      |  1 -
 .../DoctrineDbalCacheAdapterSchemaListenerTest.php |  1 +
 .../SchemaListener/LockStoreSchemaListenerTest.php |  1 +
 ...essengerTransportDoctrineSchemaListenerTest.php |  1 +
 .../PdoSessionHandlerSchemaListenerTest.php        |  1 +
 .../PhpUnit/Tests/ExpectDeprecationTraitTest.php   |  5 ----
 .../Tests/ExpectedDeprecationAnnotationTest.php    |  2 --
 .../FailTests/ExpectDeprecationTraitTestFail.php   |  2 --
 .../Tests/OnlyExpectingDeprecationSkippedTest.php  |  1 -
 .../Bridge/PhpUnit/Tests/ProcessIsolationTest.php  |  1 -
 .../Extension/AbstractBootstrap3LayoutTestCase.php |  1 -
 .../Extension/AbstractBootstrap5LayoutTestCase.php |  4 ---
 .../Extension/HttpFoundationExtensionTest.php      |  2 +-
 .../Tests/Command/CachePruneCommandTest.php        |  1 -
 .../Descriptor/AbstractDescriptorTestCase.php      | 28 ++++++++++----------
 .../Console/Descriptor/TextDescriptorTest.php      |  3 +--
 .../XmlFrameworkExtensionTest.php                  |  2 --
 .../Tests/Functional/CachePoolsTest.php            |  1 -
 .../CompleteConfigurationTestCase.php              |  2 --
 .../Security/Factory/AbstractFactoryTest.php       |  1 -
 .../DependencyInjection/SecurityExtensionTest.php  |  2 --
 .../XmlCompleteConfigurationTest.php               |  1 -
 .../XmlCustomAuthenticatorTest.php                 |  1 -
 .../DependencyInjection/XmlCustomProviderTest.php  |  1 -
 .../Tests/Functional/AuthenticatorTest.php         |  4 +--
 .../Tests/Adapter/CouchbaseBucketAdapterTest.php   |  5 ++--
 .../Adapter/CouchbaseCollectionAdapterTest.php     |  5 ++--
 .../Tests/Adapter/DoctrineDbalAdapterTest.php      |  9 +++----
 .../Cache/Tests/Adapter/MemcachedAdapterTest.php   | 17 ++++--------
 .../Cache/Tests/Adapter/PdoAdapterTest.php         | 11 +++-----
 .../Cache/Tests/Adapter/RedisAdapterTest.php       |  9 +++----
 .../Tests/Adapter/RedisClusterAdapterTest.php      |  5 ++--
 .../Cache/Tests/Adapter/RelayAdapterTest.php       |  3 +--
 .../Component/Clock/Test/ClockSensitiveTrait.php   |  7 ++---
 .../Config/Tests/Definition/ArrayNodeTest.php      |  4 +--
 .../Definition/Builder/ArrayNodeDefinitionTest.php |  1 -
 .../Component/Console/Tests/ApplicationTest.php    |  1 -
 .../Component/Console/Tests/Helper/TableTest.php   |  4 +--
 .../Compiler/CheckCircularReferencesPassTest.php   |  3 ---
 .../Compiler/CheckDefinitionValidityPassTest.php   |  4 ---
 ...ExceptionOnInvalidReferenceBehaviorPassTest.php |  2 --
 .../Compiler/CheckReferenceValidityPassTest.php    |  1 -
 .../Compiler/CheckTypeDeclarationsPassTest.php     | 30 ----------------------
 .../MergeExtensionConfigurationPassTest.php        |  1 -
 .../RegisterAutoconfigureAttributesPassTest.php    |  1 -
 .../ResolveReferencesToAliasesPassTest.php         |  4 ---
 .../Compiler/ValidateEnvPlaceholdersPassTest.php   |  1 -
 .../Tests/ContainerBuilderTest.php                 |  5 ----
 .../Tests/Dumper/PhpDumperTest.php                 |  2 --
 .../Tests/Dumper/XmlDumperTest.php                 |  1 -
 .../Tests/ParameterBag/FrozenParameterBagTest.php  |  1 -
 .../Tests/ParameterBag/ParameterBagTest.php        |  3 ---
 .../Tests/Exception/FlattenExceptionTest.php       |  8 +++---
 .../EventDispatcher/Tests/EventDispatcherTest.php  |  1 +
 .../Tests/ExpressionLanguageTest.php               |  2 +-
 .../Finder/Tests/FinderOpenBasedirTest.php         |  1 +
 .../ChoiceList/Factory/Cache/ChoiceLoaderTest.php  |  1 +
 .../Factory/CachingFactoryDecoratorTest.php        | 15 +++++++++++
 .../Factory/DefaultChoiceListFactoryTest.php       |  1 +
 .../Loader/FilterChoiceLoaderDecoratorTest.php     |  3 +++
 .../Form/Tests/CompoundFormPerformanceTest.php     |  1 -
 .../Tests/DependencyInjection/FormPassTest.php     |  1 -
 .../DateTimeToLocalizedStringTransformerTest.php   |  1 -
 .../Tests/Extension/Core/Type/CheckboxTypeTest.php |  1 -
 .../Core/Type/ChoiceTypePerformanceTest.php        |  1 -
 .../Extension/Core/Type/CollectionTypeTest.php     |  2 --
 .../Tests/Extension/Core/Type/ColorTypeTest.php    |  1 -
 .../Tests/Extension/Core/Type/CountryTypeTest.php  |  2 --
 .../Tests/Extension/Core/Type/CurrencyTypeTest.php |  2 --
 .../Extension/Core/Type/DateIntervalTypeTest.php   |  1 -
 .../Tests/Extension/Core/Type/DateTimeTypeTest.php |  1 -
 .../Tests/Extension/Core/Type/DateTypeTest.php     |  1 -
 .../Tests/Extension/Core/Type/FileTypeTest.php     |  1 -
 .../Tests/Extension/Core/Type/FormTypeTest.php     |  2 --
 .../Tests/Extension/Core/Type/IntegerTypeTest.php  |  1 -
 .../Tests/Extension/Core/Type/LanguageTypeTest.php |  2 --
 .../Tests/Extension/Core/Type/LocaleTypeTest.php   |  2 --
 .../Tests/Extension/Core/Type/MoneyTypeTest.php    |  1 -
 .../Tests/Extension/Core/Type/NumberTypeTest.php   |  1 -
 .../Tests/Extension/Core/Type/PasswordTypeTest.php |  1 -
 .../Tests/Extension/Core/Type/RepeatedTypeTest.php |  1 -
 .../Tests/Extension/Core/Type/TextTypeTest.php     |  1 -
 .../Tests/Extension/Core/Type/TimeTypeTest.php     |  1 -
 .../Tests/Extension/Core/Type/TimezoneTypeTest.php |  1 -
 .../Constraints/FormValidatorPerformanceTest.php   |  1 -
 .../HttpClient/Tests/AmpHttpClientTest.php         |  2 --
 .../HttpClient/Tests/AsyncDecoratorTraitTest.php   |  1 -
 .../HttpClient/Tests/CurlHttpClientTest.php        |  1 -
 .../HttpClient/Tests/HttpClientTestCase.php        |  2 --
 .../HttpClient/Tests/MockHttpClientTest.php        |  3 ---
 .../HttpClient/Tests/NativeHttpClientTest.php      |  5 ----
 .../Tests/ExpressionRequestMatcherTest.php         |  2 +-
 .../HttpFoundation/Tests/InputBagTest.php          |  1 +
 .../HttpFoundation/Tests/ResponseTest.php          |  1 -
 .../HttpFoundation/Tests/Session/SessionTest.php   |  8 +++---
 .../Tests/Session/Storage/MetadataBagTest.php      |  1 -
 .../Session/Storage/NativeSessionStorageTest.php   |  3 ---
 .../HttpFoundation/Tests/UriSignerTest.php         |  1 +
 .../HttpFoundation/Tests/UrlHelperTest.php         |  2 +-
 .../Tests/Fragment/InlineFragmentRendererTest.php  |  6 -----
 .../Component/Intl/Tests/CurrenciesTest.php        |  1 -
 src/Symfony/Component/Intl/Tests/TimezonesTest.php |  3 ---
 .../Transliterator/EmojiTransliteratorTest.php     |  2 ++
 .../Lock/Tests/Store/AbstractStoreTestCase.php     |  1 -
 .../Lock/Tests/Store/BlockingStoreTestTrait.php    |  4 +--
 .../Lock/Tests/Store/DoctrineDbalStoreTest.php     |  1 -
 .../Lock/Tests/Store/MemcachedStoreTest.php        |  1 -
 .../Component/Lock/Tests/Store/PdoStoreTest.php    |  1 -
 .../DoctrinePostgreSqlFilterIntegrationTest.php    |  1 +
 .../DoctrinePostgreSqlIntegrationTest.php          |  1 +
 .../DoctrinePostgreSqlPgbouncerIntegrationTest.php |  1 +
 .../DoctrinePostgreSqlRegularIntegrationTest.php   |  1 +
 .../Tests/Transport/DoctrineTransportTest.php      |  1 +
 .../Redis/Tests/Transport/ConnectionTest.php       |  9 +++++++
 .../Tests/Transport/RelayExtIntegrationTest.php    |  7 -----
 .../Mime/Tests/FileBinaryMimeTypeGuesserTest.php   |  1 -
 .../Bridge/Mercure/Tests/MercureTransportTest.php  |  3 ---
 .../Tests/Action/Input/MultiChoiceInputTest.php    |  2 +-
 .../Bridge/SpotHit/Tests/SpotHitTransportTest.php  |  1 -
 .../Notifier/Test/TransportFactoryTestCase.php     |  2 +-
 .../Tests/PropertyAccessorArrayAccessTestCase.php  |  8 +++---
 .../PropertyAccess/Tests/PropertyAccessorTest.php  |  6 ++---
 .../Tests/Extractor/PhpDocExtractorTest.php        |  4 +--
 .../Tests/Extractor/PhpStanExtractorTest.php       |  2 +-
 .../Tests/PropertyInfoCacheExtractorTest.php       |  7 -----
 .../Dumper/CompiledUrlGeneratorDumperTest.php      |  3 ---
 .../Routing/Tests/Generator/UrlGeneratorTest.php   |  3 ---
 .../Routing/Tests/Loader/DirectoryLoaderTest.php   |  1 -
 .../Authentication/Token/AbstractTokenTest.php     |  2 +-
 .../Oidc/OidcUserInfoTokenHandlerTest.php          |  1 +
 .../CsrfTokenClearingLogoutListenerTest.php        |  1 -
 .../Http/Tests/Firewall/ExceptionListenerTest.php  |  2 +-
 .../Tests/Store/AbstractStoreTestCase.php          |  2 --
 .../Serializer/Tests/Encoder/XmlEncoderTest.php    |  1 +
 .../Normalizer/Features/CallbacksTestTrait.php     | 29 ++++++---------------
 .../Features/CircularReferenceTestTrait.php        |  5 ++--
 .../Features/ContextMetadataTestTrait.php          |  9 +++----
 .../Features/SkipUninitializedValuesTestTrait.php  |  5 ++--
 .../Normalizer/GetSetMethodNormalizerTest.php      |  1 -
 .../Tests/Normalizer/PropertyNormalizerTest.php    |  1 -
 .../String/Tests/AbstractAsciiTestCase.php         |  4 +--
 .../Translation/Tests/Loader/CsvFileLoaderTest.php |  1 +
 ...alValidatorWithPositiveOrZeroConstraintTest.php |  5 ----
 ...aterThanValidatorWithPositiveConstraintTest.php |  5 ----
 .../Tests/Constraints/LengthValidatorTest.php      |  4 +--
 ...alValidatorWithNegativeOrZeroConstraintTest.php |  4 ---
 ...LessThanValidatorWithNegativeConstraintTest.php |  6 -----
 .../Validator/Tests/Constraints/TimezoneTest.php   |  1 -
 .../Tests/Constraints/WhenValidatorTest.php        |  1 -
 .../VarDumper/Tests/Caster/DateCasterTest.php      | 14 +++++-----
 .../Tests/Dumper/ContextualizedDumperTest.php      |  3 ++-
 .../Workflow/Tests/Attribute/AsListenerTest.php    |  4 +--
 .../Tests/Validator/StateMachineValidatorTest.php  |  1 -
 .../Tests/Validator/WorkflowValidatorTest.php      |  1 -
 src/Symfony/Component/Yaml/Tests/InlineTest.php    |  4 +--
 158 files changed, 158 insertions(+), 362 deletions(-)

diff --git a/src/Symfony/Bridge/Doctrine/Tests/ContainerAwareEventManagerTest.php b/src/Symfony/Bridge/Doctrine/Tests/ContainerAwareEventManagerTest.php
index a26767a..0d04e3a 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/ContainerAwareEventManagerTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/ContainerAwareEventManagerTest.php
@@ -41,6 +41,7 @@ class ContainerAwareEventManagerTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testDispatchEventRespectOrderWithSubscribers()
     {
         $this->evm = new ContainerAwareEventManager($this->container, ['sub1', 'sub2']);
@@ -80,6 +81,7 @@ class ContainerAwareEventManagerTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testDispatchEventWithSubscribers()
     {
         $this->evm = new ContainerAwareEventManager($this->container, ['lazy4']);
diff --git a/src/Symfony/Bridge/Doctrine/Tests/DataCollector/DoctrineDataCollectorTestTrait.php b/src/Symfony/Bridge/Doctrine/Tests/DataCollector/DoctrineDataCollectorTestTrait.php
index c3f569f..cc69f07 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/DataCollector/DoctrineDataCollectorTestTrait.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/DataCollector/DoctrineDataCollectorTestTrait.php
@@ -48,9 +48,7 @@ trait DoctrineDataCollectorTestTrait
         $this->assertEquals(1, $c->getQueryCount());
     }
 
-    /**
-     * @group nophpunit11
-     */
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit11')]
     public function testCollectTime()
     {
         $c = $this->createCollector([]);
@@ -76,9 +74,7 @@ trait DoctrineDataCollectorTestTrait
         $this->assertEquals(3, $c->getTime());
     }
 
-    /**
-     * @group nophpunit11
-     */
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit11')]
     public function testCollectTimeWithFloatExecutionMS()
     {
         $queries = [
diff --git a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php
index e2b7f59..712c43e 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/Form/Type/EntityTypePerformanceTest.php
@@ -83,7 +83,6 @@ class EntityTypePerformanceTest extends FormPerformanceTestCase
      * row contains the same entity field.
      */
     #[\PHPUnit\Framework\Attributes\Group('benchmark')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCollapsedEntityField()
     {
         $this->setMaxRunningTime(1);
@@ -99,7 +98,6 @@ class EntityTypePerformanceTest extends FormPerformanceTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('benchmark')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCollapsedEntityFieldWithChoices()
     {
         $choices = $this->em->createQuery('SELECT c FROM '.self::ENTITY_CLASS.' c')->getResult();
@@ -117,7 +115,6 @@ class EntityTypePerformanceTest extends FormPerformanceTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('benchmark')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCollapsedEntityFieldWithPreferredChoices()
     {
         $choices = $this->em->createQuery('SELECT c FROM '.self::ENTITY_CLASS.' c')->getResult();
diff --git a/src/Symfony/Bridge/Doctrine/Tests/Middleware/Debug/MiddlewareTest.php b/src/Symfony/Bridge/Doctrine/Tests/Middleware/Debug/MiddlewareTest.php
index 206da1a..55dc12a 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/Middleware/Debug/MiddlewareTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/Middleware/Debug/MiddlewareTest.php
@@ -258,7 +258,6 @@ EOT;
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideExecuteAndEndTransactionMethods')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testWithoutStopwatch(callable $sqlMethod, callable $endTransactionMethod)
     {
         $this->init(false);
diff --git a/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/DoctrineDbalCacheAdapterSchemaListenerTest.php b/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/DoctrineDbalCacheAdapterSchemaListenerTest.php
index e429dca..177a85e 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/DoctrineDbalCacheAdapterSchemaListenerTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/DoctrineDbalCacheAdapterSchemaListenerTest.php
@@ -21,6 +21,7 @@ use Symfony\Component\Cache\Adapter\DoctrineDbalAdapter;
 
 class DoctrineDbalCacheAdapterSchemaListenerTest extends TestCase
 {
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testPostGenerateSchema()
     {
         $schema = new Schema();
diff --git a/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/LockStoreSchemaListenerTest.php b/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/LockStoreSchemaListenerTest.php
index 6fd86a4..e4d4a81 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/LockStoreSchemaListenerTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/LockStoreSchemaListenerTest.php
@@ -21,6 +21,7 @@ use Symfony\Component\Lock\Store\DoctrineDbalStore;
 
 class LockStoreSchemaListenerTest extends TestCase
 {
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testPostGenerateSchemaLockPdo()
     {
         $schema = new Schema();
diff --git a/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/MessengerTransportDoctrineSchemaListenerTest.php b/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/MessengerTransportDoctrineSchemaListenerTest.php
index 7321ddd..5947a7a 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/MessengerTransportDoctrineSchemaListenerTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/MessengerTransportDoctrineSchemaListenerTest.php
@@ -25,6 +25,7 @@ use Symfony\Component\Messenger\Transport\TransportInterface;
 
 class MessengerTransportDoctrineSchemaListenerTest extends TestCase
 {
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testPostGenerateSchema()
     {
         $schema = new Schema();
diff --git a/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/PdoSessionHandlerSchemaListenerTest.php b/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/PdoSessionHandlerSchemaListenerTest.php
index fce8926..57f4105 100644
--- a/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/PdoSessionHandlerSchemaListenerTest.php
+++ b/src/Symfony/Bridge/Doctrine/Tests/SchemaListener/PdoSessionHandlerSchemaListenerTest.php
@@ -21,6 +21,7 @@ use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler;
 
 class PdoSessionHandlerSchemaListenerTest extends TestCase
 {
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testPostGenerateSchemaPdo()
     {
         $schema = new Schema();
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/ExpectDeprecationTraitTest.php b/src/Symfony/Bridge/PhpUnit/Tests/ExpectDeprecationTraitTest.php
index d30d828..61a49f8 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/ExpectDeprecationTraitTest.php
+++ b/src/Symfony/Bridge/PhpUnit/Tests/ExpectDeprecationTraitTest.php
@@ -22,7 +22,6 @@ final class ExpectDeprecationTraitTest extends TestCase
      * Do not remove this test in the next major version.
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testOne()
     {
         $this->expectDeprecation('foo');
@@ -36,7 +35,6 @@ final class ExpectDeprecationTraitTest extends TestCase
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
     #[\PHPUnit\Framework\Attributes\RunInSeparateProcess]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testOneInIsolation()
     {
         $this->expectDeprecation('foo');
@@ -47,7 +45,6 @@ final class ExpectDeprecationTraitTest extends TestCase
      * Do not remove this test in the next major version.
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testMany()
     {
         $this->expectDeprecation('foo');
@@ -63,7 +60,6 @@ final class ExpectDeprecationTraitTest extends TestCase
      * @expectedDeprecation foo
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testOneWithAnnotation()
     {
         $this->expectDeprecation('bar');
@@ -79,7 +75,6 @@ final class ExpectDeprecationTraitTest extends TestCase
      * @expectedDeprecation bar
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testManyWithAnnotation()
     {
         $this->expectDeprecation('ccc');
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/ExpectedDeprecationAnnotationTest.php b/src/Symfony/Bridge/PhpUnit/Tests/ExpectedDeprecationAnnotationTest.php
index 5e02cc7..422310e 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/ExpectedDeprecationAnnotationTest.php
+++ b/src/Symfony/Bridge/PhpUnit/Tests/ExpectedDeprecationAnnotationTest.php
@@ -22,7 +22,6 @@ final class ExpectedDeprecationAnnotationTest extends TestCase
      * @expectedDeprecation foo
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testOne()
     {
         @trigger_error('foo', \E_USER_DEPRECATED);
@@ -36,7 +35,6 @@ final class ExpectedDeprecationAnnotationTest extends TestCase
      * @expectedDeprecation bar
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testMany()
     {
         @trigger_error('foo', \E_USER_DEPRECATED);
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/FailTests/ExpectDeprecationTraitTestFail.php b/src/Symfony/Bridge/PhpUnit/Tests/FailTests/ExpectDeprecationTraitTestFail.php
index aaca378..c64b736 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/FailTests/ExpectDeprecationTraitTestFail.php
+++ b/src/Symfony/Bridge/PhpUnit/Tests/FailTests/ExpectDeprecationTraitTestFail.php
@@ -28,7 +28,6 @@ final class ExpectDeprecationTraitTestFail extends TestCase
      * Do not remove this test in the next major version.
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testOne()
     {
         $this->expectDeprecation('foo');
@@ -42,7 +41,6 @@ final class ExpectDeprecationTraitTestFail extends TestCase
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
     #[\PHPUnit\Framework\Attributes\RunInSeparateProcess]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testOneInIsolation()
     {
         $this->expectDeprecation('foo');
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/OnlyExpectingDeprecationSkippedTest.php b/src/Symfony/Bridge/PhpUnit/Tests/OnlyExpectingDeprecationSkippedTest.php
index 4668a06..06d0142 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/OnlyExpectingDeprecationSkippedTest.php
+++ b/src/Symfony/Bridge/PhpUnit/Tests/OnlyExpectingDeprecationSkippedTest.php
@@ -26,7 +26,6 @@ final class OnlyExpectingDeprecationSkippedTest extends TestCase
      * @expectedDeprecation unreachable
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testExpectingOnlyDeprecations()
     {
         $this->fail('should never be ran.');
diff --git a/src/Symfony/Bridge/PhpUnit/Tests/ProcessIsolationTest.php b/src/Symfony/Bridge/PhpUnit/Tests/ProcessIsolationTest.php
index 318bfe5..54d8571 100644
--- a/src/Symfony/Bridge/PhpUnit/Tests/ProcessIsolationTest.php
+++ b/src/Symfony/Bridge/PhpUnit/Tests/ProcessIsolationTest.php
@@ -25,7 +25,6 @@ class ProcessIsolationTest extends TestCase
     /**
      * @expectedDeprecation Test abc
      */
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testIsolation()
     {
         @trigger_error('Test abc', \E_USER_DEPRECATED);
diff --git a/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php b/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php
index ebd0559..a25bd54 100644
--- a/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php
+++ b/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap3LayoutTestCase.php
@@ -1786,7 +1786,6 @@ abstract class AbstractBootstrap3LayoutTestCase extends AbstractLayoutTestCase
         );
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDateTimeWithWidgetSingleTextIgnoreDateAndTimeWidgets()
     {
         $this->markTestSkipped('Make tests pass with symfony/form 4.4');
diff --git a/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php b/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php
index 26c35f4..4b3aa7f 100644
--- a/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php
+++ b/src/Symfony/Bridge/Twig/Tests/Extension/AbstractBootstrap5LayoutTestCase.php
@@ -307,7 +307,6 @@ abstract class AbstractBootstrap5LayoutTestCase extends AbstractBootstrap4Layout
         );
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testErrors()
     {
         self::markTestSkipped('This method has been split into testRootErrors() and testRowErrors().');
@@ -349,7 +348,6 @@ abstract class AbstractBootstrap5LayoutTestCase extends AbstractBootstrap4Layout
         );
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testErrorWithNoLabel()
     {
         self::markTestSkipped('Errors are no longer rendered inside label with Bootstrap 5.');
@@ -957,7 +955,6 @@ abstract class AbstractBootstrap5LayoutTestCase extends AbstractBootstrap4Layout
         );
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testFileLabelIdNotDuplicated()
     {
         $this->markTestSkipped('The Bootstrap 5 form theme does not use the file widget shipped with the Bootstrap 4 theme.');
@@ -992,7 +989,6 @@ abstract class AbstractBootstrap5LayoutTestCase extends AbstractBootstrap4Layout
         );
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testFileWithPlaceholder()
     {
         self::markTestSkipped('Placeholder does not apply on input file.');
diff --git a/src/Symfony/Bridge/Twig/Tests/Extension/HttpFoundationExtensionTest.php b/src/Symfony/Bridge/Twig/Tests/Extension/HttpFoundationExtensionTest.php
index bab3096..fb6aec6 100644
--- a/src/Symfony/Bridge/Twig/Tests/Extension/HttpFoundationExtensionTest.php
+++ b/src/Symfony/Bridge/Twig/Tests/Extension/HttpFoundationExtensionTest.php
@@ -63,7 +63,7 @@ class HttpFoundationExtensionTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getGenerateAbsoluteUrlRequestContextData')]
-    public function testGenerateAbsoluteUrlWithoutRequestAndRequestContext($path)
+    public function testGenerateAbsoluteUrlWithoutRequestAndRequestContext($path, $baseUrl, $host, $scheme, $httpPort, $httpsPort, $expected)
     {
         $extension = new HttpFoundationExtension(new UrlHelper(new RequestStack()));
 
diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Command/CachePruneCommandTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Command/CachePruneCommandTest.php
index f1563e2..d806e52 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Tests/Command/CachePruneCommandTest.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Command/CachePruneCommandTest.php
@@ -23,7 +23,6 @@ use Symfony\Component\HttpKernel\KernelInterface;
 
 class CachePruneCommandTest extends TestCase
 {
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCommandWithPools()
     {
         $tester = $this->getCommandTester($this->getKernel(), $this->getRewindableGenerator());
diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/AbstractDescriptorTestCase.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/AbstractDescriptorTestCase.php
index ae8f253..e5e5a8f 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/AbstractDescriptorTestCase.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/AbstractDescriptorTestCase.php
@@ -40,7 +40,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeRouteCollectionTestData')]
-    public function testDescribeRouteCollection(RouteCollection $routes, $expectedDescription)
+    public function testDescribeRouteCollection(RouteCollection $routes, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $routes);
     }
@@ -51,7 +51,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeRouteTestData')]
-    public function testDescribeRoute(Route $route, $expectedDescription)
+    public function testDescribeRoute(Route $route, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $route);
     }
@@ -62,7 +62,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeContainerParametersTestData')]
-    public function testDescribeContainerParameters(ParameterBag $parameters, $expectedDescription)
+    public function testDescribeContainerParameters(ParameterBag $parameters, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $parameters);
     }
@@ -73,7 +73,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeContainerBuilderTestData')]
-    public function testDescribeContainerBuilder(ContainerBuilder $builder, $expectedDescription, array $options)
+    public function testDescribeContainerBuilder(ContainerBuilder $builder, $expectedDescription, array $options, $more = 0)
     {
         $this->assertDescription($expectedDescription, $builder, $options);
     }
@@ -84,7 +84,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeContainerExistingClassDefinitionTestData')]
-    public function testDescribeContainerExistingClassDefinition(Definition $definition, $expectedDescription)
+    public function testDescribeContainerExistingClassDefinition(Definition $definition, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $definition);
     }
@@ -95,7 +95,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeContainerDefinitionTestData')]
-    public function testDescribeContainerDefinition(Definition $definition, $expectedDescription)
+    public function testDescribeContainerDefinition(Definition $definition, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $definition);
     }
@@ -106,7 +106,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeContainerDefinitionWithArgumentsShownTestData')]
-    public function testDescribeContainerDefinitionWithArgumentsShown(Definition $definition, $expectedDescription)
+    public function testDescribeContainerDefinitionWithArgumentsShown(Definition $definition, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $definition, ['show_arguments' => true]);
     }
@@ -126,7 +126,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeContainerAliasTestData')]
-    public function testDescribeContainerAlias(Alias $alias, $expectedDescription)
+    public function testDescribeContainerAlias(Alias $alias, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $alias);
     }
@@ -137,7 +137,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeContainerDefinitionWhichIsAnAliasTestData')]
-    public function testDescribeContainerDefinitionWhichIsAnAlias(Alias $alias, $expectedDescription, ContainerBuilder $builder, $options = [])
+    public function testDescribeContainerDefinitionWhichIsAnAlias(Alias $alias, $expectedDescription, ContainerBuilder $builder, $options = [], $more = 0)
     {
         $this->assertDescription($expectedDescription, $builder, $options);
     }
@@ -174,7 +174,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
      */
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeContainerParameterTestData')]
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    public function testDescribeContainerParameter($parameter, $expectedDescription, array $options)
+    public function testDescribeContainerParameter($parameter, $expectedDescription, array $options, $more = 0)
     {
         $this->assertDescription($expectedDescription, $parameter, $options);
     }
@@ -197,7 +197,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeEventDispatcherTestData')]
-    public function testDescribeEventDispatcher(EventDispatcher $eventDispatcher, $expectedDescription, array $options)
+    public function testDescribeEventDispatcher(EventDispatcher $eventDispatcher, $expectedDescription, array $options, $more = 0)
     {
         $this->assertDescription($expectedDescription, $eventDispatcher, $options);
     }
@@ -208,7 +208,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeCallableTestData')]
-    public function testDescribeCallable($callable, $expectedDescription)
+    public function testDescribeCallable($callable, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $callable);
     }
@@ -220,7 +220,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeDeprecatedCallableTestData')]
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    public function testDescribeDeprecatedCallable($callable, $expectedDescription)
+    public function testDescribeDeprecatedCallable($callable, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $callable);
     }
@@ -247,7 +247,7 @@ abstract class AbstractDescriptorTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDeprecationsTestData')]
-    public function testGetDeprecations(ContainerBuilder $builder, $expectedDescription)
+    public function testGetDeprecations(ContainerBuilder $builder, $expectedDescription, $more = 0)
     {
         $this->assertDescription($expectedDescription, $builder, ['deprecations' => true]);
     }
diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/TextDescriptorTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/TextDescriptorTest.php
index 716b5e6..e7832ba 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/TextDescriptorTest.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/TextDescriptorTest.php
@@ -46,8 +46,7 @@ class TextDescriptorTest extends AbstractDescriptorTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDescribeRouteWithControllerLinkTestData')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
-    public function testDescribeRouteWithControllerLink(Route $route, $expectedDescription)
+    public function testDescribeRouteWithControllerLink(Route $route, $expectedDescription, $more = 0)
     {
         static::$fileLinkFormatter = new FileLinkFormatter('myeditor://open?file=%f&line=%l');
         parent::testDescribeRoute($route, str_replace('[:file:]', __FILE__, $expectedDescription));
diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/XmlFrameworkExtensionTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/XmlFrameworkExtensionTest.php
index 378f789..822409f 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/XmlFrameworkExtensionTest.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/XmlFrameworkExtensionTest.php
@@ -23,13 +23,11 @@ class XmlFrameworkExtensionTest extends FrameworkExtensionTestCase
         $loader->load($file.'.xml');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testAssetsHelperIsRemovedWhenPhpTemplatingEngineIsEnabledAndAssetsAreDisabled()
     {
         $this->markTestSkipped('The assets key cannot be set to false using the XML configuration format.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testMessengerMiddlewareFactoryErroneousFormat()
     {
         $this->markTestSkipped('XML configuration will not allow erroneous format.');
diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php
index 76cc001..a48a3c0 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php
@@ -26,7 +26,6 @@ class CachePoolsTest extends AbstractWebTestCase
 
     #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('redis')]
     #[\PHPUnit\Framework\Attributes\Group('integration')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testRedisCachePools()
     {
         $this->skipIfRedisUnavailable();
diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/CompleteConfigurationTestCase.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/CompleteConfigurationTestCase.php
index 5133895..d9b7bed 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/CompleteConfigurationTestCase.php
+++ b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/CompleteConfigurationTestCase.php
@@ -698,14 +698,12 @@ abstract class CompleteConfigurationTestCase extends TestCase
         $this->getContainer('listener_undefined_provider');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testFirewallWithUserProvider()
     {
         $this->getContainer('firewall_provider');
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testFirewallListenerWithProvider()
     {
         $this->getContainer('listener_provider');
diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Security/Factory/AbstractFactoryTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Security/Factory/AbstractFactoryTest.php
index 17934f9..55cd599 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Security/Factory/AbstractFactoryTest.php
+++ b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Security/Factory/AbstractFactoryTest.php
@@ -108,7 +108,6 @@ class AbstractFactoryTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testRequirePreviousSessionOptionLegacy()
     {
         $this->expectDeprecation('Since symfony/security-bundle 6.4: Option "require_previous_session" at "root" is deprecated, it will be removed in version 7.0. Setting it has no effect anymore.');
diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php
index e18bd12..f747e4a 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php
+++ b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php
@@ -141,7 +141,6 @@ class SecurityExtensionTest extends TestCase
         $this->assertTrue($container->getDefinition('security.authentication.switchuser_listener.some_firewall')->getArgument(9));
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testPerListenerProvider()
     {
         $container = $this->getRawContainer();
@@ -185,7 +184,6 @@ class SecurityExtensionTest extends TestCase
         $container->compile();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testPerListenerProviderWithRememberMeAndAnonymous()
     {
         $container = $this->getRawContainer();
diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCompleteConfigurationTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCompleteConfigurationTest.php
index 5c4c549..2624adc 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCompleteConfigurationTest.php
+++ b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCompleteConfigurationTest.php
@@ -17,7 +17,6 @@ use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
 
 class XmlCompleteConfigurationTest extends CompleteConfigurationTestCase
 {
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testFirewallPatterns()
     {
         $this->markTestSkipped('This features is not supported in XML.');
diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCustomAuthenticatorTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCustomAuthenticatorTest.php
index 4ad5c42..38e6376 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCustomAuthenticatorTest.php
+++ b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCustomAuthenticatorTest.php
@@ -21,7 +21,6 @@ use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
 class XmlCustomAuthenticatorTest extends TestCase
 {
     #[\PHPUnit\Framework\Attributes\DataProvider('provideXmlConfigurationFile')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCustomProviderElement(string $configurationFile)
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCustomProviderTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCustomProviderTest.php
index 4ee60fd..25bb0b1 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCustomProviderTest.php
+++ b/src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/XmlCustomProviderTest.php
@@ -21,7 +21,6 @@ use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
 class XmlCustomProviderTest extends TestCase
 {
     #[\PHPUnit\Framework\Attributes\DataProvider('provideXmlConfigurationFile')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCustomProviderElement(string $configurationFile)
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AuthenticatorTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AuthenticatorTest.php
index 74609da..09f7a0d 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AuthenticatorTest.php
+++ b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AuthenticatorTest.php
@@ -15,7 +15,7 @@ class AuthenticatorTest extends AbstractWebTestCase
 {
     #[\PHPUnit\Framework\Attributes\DataProvider('provideEmails')]
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    public function testLegacyGlobalUserProvider($email)
+    public function testLegacyGlobalUserProvider($email, $withinFirewall)
     {
         $client = $this->createClient(['test_case' => 'Authenticator', 'root_config' => 'implicit_user_provider.yml']);
 
@@ -42,7 +42,7 @@ class AuthenticatorTest extends AbstractWebTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideEmails')]
-    public function testWithoutUserProvider($email)
+    public function testWithoutUserProvider($email, $withinFirewall)
     {
         $client = $this->createClient(['test_case' => 'Authenticator', 'root_config' => 'no_user_provider.yml']);
 
diff --git a/src/Symfony/Component/Cache/Tests/Adapter/CouchbaseBucketAdapterTest.php b/src/Symfony/Component/Cache/Tests/Adapter/CouchbaseBucketAdapterTest.php
index 3e5569e..304b4b4 100644
--- a/src/Symfony/Component/Cache/Tests/Adapter/CouchbaseBucketAdapterTest.php
+++ b/src/Symfony/Component/Cache/Tests/Adapter/CouchbaseBucketAdapterTest.php
@@ -16,13 +16,12 @@ use Symfony\Component\Cache\Adapter\AbstractAdapter;
 use Symfony\Component\Cache\Adapter\CouchbaseBucketAdapter;
 
 /**
- * @requires extension couchbase <3.0.0
- * @requires extension couchbase >=2.6.0
- *
  * @group integration
  *
  * @author Antonio Jose Cerezo Aranda <aj.cerezo@gmail.com>
  */
+#[\PHPUnit\Framework\Attributes\RequiresPhpExtension('couchbase <3.0.0')]
+#[\PHPUnit\Framework\Attributes\RequiresPhpExtension('couchbase >=2.6.0')]
 class CouchbaseBucketAdapterTest extends AdapterTestCase
 {
     protected $skippedTests = [
diff --git a/src/Symfony/Component/Cache/Tests/Adapter/CouchbaseCollectionAdapterTest.php b/src/Symfony/Component/Cache/Tests/Adapter/CouchbaseCollectionAdapterTest.php
index 32b1ad0..b41b646 100644
--- a/src/Symfony/Component/Cache/Tests/Adapter/CouchbaseCollectionAdapterTest.php
+++ b/src/Symfony/Component/Cache/Tests/Adapter/CouchbaseCollectionAdapterTest.php
@@ -17,13 +17,12 @@ use Symfony\Component\Cache\Adapter\AbstractAdapter;
 use Symfony\Component\Cache\Adapter\CouchbaseCollectionAdapter;
 
 /**
- * @requires extension couchbase <4.0.0
- * @requires extension couchbase >=3.0.5
- *
  * @group integration
  *
  * @author Antonio Jose Cerezo Aranda <aj.cerezo@gmail.com>
  */
+#[\PHPUnit\Framework\Attributes\RequiresPhpExtension('couchbase <4.0.0')]
+#[\PHPUnit\Framework\Attributes\RequiresPhpExtension('couchbase >=3.0.5')]
 class CouchbaseCollectionAdapterTest extends AdapterTestCase
 {
     protected $skippedTests = [
diff --git a/src/Symfony/Component/Cache/Tests/Adapter/DoctrineDbalAdapterTest.php b/src/Symfony/Component/Cache/Tests/Adapter/DoctrineDbalAdapterTest.php
index 90e9f7c..7d5e5a5 100644
--- a/src/Symfony/Component/Cache/Tests/Adapter/DoctrineDbalAdapterTest.php
+++ b/src/Symfony/Component/Cache/Tests/Adapter/DoctrineDbalAdapterTest.php
@@ -18,15 +18,16 @@ use Doctrine\DBAL\Driver\Middleware;
 use Doctrine\DBAL\DriverManager;
 use Doctrine\DBAL\Schema\DefaultSchemaManagerFactory;
 use Doctrine\DBAL\Schema\Schema;
+use PHPUnit\Framework\Attributes\DataProvider;
+use PHPUnit\Framework\MockObject\MockObject;
 use Psr\Cache\CacheItemPoolInterface;
 use Symfony\Component\Cache\Adapter\DoctrineDbalAdapter;
 use Symfony\Component\Cache\Tests\Fixtures\DriverWrapper;
 
 /**
- * @requires extension pdo_sqlite
- *
  * @group time-sensitive
  */
+#[\PHPUnit\Framework\Attributes\RequiresPhpExtension('pdo_sqlite')]
 class DoctrineDbalAdapterTest extends AdapterTestCase
 {
     protected static string $dbFile;
@@ -119,9 +120,7 @@ class DoctrineDbalAdapterTest extends AdapterTestCase
         $this->assertEmpty($table->getColumns(), 'The table was not overwritten');
     }
 
-    /**
-     * @dataProvider provideDsnWithSQLite
-     */
+    #[DataProvider('provideDsnWithSQLite')]
     public function testDsnWithSQLite(string $dsn, ?string $file = null)
     {
         try {
diff --git a/src/Symfony/Component/Cache/Tests/Adapter/MemcachedAdapterTest.php b/src/Symfony/Component/Cache/Tests/Adapter/MemcachedAdapterTest.php
index a935dbc..f0a3590 100644
--- a/src/Symfony/Component/Cache/Tests/Adapter/MemcachedAdapterTest.php
+++ b/src/Symfony/Component/Cache/Tests/Adapter/MemcachedAdapterTest.php
@@ -11,6 +11,7 @@
 
 namespace Symfony\Component\Cache\Tests\Adapter;
 
+use PHPUnit\Framework\Attributes\DataProvider;
 use Psr\Cache\CacheItemPoolInterface;
 use Symfony\Component\Cache\Adapter\AbstractAdapter;
 use Symfony\Component\Cache\Adapter\MemcachedAdapter;
@@ -67,9 +68,7 @@ class MemcachedAdapterTest extends AdapterTestCase
         $this->assertSame(\Memcached::DISTRIBUTION_MODULA, $client->getOption(\Memcached::OPT_DISTRIBUTION));
     }
 
-    /**
-     * @dataProvider provideBadOptions
-     */
+    #[DataProvider('provideBadOptions')]
     public function testBadOptions($name, $value)
     {
         $this->expectException(\Error::class);
@@ -111,9 +110,7 @@ class MemcachedAdapterTest extends AdapterTestCase
         new MemcachedAdapter(MemcachedAdapter::createConnection([], ['serializer' => 'json']));
     }
 
-    /**
-     * @dataProvider provideServersSetting
-     */
+    #[DataProvider('provideServersSetting')]
     public function testServersSetting(string $dsn, string $host, int $port)
     {
         $client1 = MemcachedAdapter::createConnection($dsn);
@@ -168,9 +165,7 @@ class MemcachedAdapterTest extends AdapterTestCase
         }
     }
 
-    /**
-     * @requires extension memcached
-     */
+    #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('memcached')]
     public function testOptionsFromDsnWinOverAdditionallyPassedOptions()
     {
         $client = MemcachedAdapter::createConnection('memcached://localhost:11222?retry_timeout=10', [
@@ -180,9 +175,7 @@ class MemcachedAdapterTest extends AdapterTestCase
         $this->assertSame(10, $client->getOption(\Memcached::OPT_RETRY_TIMEOUT));
     }
 
-    /**
-     * @requires extension memcached
-     */
+    #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('memcached')]
     public function testOptionsFromDsnAndAdditionallyPassedOptionsAreMerged()
     {
         $client = MemcachedAdapter::createConnection('memcached://localhost:11222?socket_recv_size=1&socket_send_size=2', [
diff --git a/src/Symfony/Component/Cache/Tests/Adapter/PdoAdapterTest.php b/src/Symfony/Component/Cache/Tests/Adapter/PdoAdapterTest.php
index 0dd30e5..78054c8 100644
--- a/src/Symfony/Component/Cache/Tests/Adapter/PdoAdapterTest.php
+++ b/src/Symfony/Component/Cache/Tests/Adapter/PdoAdapterTest.php
@@ -11,14 +11,14 @@
 
 namespace Symfony\Component\Cache\Tests\Adapter;
 
+use PHPUnit\Framework\Attributes\DataProvider;
 use Psr\Cache\CacheItemPoolInterface;
 use Symfony\Component\Cache\Adapter\PdoAdapter;
 
 /**
- * @requires extension pdo_sqlite
- *
  * @group time-sensitive
  */
+#[\PHPUnit\Framework\Attributes\RequiresPhpExtension('pdo_sqlite')]
 class PdoAdapterTest extends AdapterTestCase
 {
     protected static string $dbFile;
@@ -65,9 +65,7 @@ class PdoAdapterTest extends AdapterTestCase
         $this->assertSame(0, $getCacheItemCount(), 'PDOAdapter must clean up expired items');
     }
 
-    /**
-     * @dataProvider provideDsnSQLite
-     */
+    #[DataProvider('provideDsnSQLite')]
     public function testDsnWithSQLite(string $dsn, ?string $file = null)
     {
         try {
@@ -91,10 +89,9 @@ class PdoAdapterTest extends AdapterTestCase
     }
 
     /**
-     * @requires extension pdo_pgsql
-     *
      * @group integration
      */
+    #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('pdo_pgsql')]
     public function testDsnWithPostgreSQL()
     {
         if (!$host = getenv('POSTGRES_HOST')) {
diff --git a/src/Symfony/Component/Cache/Tests/Adapter/RedisAdapterTest.php b/src/Symfony/Component/Cache/Tests/Adapter/RedisAdapterTest.php
index 7b8e11e..d7d6757 100644
--- a/src/Symfony/Component/Cache/Tests/Adapter/RedisAdapterTest.php
+++ b/src/Symfony/Component/Cache/Tests/Adapter/RedisAdapterTest.php
@@ -11,6 +11,7 @@
 
 namespace Symfony\Component\Cache\Tests\Adapter;
 
+use PHPUnit\Framework\Attributes\DataProvider;
 use Psr\Cache\CacheItemPoolInterface;
 use Symfony\Component\Cache\Adapter\AbstractAdapter;
 use Symfony\Component\Cache\Adapter\RedisAdapter;
@@ -95,9 +96,7 @@ class RedisAdapterTest extends AbstractRedisAdapterTestCase
         $this->assertInstanceOf(RedisProxy::class, $redis);
     }
 
-    /**
-     * @dataProvider provideFailedCreateConnection
-     */
+    #[DataProvider('provideFailedCreateConnection')]
     public function testFailedCreateConnection(string $dsn)
     {
         $this->expectException(InvalidArgumentException::class);
@@ -115,9 +114,7 @@ class RedisAdapterTest extends AbstractRedisAdapterTestCase
         ];
     }
 
-    /**
-     * @dataProvider provideInvalidCreateConnection
-     */
+    #[DataProvider('provideInvalidCreateConnection')]
     public function testInvalidCreateConnection(string $dsn)
     {
         $this->expectException(InvalidArgumentException::class);
diff --git a/src/Symfony/Component/Cache/Tests/Adapter/RedisClusterAdapterTest.php b/src/Symfony/Component/Cache/Tests/Adapter/RedisClusterAdapterTest.php
index 3b7450e..382f85e 100644
--- a/src/Symfony/Component/Cache/Tests/Adapter/RedisClusterAdapterTest.php
+++ b/src/Symfony/Component/Cache/Tests/Adapter/RedisClusterAdapterTest.php
@@ -11,6 +11,7 @@
 
 namespace Symfony\Component\Cache\Tests\Adapter;
 
+use PHPUnit\Framework\Attributes\DataProvider;
 use Psr\Cache\CacheItemPoolInterface;
 use Symfony\Component\Cache\Adapter\AbstractAdapter;
 use Symfony\Component\Cache\Adapter\RedisAdapter;
@@ -47,9 +48,7 @@ class RedisClusterAdapterTest extends AbstractRedisAdapterTestCase
         return $adapter;
     }
 
-    /**
-     * @dataProvider provideFailedCreateConnection
-     */
+    #[DataProvider('provideFailedCreateConnection')]
     public function testFailedCreateConnection(string $dsn)
     {
         $this->expectException(InvalidArgumentException::class);
diff --git a/src/Symfony/Component/Cache/Tests/Adapter/RelayAdapterTest.php b/src/Symfony/Component/Cache/Tests/Adapter/RelayAdapterTest.php
index dde78f4..f6829bb 100644
--- a/src/Symfony/Component/Cache/Tests/Adapter/RelayAdapterTest.php
+++ b/src/Symfony/Component/Cache/Tests/Adapter/RelayAdapterTest.php
@@ -18,10 +18,9 @@ use Symfony\Component\Cache\Exception\InvalidArgumentException;
 use Symfony\Component\Cache\Traits\RelayProxy;
 
 /**
- * @requires extension relay
- *
  * @group integration
  */
+#[\PHPUnit\Framework\Attributes\RequiresPhpExtension('relay')]
 class RelayAdapterTest extends AbstractRedisAdapterTestCase
 {
     public static function setUpBeforeClass(): void
diff --git a/src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php b/src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php
index 8f5c597..fcc2820 100644
--- a/src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php
+++ b/src/Symfony/Component/Clock/Test/ClockSensitiveTrait.php
@@ -45,14 +45,14 @@ trait ClockSensitiveTrait
     }
 
     /**
+     * @beforeClass
      *
+     * @before
      *
      * @internal
      */
     #[Before]
     #[BeforeClass]
-    #[\PHPUnit\Framework\Attributes\BeforeClass]
-    #[\PHPUnit\Framework\Attributes\Before]
     public static function saveClockBeforeTest(bool $save = true): ClockInterface
     {
         static $originalClock;
@@ -65,10 +65,11 @@ trait ClockSensitiveTrait
     }
 
     /**
+     * @after
+     *
      * @internal
      */
     #[After]
-    #[\PHPUnit\Framework\Attributes\After]
     protected static function restoreClockAfterTest(): void
     {
         Clock::set(self::saveClockBeforeTest(false));
diff --git a/src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php b/src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php
index 1825a01..7bf24f9 100644
--- a/src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php
+++ b/src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php
@@ -269,7 +269,7 @@ class ArrayNodeTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDataWithIncludedExtraKeys')]
-    public function testMergeWithoutIgnoringExtraKeys(array $prenormalizeds)
+    public function testMergeWithoutIgnoringExtraKeys(array $prenormalizeds, array $merged)
     {
         $node = new ArrayNode('root');
         $node->addChild(new ScalarNode('foo'));
@@ -285,7 +285,7 @@ class ArrayNodeTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getDataWithIncludedExtraKeys')]
-    public function testMergeWithIgnoringAndRemovingExtraKeys(array $prenormalizeds)
+    public function testMergeWithIgnoringAndRemovingExtraKeys(array $prenormalizeds, array $merged)
     {
         $node = new ArrayNode('root');
         $node->addChild(new ScalarNode('foo'));
diff --git a/src/Symfony/Component/Config/Tests/Definition/Builder/ArrayNodeDefinitionTest.php b/src/Symfony/Component/Config/Tests/Definition/Builder/ArrayNodeDefinitionTest.php
index b55bc6d..4cd383d 100644
--- a/src/Symfony/Component/Config/Tests/Definition/Builder/ArrayNodeDefinitionTest.php
+++ b/src/Symfony/Component/Config/Tests/Definition/Builder/ArrayNodeDefinitionTest.php
@@ -297,7 +297,6 @@ class ArrayNodeDefinitionTest extends TestCase
         ];
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testRequiresAtLeastOneElement()
     {
         $node = new ArrayNodeDefinition('root');
diff --git a/src/Symfony/Component/Console/Tests/ApplicationTest.php b/src/Symfony/Component/Console/Tests/ApplicationTest.php
index fd6a43c..e3b5ac5 100644
--- a/src/Symfony/Component/Console/Tests/ApplicationTest.php
+++ b/src/Symfony/Component/Console/Tests/ApplicationTest.php
@@ -1124,7 +1124,6 @@ class ApplicationTest extends TestCase
      * an argument value should not be treated as verbosity value.
      * This test will fail with "Not enough arguments." if broken
      */
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testVerboseValueNotBreakArguments()
     {
         $application = new Application();
diff --git a/src/Symfony/Component/Console/Tests/Helper/TableTest.php b/src/Symfony/Component/Console/Tests/Helper/TableTest.php
index ab1f503..16f4376 100644
--- a/src/Symfony/Component/Console/Tests/Helper/TableTest.php
+++ b/src/Symfony/Component/Console/Tests/Helper/TableTest.php
@@ -1277,9 +1277,7 @@ TABLE;
 | 80-902734-1-6 | And Then There Were None | Agatha Christie  |
 +---------------+--------- Page 1/2 -------+------------------+
 
-TABLE
-                ,
-                true,
+TABLE,
             ],
             'header contains multiple lines' => [
                 'Multiline'."\n".'header'."\n".'here',
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckCircularReferencesPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckCircularReferencesPassTest.php
index 7765fe4..20a0a7b 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckCircularReferencesPassTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckCircularReferencesPassTest.php
@@ -106,7 +106,6 @@ class CheckCircularReferencesPassTest extends TestCase
         $this->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessIgnoresMethodCalls()
     {
         $container = new ContainerBuilder();
@@ -118,7 +117,6 @@ class CheckCircularReferencesPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessIgnoresLazyServices()
     {
         $container = new ContainerBuilder();
@@ -146,7 +144,6 @@ class CheckCircularReferencesPassTest extends TestCase
         $this->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessIgnoresIteratorArguments()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckDefinitionValidityPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckDefinitionValidityPassTest.php
index de10802..d7e6a1c 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckDefinitionValidityPassTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckDefinitionValidityPassTest.php
@@ -39,7 +39,6 @@ class CheckDefinitionValidityPassTest extends TestCase
         $this->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessAcceptsServiceLocatorWithoutClass()
     {
         $container = new ContainerBuilder();
@@ -63,7 +62,6 @@ class CheckDefinitionValidityPassTest extends TestCase
         $this->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcess()
     {
         $container = new ContainerBuilder();
@@ -76,7 +74,6 @@ class CheckDefinitionValidityPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testValidTags()
     {
         $container = new ContainerBuilder();
@@ -146,7 +143,6 @@ class CheckDefinitionValidityPassTest extends TestCase
         $this->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDynamicPrivateName()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php
index f15448e..bebf9df 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php
@@ -24,7 +24,6 @@ use Symfony\Component\DependencyInjection\Reference;
 
 class CheckExceptionOnInvalidReferenceBehaviorPassTest extends TestCase
 {
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcess()
     {
         $container = new ContainerBuilder();
@@ -71,7 +70,6 @@ class CheckExceptionOnInvalidReferenceBehaviorPassTest extends TestCase
         $this->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessDefinitionWithBindings()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckReferenceValidityPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckReferenceValidityPassTest.php
index d5d637f..1589e3d 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckReferenceValidityPassTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckReferenceValidityPassTest.php
@@ -30,7 +30,6 @@ class CheckReferenceValidityPassTest extends TestCase
         $this->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcess()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php
index 2648d6d..e5e4e41 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/CheckTypeDeclarationsPassTest.php
@@ -97,7 +97,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         (new CheckTypeDeclarationsPass(true))->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessSuccessWhenPassingTooManyArgumentInConstructor()
     {
         $container = new ContainerBuilder();
@@ -393,7 +392,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         (new CheckTypeDeclarationsPass(true))->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessSuccessWhenPassingAnIteratorArgumentToIterable()
     {
         $container = new ContainerBuilder();
@@ -406,7 +404,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessSuccessWhenPassingDefinitionForObjectType()
     {
         $container = new ContainerBuilder();
@@ -477,7 +474,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         (new CheckTypeDeclarationsPass(true))->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessFactorySuccessOnValidTypes()
     {
         $container = new ContainerBuilder();
@@ -509,7 +505,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->assertInstanceOf(\DateTimeImmutable::class, $container->get('bar'));
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessDoesNotLoadCodeByDefault()
     {
         $container = new ContainerBuilder();
@@ -528,7 +523,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessFactoryDoesNotLoadCodeByDefault()
     {
         $container = new ContainerBuilder();
@@ -545,7 +539,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessFactoryForTypeSameAsClass()
     {
         $container = new ContainerBuilder();
@@ -564,7 +557,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessFactoryForIterableTypeAndArrayClass()
     {
         $container = new ContainerBuilder();
@@ -583,7 +575,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessPassingBuiltinTypeDoesNotLoadCodeByDefault()
     {
         $container = new ContainerBuilder();
@@ -622,7 +613,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         (new CheckTypeDeclarationsPass(true))->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessResolveExpressions()
     {
         $container = new ContainerBuilder();
@@ -637,7 +627,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessSuccessWhenExpressionReturnsObject()
     {
         $container = new ContainerBuilder();
@@ -686,7 +675,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         (new CheckTypeDeclarationsPass(true))->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessHandleExistingEnvPlaceholder()
     {
         putenv('ARRAY={"foo":"bar"}');
@@ -707,7 +695,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         putenv('ARRAY=');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessHandleNotFoundEnvPlaceholder()
     {
         $container = new ContainerBuilder(new EnvPlaceholderParameterBag([
@@ -724,7 +711,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessSkipSkippedIds()
     {
         $container = new ContainerBuilder();
@@ -737,7 +723,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessSkipsDeprecatedDefinitions()
     {
         $container = new ContainerBuilder();
@@ -751,7 +736,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessHandleClosureForCallable()
     {
         $closureDefinition = new Definition(\Closure::class);
@@ -768,7 +752,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessSuccessWhenPassingServiceClosureArgumentToCallable()
     {
         $container = new ContainerBuilder();
@@ -781,7 +764,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessSuccessWhenPassingServiceClosureArgumentToClosure()
     {
         $container = new ContainerBuilder();
@@ -794,7 +776,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testExpressionLanguageWithSyntheticService()
     {
         $container = new ContainerBuilder();
@@ -811,7 +792,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProcessResolveParameters()
     {
         putenv('ARRAY={"foo":"bar"}');
@@ -838,7 +818,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         putenv('ARRAY=');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testUnionTypePassesWithReference()
     {
         $container = new ContainerBuilder();
@@ -852,7 +831,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testUnionTypePassesWithBuiltin()
     {
         $container = new ContainerBuilder();
@@ -865,7 +843,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testUnionTypePassesWithFalse()
     {
         $container = new ContainerBuilder();
@@ -880,7 +857,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\RequiresPhp('8.2')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testUnionTypePassesWithTrue()
     {
         $container = new ContainerBuilder();
@@ -955,7 +931,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         (new CheckTypeDeclarationsPass(true))->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testReferencePassesMixed()
     {
         $container = new ContainerBuilder();
@@ -970,7 +945,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testIntersectionTypePassesWithReference()
     {
         $container = new ContainerBuilder();
@@ -998,7 +972,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         (new CheckTypeDeclarationsPass(true))->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCallableClass()
     {
         $container = new ContainerBuilder();
@@ -1010,7 +983,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testStaticCallableClass()
     {
         $container = new ContainerBuilder();
@@ -1022,7 +994,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testIgnoreDefinitionFactoryArgument()
     {
         $container = new ContainerBuilder();
@@ -1037,7 +1008,6 @@ class CheckTypeDeclarationsPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testErroredDefinitionsAreNotChecked()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/MergeExtensionConfigurationPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/MergeExtensionConfigurationPassTest.php
index 1235493..088991d 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/MergeExtensionConfigurationPassTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/MergeExtensionConfigurationPassTest.php
@@ -132,7 +132,6 @@ class MergeExtensionConfigurationPassTest extends TestCase
         $this->assertSame(['FOO'], array_keys($container->getParameterBag()->getEnvPlaceholders()));
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testReuseEnvPlaceholderGeneratedByPreviousExtension()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterAutoconfigureAttributesPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterAutoconfigureAttributesPassTest.php
index e3f4144..7328aa1 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterAutoconfigureAttributesPassTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterAutoconfigureAttributesPassTest.php
@@ -175,7 +175,6 @@ class RegisterAutoconfigureAttributesPassTest extends TestCase
         $this->assertEquals([AutoconfigureRepeatedProperties::class => $expected], $container->getAutoconfiguredInstanceof());
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testMissingParent()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveReferencesToAliasesPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveReferencesToAliasesPassTest.php
index 4bfb24e..c95a24e 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveReferencesToAliasesPassTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveReferencesToAliasesPassTest.php
@@ -86,7 +86,6 @@ class ResolveReferencesToAliasesPassTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecationNoticeWhenReferencedByAlias()
     {
         $this->expectDeprecation('Since foobar 1.2.3.4: The "deprecated_foo_alias" service alias is deprecated. You should stop using it, as it will be removed in the future. It is being referenced by the "alias" alias.');
@@ -105,7 +104,6 @@ class ResolveReferencesToAliasesPassTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecationNoticeWhenReferencedByDefinition()
     {
         $this->expectDeprecation('Since foobar 1.2.3.4: The "foo_aliased" service alias is deprecated. You should stop using it, as it will be removed in the future. It is being referenced by the "definition" service.');
@@ -125,7 +123,6 @@ class ResolveReferencesToAliasesPassTest extends TestCase
         $this->process($container);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testNoDeprecationNoticeWhenReferencedByDeprecatedAlias()
     {
         $container = new ContainerBuilder();
@@ -144,7 +141,6 @@ class ResolveReferencesToAliasesPassTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testNoDeprecationNoticeWhenReferencedByDeprecatedDefinition()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/ValidateEnvPlaceholdersPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/ValidateEnvPlaceholdersPassTest.php
index 46faa48..17ef87c 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/ValidateEnvPlaceholdersPassTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/ValidateEnvPlaceholdersPassTest.php
@@ -288,7 +288,6 @@ class ValidateEnvPlaceholdersPassTest extends TestCase
         $this->assertSame($expected, $container->resolveEnvPlaceholders($ext->getConfig()));
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testEmptyConfigFromMoreThanOneSource()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
index 47bc9c0..6aa2501 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/ContainerBuilderTest.php
@@ -111,7 +111,6 @@ class ContainerBuilderTest extends TestCase
      * The test should be kept in the group as it always expects a deprecation.
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecateParameter()
     {
         $builder = new ContainerBuilder();
@@ -128,7 +127,6 @@ class ContainerBuilderTest extends TestCase
      * The test should be kept in the group as it always expects a deprecation.
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testParameterDeprecationIsTrgiggeredWhenCompiled()
     {
         $builder = new ContainerBuilder();
@@ -1553,7 +1551,6 @@ class ContainerBuilderTest extends TestCase
         $container->compile();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testUnusedServiceRemovedByPassAndServiceNotFoundExceptionWasNotThrown()
     {
         $container = new ContainerBuilder();
@@ -1944,7 +1941,6 @@ class ContainerBuilderTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDirectlyAccessingDeprecatedPublicService()
     {
         $this->expectDeprecation('Since foo/bar 3.8: Accessing the "Symfony\Component\DependencyInjection\Tests\A" service directly from the container is deprecated, use dependency injection instead.');
@@ -1960,7 +1956,6 @@ class ContainerBuilderTest extends TestCase
         $container->get(A::class);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testReferencingDeprecatedPublicService()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php b/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php
index d2becda..f9b2361 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php
@@ -1776,7 +1776,6 @@ PHP
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDirectlyAccessingDeprecatedPublicService()
     {
         $this->expectDeprecation('Since foo/bar 3.8: Accessing the "bar" service directly from the container is deprecated, use dependency injection instead.');
@@ -1797,7 +1796,6 @@ PHP
         $container->get('bar');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testReferencingDeprecatedPublicService()
     {
         $container = new ContainerBuilder();
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php b/src/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php
index da19d12..9cca47e 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php
@@ -150,7 +150,6 @@ class XmlDumperTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideCompiledContainerData')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCompiledContainerCanBeDumped($containerFile)
     {
         $fixturesPath = __DIR__.'/../Fixtures';
diff --git a/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/FrozenParameterBagTest.php b/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/FrozenParameterBagTest.php
index ef56df3..8e3674b 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/FrozenParameterBagTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/FrozenParameterBagTest.php
@@ -68,7 +68,6 @@ class FrozenParameterBagTest extends TestCase
      * The test should be kept in the group as it always expects a deprecation.
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetDeprecated()
     {
         $bag = new FrozenParameterBag(
diff --git a/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ParameterBagTest.php b/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ParameterBagTest.php
index 0228f13..028f591 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ParameterBagTest.php
+++ b/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ParameterBagTest.php
@@ -140,7 +140,6 @@ Test it will throw in 7.0')]
      * The test should be kept in the group as it always expects a deprecation.
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecate()
     {
         $bag = new ParameterBag(['foo' => 'bar']);
@@ -156,7 +155,6 @@ Test it will throw in 7.0')]
      * The test should be kept in the group as it always expects a deprecation.
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecateWithMessage()
     {
         $bag = new ParameterBag(['foo' => 'bar']);
@@ -172,7 +170,6 @@ Test it will throw in 7.0')]
      * The test should be kept in the group as it always expects a deprecation.
      */
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecationIsTriggeredWhenResolved()
     {
         $bag = new ParameterBag(['foo' => '%bar%', 'bar' => 'baz']);
diff --git a/src/Symfony/Component/ErrorHandler/Tests/Exception/FlattenExceptionTest.php b/src/Symfony/Component/ErrorHandler/Tests/Exception/FlattenExceptionTest.php
index 6c6c3ad..709ace5 100644
--- a/src/Symfony/Component/ErrorHandler/Tests/Exception/FlattenExceptionTest.php
+++ b/src/Symfony/Component/ErrorHandler/Tests/Exception/FlattenExceptionTest.php
@@ -116,7 +116,7 @@ class FlattenExceptionTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('flattenDataProvider')]
-    public function testFlattenHttpException(\Throwable $exception)
+    public function testFlattenHttpException(\Throwable $exception, string $expectedClass)
     {
         $flattened = FlattenException::createFromThrowable($exception);
         $flattened2 = FlattenException::createFromThrowable($exception);
@@ -139,7 +139,7 @@ class FlattenExceptionTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('flattenDataProvider')]
-    public function testPrevious(\Throwable $exception)
+    public function testPrevious(\Throwable $exception, string $expectedClass)
     {
         $flattened = FlattenException::createFromThrowable($exception);
         $flattened2 = FlattenException::createFromThrowable($exception);
@@ -163,14 +163,14 @@ class FlattenExceptionTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('flattenDataProvider')]
-    public function testLine(\Throwable $exception)
+    public function testLine(\Throwable $exception, string $expectedClass)
     {
         $flattened = FlattenException::createFromThrowable($exception);
         $this->assertSame($exception->getLine(), $flattened->getLine());
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('flattenDataProvider')]
-    public function testFile(\Throwable $exception)
+    public function testFile(\Throwable $exception, string $expectedClass)
     {
         $flattened = FlattenException::createFromThrowable($exception);
         $this->assertSame($exception->getFile(), $flattened->getFile());
diff --git a/src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
index d6d0778..19559a1 100644
--- a/src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
+++ b/src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php
@@ -400,6 +400,7 @@ class EventDispatcherTest extends TestCase
         $this->assertTrue($testLoaded);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testNamedClosures()
     {
         $listener = new TestEventListener();
diff --git a/src/Symfony/Component/ExpressionLanguage/Tests/ExpressionLanguageTest.php b/src/Symfony/Component/ExpressionLanguage/Tests/ExpressionLanguageTest.php
index 4952ff9..6de00db 100644
--- a/src/Symfony/Component/ExpressionLanguage/Tests/ExpressionLanguageTest.php
+++ b/src/Symfony/Component/ExpressionLanguage/Tests/ExpressionLanguageTest.php
@@ -344,7 +344,7 @@ class ExpressionLanguageTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideInvalidNullSafe')]
-    public function testNullSafeCompileFails($expression, $foo)
+    public function testNullSafeCompileFails($expression, $foo, $message)
     {
         $expressionLanguage = new ExpressionLanguage();
 
diff --git a/src/Symfony/Component/Finder/Tests/FinderOpenBasedirTest.php b/src/Symfony/Component/Finder/Tests/FinderOpenBasedirTest.php
index 9ed5184..a2b99d7 100644
--- a/src/Symfony/Component/Finder/Tests/FinderOpenBasedirTest.php
+++ b/src/Symfony/Component/Finder/Tests/FinderOpenBasedirTest.php
@@ -15,6 +15,7 @@ use Symfony\Component\Finder\Finder;
 
 class FinderOpenBasedirTest extends Iterator\RealIteratorTestCase
 {
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     #[\PHPUnit\Framework\Attributes\RunInSeparateProcess]
     public function testIgnoreVCSIgnoredWithOpenBasedir()
     {
diff --git a/src/Symfony/Component/Form/Tests/ChoiceList/Factory/Cache/ChoiceLoaderTest.php b/src/Symfony/Component/Form/Tests/ChoiceList/Factory/Cache/ChoiceLoaderTest.php
index 6134160..1e8d44e 100644
--- a/src/Symfony/Component/Form/Tests/ChoiceList/Factory/Cache/ChoiceLoaderTest.php
+++ b/src/Symfony/Component/Form/Tests/ChoiceList/Factory/Cache/ChoiceLoaderTest.php
@@ -20,6 +20,7 @@ use Symfony\Component\Form\Tests\Fixtures\ArrayChoiceLoader;
 
 class ChoiceLoaderTest extends TestCase
 {
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testSameFormTypeUseCachedLoader()
     {
         $choices = ['f' => 'foo', 'b' => 'bar', 'z' => 'baz'];
diff --git a/src/Symfony/Component/Form/Tests/ChoiceList/Factory/CachingFactoryDecoratorTest.php b/src/Symfony/Component/Form/Tests/ChoiceList/Factory/CachingFactoryDecoratorTest.php
index e979578..aef814c 100644
--- a/src/Symfony/Component/Form/Tests/ChoiceList/Factory/CachingFactoryDecoratorTest.php
+++ b/src/Symfony/Component/Form/Tests/ChoiceList/Factory/CachingFactoryDecoratorTest.php
@@ -35,6 +35,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->factory = new CachingFactoryDecorator(new DefaultChoiceListFactory());
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromChoicesEmpty()
     {
         $list1 = $this->factory->createListFromChoices([]);
@@ -45,6 +46,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals(new ArrayChoiceList([]), $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromChoicesComparesTraversableChoicesAsArray()
     {
         // The top-most traversable is converted to an array
@@ -59,6 +61,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals(new ArrayChoiceList(['A' => 'a']), $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromChoicesGroupedChoices()
     {
         $choices1 = ['key' => ['A' => 'a']];
@@ -72,6 +75,7 @@ class CachingFactoryDecoratorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideSameChoices')]
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromChoicesSameChoices($choice1, $choice2)
     {
         $list1 = $this->factory->createListFromChoices([$choice1]);
@@ -83,6 +87,7 @@ class CachingFactoryDecoratorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideDistinguishedChoices')]
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromChoicesDifferentChoices($choice1, $choice2)
     {
         $list1 = $this->factory->createListFromChoices([$choice1]);
@@ -106,6 +111,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals(new ArrayChoiceList($choices, $closure), $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromChoicesSameValueClosureUseCache()
     {
         $choices = [1];
@@ -133,6 +139,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals(new ArrayChoiceList($choices, $closure2), $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromChoicesSameFilterClosure()
     {
         $choices = [1];
@@ -146,6 +153,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals($lazyChoiceList, $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromChoicesSameFilterClosureUseCache()
     {
         $choices = [1];
@@ -160,6 +168,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals($lazyChoiceList, $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromChoicesDifferentFilterClosure()
     {
         $choices = [1];
@@ -185,6 +194,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals(new LazyChoiceList($loader), $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromLoaderSameLoaderUseCache()
     {
         $type = new FormType();
@@ -213,6 +223,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals(new LazyChoiceList($loader, $closure), $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromLoaderSameValueClosureUseCache()
     {
         $type = new FormType();
@@ -226,6 +237,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals(new LazyChoiceList(new ArrayChoiceLoader(), function () {}), $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromLoaderDifferentValueClosure()
     {
         $loader = new ArrayChoiceLoader();
@@ -235,6 +247,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertNotSame($this->factory->createListFromLoader($loader, $closure1), $this->factory->createListFromLoader($loader, $closure2));
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromLoaderSameFilterClosure()
     {
         $loader = new ArrayChoiceLoader();
@@ -249,6 +262,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals(new LazyChoiceList(new FilterChoiceLoaderDecorator(new ArrayChoiceLoader(), $closure)), $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromLoaderSameFilterClosureUseCache()
     {
         $type = new FormType();
@@ -261,6 +275,7 @@ class CachingFactoryDecoratorTest extends TestCase
         $this->assertEquals(new LazyChoiceList(new FilterChoiceLoaderDecorator(new ArrayChoiceLoader(), function () {})), $list2);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromLoaderDifferentFilterClosure()
     {
         $type = new FormType();
diff --git a/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php b/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php
index 2b1b239..d5d4919 100644
--- a/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php
+++ b/src/Symfony/Component/Form/Tests/ChoiceList/Factory/DefaultChoiceListFactoryTest.php
@@ -255,6 +255,7 @@ class DefaultChoiceListFactoryTest extends TestCase
         $this->assertEquals(new LazyChoiceList($loader, $value), $list);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCreateFromLoaderWithFilter()
     {
         $filter = function () {};
diff --git a/src/Symfony/Component/Form/Tests/ChoiceList/Loader/FilterChoiceLoaderDecoratorTest.php b/src/Symfony/Component/Form/Tests/ChoiceList/Loader/FilterChoiceLoaderDecoratorTest.php
index 5a41e5a..04607e4 100644
--- a/src/Symfony/Component/Form/Tests/ChoiceList/Loader/FilterChoiceLoaderDecoratorTest.php
+++ b/src/Symfony/Component/Form/Tests/ChoiceList/Loader/FilterChoiceLoaderDecoratorTest.php
@@ -18,6 +18,7 @@ use Symfony\Component\Form\Tests\Fixtures\ArrayChoiceLoader;
 
 class FilterChoiceLoaderDecoratorTest extends TestCase
 {
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testLoadChoiceList()
     {
         $filter = fn ($choice) => 0 === $choice % 2;
@@ -27,6 +28,7 @@ class FilterChoiceLoaderDecoratorTest extends TestCase
         $this->assertEquals(new ArrayChoiceList([1 => 2, 3 => 4]), $loader->loadChoiceList());
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testLoadChoiceListWithGroupedChoices()
     {
         $filter = fn ($choice) => $choice < 9 && 0 === $choice % 2;
@@ -43,6 +45,7 @@ class FilterChoiceLoaderDecoratorTest extends TestCase
         ]), $loader->loadChoiceList());
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testLoadChoiceListMixedWithGroupedAndNonGroupedChoices()
     {
         $filter = fn ($choice) => 0 === $choice % 2;
diff --git a/src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php b/src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php
index 94665cc..3f32335 100644
--- a/src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php
+++ b/src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php
@@ -22,7 +22,6 @@ class CompoundFormPerformanceTest extends FormPerformanceTestCase
      * Create a compound form multiple times, as happens in a collection form.
      */
     #[\PHPUnit\Framework\Attributes\Group('benchmark')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testArrayBasedForm()
     {
         $this->setMaxRunningTime(1);
diff --git a/src/Symfony/Component/Form/Tests/DependencyInjection/FormPassTest.php b/src/Symfony/Component/Form/Tests/DependencyInjection/FormPassTest.php
index b29af38..1363353 100644
--- a/src/Symfony/Component/Form/Tests/DependencyInjection/FormPassTest.php
+++ b/src/Symfony/Component/Form/Tests/DependencyInjection/FormPassTest.php
@@ -259,7 +259,6 @@ class FormPassTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('privateTaggedServicesProvider')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testPrivateTaggedServices($id, $class, $tagName, callable $assertion, array $tagAttributes = [])
     {
         $formPass = new FormPass();
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php
index 71fba47..b08def3 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php
@@ -192,7 +192,6 @@ class DateTimeToLocalizedStringTransformerTest extends BaseDateTimeTransformerTe
         $transformer->transform('2010-01-01');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testTransformWrapsIntlErrors()
     {
         $this->markTestIncomplete('Checking for intl errors needs to be reimplemented');
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/CheckboxTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/CheckboxTypeTest.php
index 0c9c305..fb6c074 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/CheckboxTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/CheckboxTypeTest.php
@@ -196,7 +196,6 @@ class CheckboxTypeTest extends BaseTypeTestCase
         ]);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull(false, false, null);
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypePerformanceTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypePerformanceTest.php
index ec06f62..74fd29d 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypePerformanceTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ChoiceTypePerformanceTest.php
@@ -23,7 +23,6 @@ class ChoiceTypePerformanceTest extends FormPerformanceTestCase
      * row contains the same choice field.
      */
     #[\PHPUnit\Framework\Attributes\Group('benchmark')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSameChoiceFieldCreatedMultipleTimes()
     {
         $this->setMaxRunningTime(1);
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php
index 0182936..08d512c 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php
@@ -551,13 +551,11 @@ class CollectionTypeTest extends BaseTypeTestCase
         $this->assertSame($expectedBlockPrefixes, $collectionView->vars['prototype']->vars['block_prefixes']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull([], [], []);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNullUsesDefaultEmptyData($emptyData = [], $expectedData = [])
     {
         // resize form listener always set an empty array
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ColorTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ColorTypeTest.php
index bba53f4..f32b4bc 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/ColorTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/ColorTypeTest.php
@@ -78,7 +78,6 @@ final class ColorTypeTest extends BaseTypeTestCase
         ];
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/CountryTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/CountryTypeTest.php
index c41248e..9cdae7a 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/CountryTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/CountryTypeTest.php
@@ -103,13 +103,11 @@ class CountryTypeTest extends BaseTypeTestCase
         $this->assertNotContains('ZZ', $countryCodes);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNullUsesDefaultEmptyData($emptyData = 'FR', $expectedData = 'FR')
     {
         parent::testSubmitNullUsesDefaultEmptyData($emptyData, $expectedData);
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/CurrencyTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/CurrencyTypeTest.php
index 8d4c3ce..ba109e9 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/CurrencyTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/CurrencyTypeTest.php
@@ -50,13 +50,11 @@ class CurrencyTypeTest extends BaseTypeTestCase
         $this->assertContainsEquals(new ChoiceView('SIT', 'SIT', 'словенський толар'), $choices);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNullUsesDefaultEmptyData($emptyData = 'EUR', $expectedData = 'EUR')
     {
         parent::testSubmitNullUsesDefaultEmptyData($emptyData, $expectedData);
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php
index b54fd56..1278198 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateIntervalTypeTest.php
@@ -402,7 +402,6 @@ class DateIntervalTypeTest extends BaseTypeTestCase
         $this->assertSame('Negative interval', $view['invert']->vars['label']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, [
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php
index 13b7d03..9fa44d4 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTimeTypeTest.php
@@ -648,7 +648,6 @@ class DateTimeTypeTest extends BaseTypeTestCase
         $this->assertSame('test', $view['time']['second']->vars['choice_translation_domain']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, [
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php
index 5b3a3ac..a55b792 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/DateTypeTest.php
@@ -1048,7 +1048,6 @@ class DateTypeTest extends BaseTypeTestCase
         $this->assertSame('test', $view['day']->vars['choice_translation_domain']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, ['year' => '', 'month' => '', 'day' => '']);
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php
index 2104393..453e118 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php
@@ -106,7 +106,6 @@ class FileTypeTest extends BaseTypeTestCase
         $this->assertTrue($view->vars['multipart']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php
index 7d61dd7..fe83888 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/FormTypeTest.php
@@ -184,7 +184,6 @@ class FormTypeTest extends BaseTypeTestCase
         ]);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNullUsesDefaultEmptyData($emptyData = [], $expectedData = [])
     {
         parent::testSubmitNullUsesDefaultEmptyData($emptyData, $expectedData);
@@ -688,7 +687,6 @@ $ref2
         $this->assertSame('0', $view->vars['label']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull([], [], []);
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/IntegerTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/IntegerTypeTest.php
index 1729c48..0623a6f 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/IntegerTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/IntegerTypeTest.php
@@ -65,7 +65,6 @@ class IntegerTypeTest extends BaseTypeTestCase
         $this->assertFalse($form->isSynchronized());
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/LanguageTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/LanguageTypeTest.php
index 1baa4e8..5ef5bcc 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/LanguageTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/LanguageTypeTest.php
@@ -133,13 +133,11 @@ class LanguageTypeTest extends BaseTypeTestCase
         $this->assertNotContainsEquals(new ChoiceView('mul', 'mul', 'Mehrsprachig'), $choices);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNullUsesDefaultEmptyData($emptyData = 'en', $expectedData = 'en')
     {
         parent::testSubmitNullUsesDefaultEmptyData($emptyData, $expectedData);
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/LocaleTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/LocaleTypeTest.php
index 93dd85e..9d4e740 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/LocaleTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/LocaleTypeTest.php
@@ -50,13 +50,11 @@ class LocaleTypeTest extends BaseTypeTestCase
         $this->assertContainsEquals(new ChoiceView('zh_Hant_TW', 'zh_Hant_TW', 'китайська (традиційна, Тайвань)'), $choices);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNullUsesDefaultEmptyData($emptyData = 'en', $expectedData = 'en')
     {
         parent::testSubmitNullUsesDefaultEmptyData($emptyData, $expectedData);
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/MoneyTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/MoneyTypeTest.php
index 0b4bc5b..55bc8ee 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/MoneyTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/MoneyTypeTest.php
@@ -69,7 +69,6 @@ class MoneyTypeTest extends BaseTypeTestCase
         $this->assertSame('{{ widget }} €', $view2->vars['money_pattern']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/NumberTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/NumberTypeTest.php
index 54e575d..132f35e 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/NumberTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/NumberTypeTest.php
@@ -109,7 +109,6 @@ class NumberTypeTest extends BaseTypeTestCase
         $this->assertSame('12346', $form->createView()->vars['value']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/PasswordTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/PasswordTypeTest.php
index 62f8519..8d428a2 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/PasswordTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/PasswordTypeTest.php
@@ -47,7 +47,6 @@ class PasswordTypeTest extends BaseTypeTestCase
         $this->assertSame(' pAs5w0rd ', $form->getData());
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/RepeatedTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/RepeatedTypeTest.php
index 19f7306..c2e5d15 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/RepeatedTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/RepeatedTypeTest.php
@@ -241,7 +241,6 @@ class RepeatedTypeTest extends BaseTypeTestCase
         $this->assertSame('foo', $this->form->getData());
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, ['first' => null, 'second' => null]);
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/TextTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/TextTypeTest.php
index 1d8a382..a1bad8a 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/TextTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/TextTypeTest.php
@@ -15,7 +15,6 @@ class TextTypeTest extends BaseTypeTestCase
 {
     public const TESTED_TYPE = 'Symfony\Component\Form\Extension\Core\Type\TextType';
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php
index 41365ee..8c87995 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php
@@ -1058,7 +1058,6 @@ class TimeTypeTest extends BaseTypeTestCase
         $this->assertSame('test', $view['second']->vars['choice_translation_domain']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         $view = ['hour' => '', 'minute' => ''];
diff --git a/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimezoneTypeTest.php b/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimezoneTypeTest.php
index 757ba31..6283f0f 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimezoneTypeTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Core/Type/TimezoneTypeTest.php
@@ -28,7 +28,6 @@ class TimezoneTypeTest extends BaseTypeTestCase
         $this->assertContainsEquals(new ChoiceView('America/New_York', 'America/New_York', 'America / New York'), $choices);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSubmitNull($expected = null, $norm = null, $view = null)
     {
         parent::testSubmitNull($expected, $norm, '');
diff --git a/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorPerformanceTest.php b/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorPerformanceTest.php
index 0714afd..65c19c6 100644
--- a/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorPerformanceTest.php
+++ b/src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorPerformanceTest.php
@@ -31,7 +31,6 @@ class FormValidatorPerformanceTest extends FormPerformanceTestCase
      * findClickedButton() used to have an exponential number of calls.
      */
     #[\PHPUnit\Framework\Attributes\Group('benchmark')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testValidationPerformance()
     {
         $this->setMaxRunningTime(1);
diff --git a/src/Symfony/Component/HttpClient/Tests/AmpHttpClientTest.php b/src/Symfony/Component/HttpClient/Tests/AmpHttpClientTest.php
index f790821..ff4703f 100644
--- a/src/Symfony/Component/HttpClient/Tests/AmpHttpClientTest.php
+++ b/src/Symfony/Component/HttpClient/Tests/AmpHttpClientTest.php
@@ -18,7 +18,6 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
 class AmpHttpClientTest extends HttpClientTestCase
 {
     #[\PHPUnit\Framework\Attributes\Group('transient')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testNonBlockingStream()
     {
         parent::testNonBlockingStream();
@@ -29,7 +28,6 @@ class AmpHttpClientTest extends HttpClientTestCase
         return new AmpHttpClient(['verify_peer' => false, 'verify_host' => false, 'timeout' => 5]);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testProxy()
     {
         $this->markTestSkipped('A real proxy server would be needed.');
diff --git a/src/Symfony/Component/HttpClient/Tests/AsyncDecoratorTraitTest.php b/src/Symfony/Component/HttpClient/Tests/AsyncDecoratorTraitTest.php
index ec2f04b..8e8b433 100644
--- a/src/Symfony/Component/HttpClient/Tests/AsyncDecoratorTraitTest.php
+++ b/src/Symfony/Component/HttpClient/Tests/AsyncDecoratorTraitTest.php
@@ -56,7 +56,6 @@ class AsyncDecoratorTraitTest extends NativeHttpClientTest
         };
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testTimeoutOnDestruct()
     {
         if (HttpClient::create() instanceof NativeHttpClient) {
diff --git a/src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php b/src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php
index d19994b..e38bf8a 100644
--- a/src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php
+++ b/src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php
@@ -32,7 +32,6 @@ class CurlHttpClientTest extends HttpClientTestCase
         return new CurlHttpClient(['verify_peer' => false, 'verify_host' => false], 6, 50);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testTimeoutIsNotAFatalError()
     {
         if ('\\' === \DIRECTORY_SEPARATOR) {
diff --git a/src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php b/src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php
index 2f21d19..beb347e 100644
--- a/src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php
+++ b/src/Symfony/Component/HttpClient/Tests/HttpClientTestCase.php
@@ -42,7 +42,6 @@ abstract class HttpClientTestCase extends BaseHttpClientTestCase
 
     private static bool $vulcainStarted = false;
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testTimeoutOnDestruct()
     {
         if (!method_exists(parent::class, 'testTimeoutOnDestruct')) {
@@ -700,7 +699,6 @@ abstract class HttpClientTestCase extends BaseHttpClientTestCase
         $this->assertSame('/', $body['REQUEST_URI']);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testResponseCanBeProcessedAfterClientReset()
     {
         $client = $this->getHttpClient(__FUNCTION__);
diff --git a/src/Symfony/Component/HttpClient/Tests/MockHttpClientTest.php b/src/Symfony/Component/HttpClient/Tests/MockHttpClientTest.php
index 45d7861..e05020c 100644
--- a/src/Symfony/Component/HttpClient/Tests/MockHttpClientTest.php
+++ b/src/Symfony/Component/HttpClient/Tests/MockHttpClientTest.php
@@ -95,7 +95,6 @@ class MockHttpClientTest extends HttpClientTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('validResponseFactoryProvider')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testValidResponseFactory($responseFactory)
     {
         (new MockHttpClient($responseFactory))->request('GET', 'https://foo.bar');
@@ -482,13 +481,11 @@ class MockHttpClientTest extends HttpClientTestCase
         return new MockHttpClient($responses);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testHttp2PushVulcain()
     {
         $this->markTestSkipped('MockHttpClient doesn\'t support HTTP/2 PUSH.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testHttp2PushVulcainWithUnusedResponse()
     {
         $this->markTestSkipped('MockHttpClient doesn\'t support HTTP/2 PUSH.');
diff --git a/src/Symfony/Component/HttpClient/Tests/NativeHttpClientTest.php b/src/Symfony/Component/HttpClient/Tests/NativeHttpClientTest.php
index 482eae2..a7a51ad 100644
--- a/src/Symfony/Component/HttpClient/Tests/NativeHttpClientTest.php
+++ b/src/Symfony/Component/HttpClient/Tests/NativeHttpClientTest.php
@@ -22,31 +22,26 @@ class NativeHttpClientTest extends HttpClientTestCase
         return new NativeHttpClient();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testInformationalResponseStream()
     {
         $this->markTestSkipped('NativeHttpClient doesn\'t support informational status codes.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testTimeoutOnInitialize()
     {
         $this->markTestSkipped('NativeHttpClient doesn\'t support opening concurrent requests.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testTimeoutOnDestruct()
     {
         $this->markTestSkipped('NativeHttpClient doesn\'t support opening concurrent requests.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testHttp2PushVulcain()
     {
         $this->markTestSkipped('NativeHttpClient doesn\'t support HTTP/2.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testHttp2PushVulcainWithUnusedResponse()
     {
         $this->markTestSkipped('NativeHttpClient doesn\'t support HTTP/2.');
diff --git a/src/Symfony/Component/HttpFoundation/Tests/ExpressionRequestMatcherTest.php b/src/Symfony/Component/HttpFoundation/Tests/ExpressionRequestMatcherTest.php
index aa56a79..53f763a 100644
--- a/src/Symfony/Component/HttpFoundation/Tests/ExpressionRequestMatcherTest.php
+++ b/src/Symfony/Component/HttpFoundation/Tests/ExpressionRequestMatcherTest.php
@@ -37,7 +37,7 @@ class ExpressionRequestMatcherTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideExpressions')]
-    public function testMatchesWhenParentMatchesIsFalse($expression)
+    public function testMatchesWhenParentMatchesIsFalse($expression, $expected)
     {
         $request = Request::create('/foo');
         $request->attributes->set('foo', 'foo');
diff --git a/src/Symfony/Component/HttpFoundation/Tests/InputBagTest.php b/src/Symfony/Component/HttpFoundation/Tests/InputBagTest.php
index bf6ceeb..364c77d 100644
--- a/src/Symfony/Component/HttpFoundation/Tests/InputBagTest.php
+++ b/src/Symfony/Component/HttpFoundation/Tests/InputBagTest.php
@@ -40,6 +40,7 @@ class InputBagTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testGetIntError()
     {
         $this->expectDeprecation('Since symfony/http-foundation 6.3: Ignoring invalid values when using "Symfony\Component\HttpFoundation\InputBag::getInt(\'foo\')" is deprecated and will throw a "Symfony\Component\HttpFoundation\Exception\BadRequestException" in 7.0; use method "filter()" with flag "FILTER_NULL_ON_FAILURE" to keep ignoring them.');
diff --git a/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php b/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php
index 0a00c73..4ce5665 100644
--- a/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php
+++ b/src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php
@@ -1031,7 +1031,6 @@ class ResponseTest extends ResponseTestCase
         }
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testNoDeprecationsAreTriggered()
     {
         new DefaultResponse();
diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/SessionTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/SessionTest.php
index 20a8c19..9352ba1 100644
--- a/src/Symfony/Component/HttpFoundation/Tests/Session/SessionTest.php
+++ b/src/Symfony/Component/HttpFoundation/Tests/Session/SessionTest.php
@@ -99,14 +99,14 @@ class SessionTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('setProvider')]
-    public function testSet($key, $value)
+    public function testSet($key, $value, $result)
     {
         $this->session->set($key, $value);
         $this->assertEquals($value, $this->session->get($key));
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('setProvider')]
-    public function testHas($key, $value)
+    public function testHas($key, $value, $result)
     {
         $this->session->set($key, $value);
         $this->assertTrue($this->session->has($key));
@@ -129,7 +129,7 @@ class SessionTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('setProvider')]
-    public function testClear($key, $value)
+    public function testClear($key, $value, $result)
     {
         $this->session->set('hi', 'fabien');
         $this->session->set($key, $value);
@@ -147,7 +147,7 @@ class SessionTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('setProvider')]
-    public function testRemove($key, $value)
+    public function testRemove($key, $value, $result)
     {
         $this->session->set('hi.world', 'have a nice day');
         $this->session->set($key, $value);
diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MetadataBagTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MetadataBagTest.php
index ebcf0a4..1e766f4 100644
--- a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MetadataBagTest.php
+++ b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/MetadataBagTest.php
@@ -85,7 +85,6 @@ class MetadataBagTest extends TestCase
         $this->assertLessThanOrEqual(time(), $this->bag->getLastUsed());
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testClear()
     {
         $this->bag->clear();
diff --git a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php
index 5051b31..fda02d7 100644
--- a/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php
+++ b/src/Symfony/Component/HttpFoundation/Tests/Session/Storage/NativeSessionStorageTest.php
@@ -293,7 +293,6 @@ class NativeSessionStorageTest extends TestCase
         $this->assertSame(7, $storage->getBag('attributes')->get('lucky'), 'Data still available');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCanCreateNativeSessionStorageWhenSessionAlreadyStarted()
     {
         session_start();
@@ -303,7 +302,6 @@ class NativeSessionStorageTest extends TestCase
         $this->addToAssertionCount(1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSetSessionOptionsOnceSessionStartedIsIgnored()
     {
         session_start();
@@ -355,7 +353,6 @@ class NativeSessionStorageTest extends TestCase
         $this->assertSame('&~[', session_id());
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSaveHandlesNullSessionGracefully()
     {
         $storage = $this->getStorage();
diff --git a/src/Symfony/Component/HttpFoundation/Tests/UriSignerTest.php b/src/Symfony/Component/HttpFoundation/Tests/UriSignerTest.php
index dfbe81e..5156bc0 100644
--- a/src/Symfony/Component/HttpFoundation/Tests/UriSignerTest.php
+++ b/src/Symfony/Component/HttpFoundation/Tests/UriSignerTest.php
@@ -41,6 +41,7 @@ class UriSignerTest extends TestCase
         $this->assertSame($signer->sign('http://example.com/foo?foo=bar&bar=foo'), $signer->sign('http://example.com/foo?bar=foo&foo=bar'));
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testCheckWithDifferentArgSeparator()
     {
         $this->iniSet('arg_separator.output', '&amp;');
diff --git a/src/Symfony/Component/HttpFoundation/Tests/UrlHelperTest.php b/src/Symfony/Component/HttpFoundation/Tests/UrlHelperTest.php
index c7108eab..3cd1be9 100644
--- a/src/Symfony/Component/HttpFoundation/Tests/UrlHelperTest.php
+++ b/src/Symfony/Component/HttpFoundation/Tests/UrlHelperTest.php
@@ -98,7 +98,7 @@ class UrlHelperTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getGenerateAbsoluteUrlRequestContextData')]
-    public function testGenerateAbsoluteUrlWithoutRequestAndRequestContext($path)
+    public function testGenerateAbsoluteUrlWithoutRequestAndRequestContext($path, $baseUrl, $host, $scheme, $httpPort, $httpsPort, $expected)
     {
         if (!class_exists(RequestContext::class)) {
             $this->markTestSkipped('The Routing component is needed to run tests that depend on its request context.');
diff --git a/src/Symfony/Component/HttpKernel/Tests/Fragment/InlineFragmentRendererTest.php b/src/Symfony/Component/HttpKernel/Tests/Fragment/InlineFragmentRendererTest.php
index 987267b..9e6ec08 100644
--- a/src/Symfony/Component/HttpKernel/Tests/Fragment/InlineFragmentRendererTest.php
+++ b/src/Symfony/Component/HttpKernel/Tests/Fragment/InlineFragmentRendererTest.php
@@ -167,7 +167,6 @@ class InlineFragmentRendererTest extends TestCase
         $this->assertEquals('Foo', ob_get_clean());
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testLocaleAndFormatAreKeptInSubrequest()
     {
         $expectedSubRequest = Request::create('/');
@@ -188,7 +187,6 @@ class InlineFragmentRendererTest extends TestCase
         $strategy->render('/', $request);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testESIHeaderIsKeptInSubrequest()
     {
         $expectedSubRequest = Request::create('/');
@@ -208,7 +206,6 @@ class InlineFragmentRendererTest extends TestCase
         $strategy->render('/', $request);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testESIHeaderIsKeptInSubrequestWithTrustedHeaderDisabled()
     {
         Request::setTrustedProxies([], Request::HEADER_FORWARDED);
@@ -218,7 +215,6 @@ class InlineFragmentRendererTest extends TestCase
         Request::setTrustedProxies([], -1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testHeadersPossiblyResultingIn304AreNotAssignedToSubrequest()
     {
         $expectedSubRequest = Request::create('/');
@@ -232,7 +228,6 @@ class InlineFragmentRendererTest extends TestCase
         $strategy->render('/', $request);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testFirstTrustedProxyIsSetAsRemote()
     {
         Request::setTrustedProxies(['1.1.1.1'], -1);
@@ -254,7 +249,6 @@ class InlineFragmentRendererTest extends TestCase
         Request::setTrustedProxies([], -1);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testIpAddressOfRangedTrustedProxyIsSetAsRemote()
     {
         $expectedSubRequest = Request::create('/');
diff --git a/src/Symfony/Component/Intl/Tests/CurrenciesTest.php b/src/Symfony/Component/Intl/Tests/CurrenciesTest.php
index b2069e7..92720e5 100644
--- a/src/Symfony/Component/Intl/Tests/CurrenciesTest.php
+++ b/src/Symfony/Component/Intl/Tests/CurrenciesTest.php
@@ -693,7 +693,6 @@ class CurrenciesTest extends ResourceBundleTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideCurrencies')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetFractionDigits($currency)
     {
         // ensure each currency code has a corresponding fraction digit
diff --git a/src/Symfony/Component/Intl/Tests/TimezonesTest.php b/src/Symfony/Component/Intl/Tests/TimezonesTest.php
index 1e48368..ba10882 100644
--- a/src/Symfony/Component/Intl/Tests/TimezonesTest.php
+++ b/src/Symfony/Component/Intl/Tests/TimezonesTest.php
@@ -622,7 +622,6 @@ class TimezonesTest extends ResourceBundleTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideTimezones')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetGmtOffsetAvailability(string $timezone)
     {
         try {
@@ -639,7 +638,6 @@ class TimezonesTest extends ResourceBundleTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideTimezones')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetCountryCodeAvailability(string $timezone)
     {
         try {
@@ -662,7 +660,6 @@ class TimezonesTest extends ResourceBundleTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideCountries')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testForCountryCodeAvailability(string $country)
     {
         // ensure each country code has a list of timezone identifiers (possibly empty)
diff --git a/src/Symfony/Component/Intl/Tests/Transliterator/EmojiTransliteratorTest.php b/src/Symfony/Component/Intl/Tests/Transliterator/EmojiTransliteratorTest.php
index e6c68db..30e03fd 100644
--- a/src/Symfony/Component/Intl/Tests/Transliterator/EmojiTransliteratorTest.php
+++ b/src/Symfony/Component/Intl/Tests/Transliterator/EmojiTransliteratorTest.php
@@ -121,6 +121,7 @@ class EmojiTransliteratorTest extends TestCase
         $this->assertSame('😀grinning face', $tr->transliterate('😀😀', 2));
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testNotUtf8()
     {
         $tr = EmojiTransliterator::create('emoji-en');
@@ -138,6 +139,7 @@ class EmojiTransliteratorTest extends TestCase
         $tr->transliterate("Not \xE9 UTF-8");
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testBadOffsets()
     {
         $tr = EmojiTransliterator::create('emoji-en');
diff --git a/src/Symfony/Component/Lock/Tests/Store/AbstractStoreTestCase.php b/src/Symfony/Component/Lock/Tests/Store/AbstractStoreTestCase.php
index f9edc1d..fdd3e39 100644
--- a/src/Symfony/Component/Lock/Tests/Store/AbstractStoreTestCase.php
+++ b/src/Symfony/Component/Lock/Tests/Store/AbstractStoreTestCase.php
@@ -95,7 +95,6 @@ abstract class AbstractStoreTestCase extends TestCase
         $this->assertFalse($store->exists($key2));
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSaveTwice()
     {
         $store = $this->getStore();
diff --git a/src/Symfony/Component/Lock/Tests/Store/BlockingStoreTestTrait.php b/src/Symfony/Component/Lock/Tests/Store/BlockingStoreTestTrait.php
index bcad328..1f03ece 100644
--- a/src/Symfony/Component/Lock/Tests/Store/BlockingStoreTestTrait.php
+++ b/src/Symfony/Component/Lock/Tests/Store/BlockingStoreTestTrait.php
@@ -34,10 +34,10 @@ trait BlockingStoreTestTrait
      *
      * @group transient
      *
-     * @requires extension pcntl
-     * @requires extension posix
      * @requires function pcntl_sigwaitinfo
      */
+    #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('pcntl')]
+    #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('posix')]
     public function testBlockingLocks()
     {
         // Amount of microseconds we should wait without slowing things down too much
diff --git a/src/Symfony/Component/Lock/Tests/Store/DoctrineDbalStoreTest.php b/src/Symfony/Component/Lock/Tests/Store/DoctrineDbalStoreTest.php
index a37e58f..a580935 100644
--- a/src/Symfony/Component/Lock/Tests/Store/DoctrineDbalStoreTest.php
+++ b/src/Symfony/Component/Lock/Tests/Store/DoctrineDbalStoreTest.php
@@ -67,7 +67,6 @@ class DoctrineDbalStoreTest extends AbstractStoreTestCase
         return new DoctrineDbalStore(DriverManager::getConnection(['driver' => 'pdo_sqlite', 'path' => self::$dbFile], $config));
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testAbortAfterExpiration()
     {
         $this->markTestSkipped('Pdo expects a TTL greater than 1 sec. Simulating a slow network is too hard');
diff --git a/src/Symfony/Component/Lock/Tests/Store/MemcachedStoreTest.php b/src/Symfony/Component/Lock/Tests/Store/MemcachedStoreTest.php
index b586db2..e5e0a5f 100644
--- a/src/Symfony/Component/Lock/Tests/Store/MemcachedStoreTest.php
+++ b/src/Symfony/Component/Lock/Tests/Store/MemcachedStoreTest.php
@@ -56,7 +56,6 @@ class MemcachedStoreTest extends AbstractStoreTestCase
         return new MemcachedStore($memcached);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testAbortAfterExpiration()
     {
         $this->markTestSkipped('Memcached expects a TTL greater than 1 sec. Simulating a slow network is too hard');
diff --git a/src/Symfony/Component/Lock/Tests/Store/PdoStoreTest.php b/src/Symfony/Component/Lock/Tests/Store/PdoStoreTest.php
index b14a466..3c4609a 100644
--- a/src/Symfony/Component/Lock/Tests/Store/PdoStoreTest.php
+++ b/src/Symfony/Component/Lock/Tests/Store/PdoStoreTest.php
@@ -49,7 +49,6 @@ class PdoStoreTest extends AbstractStoreTestCase
         return new PdoStore('sqlite:'.self::$dbFile);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testAbortAfterExpiration()
     {
         $this->markTestSkipped('Pdo expects a TTL greater than 1 sec. Simulating a slow network is too hard');
diff --git a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlFilterIntegrationTest.php b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlFilterIntegrationTest.php
index d4d4252..c1f8e38 100644
--- a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlFilterIntegrationTest.php
+++ b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlFilterIntegrationTest.php
@@ -30,6 +30,7 @@ use Symfony\Component\Messenger\Bridge\Doctrine\Transport\PostgreSqlConnection;
  */
 #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('pdo_pgsql')]
 #[\PHPUnit\Framework\Attributes\Group('integration')]
+#[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
 class DoctrinePostgreSqlFilterIntegrationTest extends TestCase
 {
     private Connection $driverConnection;
diff --git a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlIntegrationTest.php b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlIntegrationTest.php
index 5f63656..544a424 100644
--- a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlIntegrationTest.php
+++ b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlIntegrationTest.php
@@ -23,6 +23,7 @@ use Symfony\Component\Messenger\Bridge\Doctrine\Transport\PostgreSqlConnection;
 
 #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('pdo_pgsql')]
 #[\PHPUnit\Framework\Attributes\Group('integration')]
+#[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
 class DoctrinePostgreSqlIntegrationTest extends TestCase
 {
     private Connection $driverConnection;
diff --git a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlPgbouncerIntegrationTest.php b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlPgbouncerIntegrationTest.php
index 99bfec0..548b08e 100644
--- a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlPgbouncerIntegrationTest.php
+++ b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlPgbouncerIntegrationTest.php
@@ -28,6 +28,7 @@ use Symfony\Component\Messenger\Bridge\Doctrine\Transport\PostgreSqlConnection;
  */
 #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('pdo_pgsql')]
 #[\PHPUnit\Framework\Attributes\Group('integration')]
+#[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
 class DoctrinePostgreSqlPgbouncerIntegrationTest extends TestCase
 {
     private Connection $driverConnection;
diff --git a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlRegularIntegrationTest.php b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlRegularIntegrationTest.php
index 3b74b5d..4d90a06 100644
--- a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlRegularIntegrationTest.php
+++ b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrinePostgreSqlRegularIntegrationTest.php
@@ -28,6 +28,7 @@ use Symfony\Component\Messenger\Bridge\Doctrine\Transport\Connection;
  */
 #[\PHPUnit\Framework\Attributes\RequiresPhpExtension('pdo_pgsql')]
 #[\PHPUnit\Framework\Attributes\Group('integration')]
+#[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
 class DoctrinePostgreSqlRegularIntegrationTest extends TestCase
 {
     private \Doctrine\DBAL\Connection $driverConnection;
diff --git a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrineTransportTest.php b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrineTransportTest.php
index 40285e2..9b0c579 100644
--- a/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrineTransportTest.php
+++ b/src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrineTransportTest.php
@@ -52,6 +52,7 @@ class DoctrineTransportTest extends TestCase
         $this->assertSame($decodedMessage, $envelopes[0]->getMessage());
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testConfigureSchema()
     {
         $transport = $this->getTransport(
diff --git a/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/ConnectionTest.php b/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/ConnectionTest.php
index 7c7d65b..4d1de24 100644
--- a/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/ConnectionTest.php
+++ b/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/ConnectionTest.php
@@ -26,6 +26,7 @@ class ConnectionTest extends TestCase
         Connection::fromDsn('redis://');
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testFromDsn()
     {
         $this->assertEquals(
@@ -38,6 +39,7 @@ class ConnectionTest extends TestCase
         );
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testFromDsnOnUnixSocket()
     {
         $this->assertEquals(
@@ -50,6 +52,7 @@ class ConnectionTest extends TestCase
         );
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testFromDsnWithOptions()
     {
         $this->assertEquals(
@@ -58,6 +61,7 @@ class ConnectionTest extends TestCase
         );
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testFromDsnWithOptionsAndTrailingSlash()
     {
         $this->assertEquals(
@@ -80,6 +84,7 @@ class ConnectionTest extends TestCase
         Connection::fromDsn('rediss://127.0.0.1', [], $redis);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testFromDsnWithQueryOptions()
     {
         $this->assertEquals(
@@ -95,6 +100,7 @@ class ConnectionTest extends TestCase
         );
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testFromDsnWithMixDsnQueryOptions()
     {
         $this->assertEquals(
@@ -419,6 +425,7 @@ class ConnectionTest extends TestCase
         Connection::fromDsn(\sprintf('%s/messenger-clearlasterror', $master), ['delete_after_ack' => true, 'sentinel_master' => $uid], null);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testFromDsnOnUnixSocketWithUserAndPassword()
     {
         $redis = $this->createRedisMock();
@@ -439,6 +446,7 @@ class ConnectionTest extends TestCase
         );
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testFromDsnOnUnixSocketWithPassword()
     {
         $redis = $this->createRedisMock();
@@ -459,6 +467,7 @@ class ConnectionTest extends TestCase
         );
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testFromDsnOnUnixSocketWithUser()
     {
         $redis = $this->createRedisMock();
diff --git a/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/RelayExtIntegrationTest.php b/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/RelayExtIntegrationTest.php
index 2888004..e34b8de 100644
--- a/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/RelayExtIntegrationTest.php
+++ b/src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/RelayExtIntegrationTest.php
@@ -23,43 +23,36 @@ class RelayExtIntegrationTest extends RedisExtIntegrationTest
         return new Relay();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testConnectionSendAndGetDelayed()
     {
         self::markTestSkipped('This test doesn\'t work with relay.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testConnectionSendDelayedMessagesWithSameContent()
     {
         self::markTestSkipped('This test doesn\'t work with relay.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testLazy()
     {
         self::markTestSkipped('This test doesn\'t work with relay.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDbIndex()
     {
         self::markTestSkipped('This test doesn\'t work with relay.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetNonBlocking()
     {
         self::markTestSkipped('This test doesn\'t work with relay.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetAfterReject()
     {
         self::markTestSkipped('This test doesn\'t work with relay.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testJsonError()
     {
         self::markTestSkipped('This test doesn\'t work with relay.');
diff --git a/src/Symfony/Component/Mime/Tests/FileBinaryMimeTypeGuesserTest.php b/src/Symfony/Component/Mime/Tests/FileBinaryMimeTypeGuesserTest.php
index 56821c5..eae27fd 100644
--- a/src/Symfony/Component/Mime/Tests/FileBinaryMimeTypeGuesserTest.php
+++ b/src/Symfony/Component/Mime/Tests/FileBinaryMimeTypeGuesserTest.php
@@ -21,7 +21,6 @@ class FileBinaryMimeTypeGuesserTest extends AbstractMimeTypeGuesserTestCase
         return new FileBinaryMimeTypeGuesser();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGuessWithDuplicatedFileType()
     {
         $this->markTestSkipped('Result varies depending on the OS');
diff --git a/src/Symfony/Component/Notifier/Bridge/Mercure/Tests/MercureTransportTest.php b/src/Symfony/Component/Notifier/Bridge/Mercure/Tests/MercureTransportTest.php
index d9b5553..bfe9190 100644
--- a/src/Symfony/Component/Notifier/Bridge/Mercure/Tests/MercureTransportTest.php
+++ b/src/Symfony/Component/Notifier/Bridge/Mercure/Tests/MercureTransportTest.php
@@ -59,19 +59,16 @@ final class MercureTransportTest extends TransportTestCase
         yield [new DummyMessage()];
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCanSetCustomPort()
     {
         $this->markTestSkipped("Mercure transport doesn't use a regular HTTP Dsn");
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCanSetCustomHost()
     {
         $this->markTestSkipped("Mercure transport doesn't use a regular HTTP Dsn");
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCanSetCustomHostAndPort()
     {
         $this->markTestSkipped("Mercure transport doesn't use a regular HTTP Dsn");
diff --git a/src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Tests/Action/Input/MultiChoiceInputTest.php b/src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Tests/Action/Input/MultiChoiceInputTest.php
index 6bae0a3..aee6430 100644
--- a/src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Tests/Action/Input/MultiChoiceInputTest.php
+++ b/src/Symfony/Component/Notifier/Bridge/MicrosoftTeams/Tests/Action/Input/MultiChoiceInputTest.php
@@ -70,7 +70,7 @@ final class MultiChoiceInputTest extends AbstractInputTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('styles')]
-    public function testStyleThrowsWithUnknownStyle()
+    public function testStyleThrowsWithUnknownStyle($style)
     {
         $this->expectException(InvalidArgumentException::class);
 
diff --git a/src/Symfony/Component/Notifier/Bridge/SpotHit/Tests/SpotHitTransportTest.php b/src/Symfony/Component/Notifier/Bridge/SpotHit/Tests/SpotHitTransportTest.php
index 7d98350..90a8aa1 100644
--- a/src/Symfony/Component/Notifier/Bridge/SpotHit/Tests/SpotHitTransportTest.php
+++ b/src/Symfony/Component/Notifier/Bridge/SpotHit/Tests/SpotHitTransportTest.php
@@ -92,7 +92,6 @@ final class SpotHitTransportTest extends TransportTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('argumentsProvider')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testShouldForwardArgumentToRequest($setupTransport, $assertions)
     {
         $expectedRequest = [
diff --git a/src/Symfony/Component/Notifier/Test/TransportFactoryTestCase.php b/src/Symfony/Component/Notifier/Test/TransportFactoryTestCase.php
index eac397e..e42b146 100644
--- a/src/Symfony/Component/Notifier/Test/TransportFactoryTestCase.php
+++ b/src/Symfony/Component/Notifier/Test/TransportFactoryTestCase.php
@@ -71,7 +71,7 @@ abstract class TransportFactoryTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('createProvider')]
-    public function testCreate(string $expected, string $dsn)
+    public function testCreate(string $expected, string $dsn, $more = 0)
     {
         $factory = $this->createFactory();
         $transport = $factory->create(new Dsn($dsn));
diff --git a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorArrayAccessTestCase.php b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorArrayAccessTestCase.php
index 06d195f..edbc13f 100644
--- a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorArrayAccessTestCase.php
+++ b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorArrayAccessTestCase.php
@@ -62,7 +62,7 @@ abstract class PropertyAccessorArrayAccessTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getValidPropertyPaths')]
-    public function testSetValue($collection, $path)
+    public function testSetValue($collection, $path, $value)
     {
         $this->propertyAccessor->setValue($collection, $path, 'Updated');
 
@@ -70,19 +70,19 @@ abstract class PropertyAccessorArrayAccessTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getValidPropertyPaths')]
-    public function testIsReadable($collection, $path)
+    public function testIsReadable($collection, $path, $value)
     {
         $this->assertTrue($this->propertyAccessor->isReadable($collection, $path));
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getValidPropertyPaths')]
-    public function testIsWritable($collection, $path)
+    public function testIsWritable($collection, $path, $value)
     {
         $this->assertTrue($this->propertyAccessor->isWritable($collection, $path));
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getInvalidPropertyPaths')]
-    public function testIsNotWritable($collection, $path)
+    public function testIsNotWritable($collection, $path, $value)
     {
         $this->assertFalse($this->propertyAccessor->isWritable($collection, $path));
     }
diff --git a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
index 0279dd8..8a40676 100644
--- a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
+++ b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
@@ -304,7 +304,7 @@ class PropertyAccessorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getValidWritePropertyPaths')]
-    public function testSetValue($objectOrArray, $path)
+    public function testSetValue($objectOrArray, $path, $value)
     {
         $this->propertyAccessor->setValue($objectOrArray, $path, 'Updated');
 
@@ -396,7 +396,7 @@ class PropertyAccessorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getValidReadPropertyPaths')]
-    public function testIsReadable($objectOrArray, $path)
+    public function testIsReadable($objectOrArray, $path, $value)
     {
         $this->assertTrue($this->propertyAccessor->isReadable($objectOrArray, $path));
     }
@@ -441,7 +441,7 @@ class PropertyAccessorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getValidWritePropertyPaths')]
-    public function testIsWritable($objectOrArray, $path)
+    public function testIsWritable($objectOrArray, $path, $value)
     {
         $this->assertTrue($this->propertyAccessor->isWritable($objectOrArray, $path));
     }
diff --git a/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php b/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php
index 8353fca..3db02ed 100644
--- a/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php
+++ b/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpDocExtractorTest.php
@@ -73,7 +73,7 @@ class PhpDocExtractorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('typesWithNoPrefixesProvider')]
-    public function testExtractTypesWithNoPrefixes($property, ?array $type = null)
+    public function testExtractTypesWithNoPrefixes($property, ?array $type = null, $string2, $string3)
     {
         $noPrefixExtractor = new PhpDocExtractor(null, [], [], []);
 
@@ -192,7 +192,7 @@ class PhpDocExtractorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('typesWithCustomPrefixesProvider')]
-    public function testExtractTypesWithCustomPrefixes($property, ?array $type = null)
+    public function testExtractTypesWithCustomPrefixes($property, ?array $type = null, $string2, $string3)
     {
         $customExtractor = new PhpDocExtractor(null, ['add', 'remove'], ['is', 'can']);
 
diff --git a/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php b/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php
index ed1dc66..174cebf 100644
--- a/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php
+++ b/src/Symfony/Component/PropertyInfo/Tests/Extractor/PhpStanExtractorTest.php
@@ -337,7 +337,7 @@ class PhpStanExtractorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('constructorTypesProvider')]
-    public function testExtractConstructorTypesReturnNullOnEmptyDocBlock($property)
+    public function testExtractConstructorTypesReturnNullOnEmptyDocBlock($property, ?array $type = null)
     {
         $this->assertNull($this->extractor->getTypesFromConstructor(ConstructorDummyWithoutDocBlock::class, $property));
     }
diff --git a/src/Symfony/Component/PropertyInfo/Tests/PropertyInfoCacheExtractorTest.php b/src/Symfony/Component/PropertyInfo/Tests/PropertyInfoCacheExtractorTest.php
index 56cdfdd..5a5de47 100644
--- a/src/Symfony/Component/PropertyInfo/Tests/PropertyInfoCacheExtractorTest.php
+++ b/src/Symfony/Component/PropertyInfo/Tests/PropertyInfoCacheExtractorTest.php
@@ -26,49 +26,42 @@ class PropertyInfoCacheExtractorTest extends AbstractPropertyInfoExtractorTest
         $this->propertyInfo = new PropertyInfoCacheExtractor($this->propertyInfo, new ArrayAdapter());
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetShortDescription()
     {
         parent::testGetShortDescription();
         parent::testGetShortDescription();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetLongDescription()
     {
         parent::testGetLongDescription();
         parent::testGetLongDescription();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetTypes()
     {
         parent::testGetTypes();
         parent::testGetTypes();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testIsReadable()
     {
         parent::testIsReadable();
         parent::testIsReadable();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testIsWritable()
     {
         parent::testIsWritable();
         parent::testIsWritable();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testGetProperties()
     {
         parent::testGetProperties();
         parent::testGetProperties();
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testIsInitializable()
     {
         parent::testIsInitializable();
diff --git a/src/Symfony/Component/Routing/Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php b/src/Symfony/Component/Routing/Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php
index 4ef8db4..adf3bd0 100644
--- a/src/Symfony/Component/Routing/Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php
+++ b/src/Symfony/Component/Routing/Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php
@@ -343,7 +343,6 @@ class CompiledUrlGeneratorDumperTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecatedAlias()
     {
         $this->expectDeprecation('Since foo/bar 1.0.0: The "b" route alias is deprecated. You should stop using it, as it will be removed in the future.');
@@ -360,7 +359,6 @@ class CompiledUrlGeneratorDumperTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecatedAliasWithCustomMessage()
     {
         $this->expectDeprecation('Since foo/bar 1.0.0: foo b.');
@@ -377,7 +375,6 @@ class CompiledUrlGeneratorDumperTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testTargettingADeprecatedAliasShouldTriggerDeprecation()
     {
         $this->expectDeprecation('Since foo/bar 1.0.0: foo b.');
diff --git a/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php b/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php
index 2f7f394..256a29c 100644
--- a/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php
+++ b/src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php
@@ -795,7 +795,6 @@ class UrlGeneratorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecatedAlias()
     {
         $this->expectDeprecation('Since foo/bar 1.0.0: The "b" route alias is deprecated. You should stop using it, as it will be removed in the future.');
@@ -809,7 +808,6 @@ class UrlGeneratorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testDeprecatedAliasWithCustomMessage()
     {
         $this->expectDeprecation('Since foo/bar 1.0.0: foo b.');
@@ -823,7 +821,6 @@ class UrlGeneratorTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\Group('legacy')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testTargettingADeprecatedAliasShouldTriggerDeprecation()
     {
         $this->expectDeprecation('Since foo/bar 1.0.0: foo b.');
diff --git a/src/Symfony/Component/Routing/Tests/Loader/DirectoryLoaderTest.php b/src/Symfony/Component/Routing/Tests/Loader/DirectoryLoaderTest.php
index 0c8202c..dabda89 100644
--- a/src/Symfony/Component/Routing/Tests/Loader/DirectoryLoaderTest.php
+++ b/src/Symfony/Component/Routing/Tests/Loader/DirectoryLoaderTest.php
@@ -38,7 +38,6 @@ class DirectoryLoaderTest extends TestCase
         $this->loader->setResolver($resolver);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testLoadDirectory()
     {
         $collection = $this->loader->load(__DIR__.'/../Fixtures/directory', 'directory');
diff --git a/src/Symfony/Component/Security/Core/Tests/Authentication/Token/AbstractTokenTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/AbstractTokenTest.php
index 1f3b117..e12b963 100644
--- a/src/Symfony/Component/Security/Core/Tests/Authentication/Token/AbstractTokenTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/AbstractTokenTest.php
@@ -82,7 +82,7 @@ class AbstractTokenTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideUsers')]
-    public function testSetUser($user)
+    public function testSetUser($user, string $username)
     {
         $token = new ConcreteToken();
         $token->setUser($user);
diff --git a/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcUserInfoTokenHandlerTest.php b/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcUserInfoTokenHandlerTest.php
index f520f04..0ce5955 100644
--- a/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcUserInfoTokenHandlerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcUserInfoTokenHandlerTest.php
@@ -24,6 +24,7 @@ use Symfony\Contracts\HttpClient\ResponseInterface;
 class OidcUserInfoTokenHandlerTest extends TestCase
 {
     #[\PHPUnit\Framework\Attributes\DataProvider('getClaims')]
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testGetsUserIdentifierFromOidcServerResponse(string $claim, string $expected)
     {
         $accessToken = 'a-secret-token';
diff --git a/src/Symfony/Component/Security/Http/Tests/EventListener/CsrfTokenClearingLogoutListenerTest.php b/src/Symfony/Component/Security/Http/Tests/EventListener/CsrfTokenClearingLogoutListenerTest.php
index 7511281..405c7ae 100644
--- a/src/Symfony/Component/Security/Http/Tests/EventListener/CsrfTokenClearingLogoutListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/EventListener/CsrfTokenClearingLogoutListenerTest.php
@@ -21,7 +21,6 @@ use Symfony\Component\Security\Http\EventListener\CsrfTokenClearingLogoutListene
 
 class CsrfTokenClearingLogoutListenerTest extends TestCase
 {
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSkipsClearingSessionTokenStorageOnStatelessRequest()
     {
         try {
diff --git a/src/Symfony/Component/Security/Http/Tests/Firewall/ExceptionListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/ExceptionListenerTest.php
index 5c06746..e684d19 100644
--- a/src/Symfony/Component/Security/Http/Tests/Firewall/ExceptionListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/ExceptionListenerTest.php
@@ -44,7 +44,7 @@ class ExceptionListenerTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getAuthenticationExceptionProvider')]
-    public function testAuthenticationExceptionWithEntryPoint(\Exception $exception)
+    public function testAuthenticationExceptionWithEntryPoint(\Exception $exception, \Exception $eventException)
     {
         $event = $this->createEvent($exception);
 
diff --git a/src/Symfony/Component/Semaphore/Tests/Store/AbstractStoreTestCase.php b/src/Symfony/Component/Semaphore/Tests/Store/AbstractStoreTestCase.php
index a16a9b0..4cd8945 100644
--- a/src/Symfony/Component/Semaphore/Tests/Store/AbstractStoreTestCase.php
+++ b/src/Symfony/Component/Semaphore/Tests/Store/AbstractStoreTestCase.php
@@ -185,7 +185,6 @@ abstract class AbstractStoreTestCase extends TestCase
         $store->delete($key3);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testPutOffExpiration()
     {
         $store = $this->getStore();
@@ -210,7 +209,6 @@ abstract class AbstractStoreTestCase extends TestCase
         $store->putOffExpiration($key1, 20);
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSaveTwice()
     {
         $store = $this->getStore();
diff --git a/src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php b/src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php
index 9fddde2..dddbdce 100644
--- a/src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php
+++ b/src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php
@@ -385,6 +385,7 @@ XML;
         $this->assertSame('018', $data['@a']);
     }
 
+    #[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
     public function testEncode()
     {
         $source = $this->getXmlSource();
diff --git a/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CallbacksTestTrait.php b/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CallbacksTestTrait.php
index 3a9191a..dbfdec2 100644
--- a/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CallbacksTestTrait.php
+++ b/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CallbacksTestTrait.php
@@ -11,6 +11,7 @@
 
 namespace Symfony\Component\Serializer\Tests\Normalizer\Features;
 
+use PHPUnit\Framework\Attributes\DataProvider;
 use Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor;
 use Symfony\Component\PropertyInfo\Extractor\ReflectionExtractor;
 use Symfony\Component\PropertyInfo\PropertyInfoExtractor;
@@ -26,9 +27,7 @@ trait CallbacksTestTrait
 
     abstract protected function getNormalizerForCallbacksWithPropertyTypeExtractor(): NormalizerInterface;
 
-    /**
-     * @dataProvider provideNormalizeCallbacks
-     */
+    #[DataProvider('provideNormalizeCallbacks')]
     public function testNormalizeCallbacks($callbacks, $valueBar, $result)
     {
         $normalizer = $this->getNormalizerForCallbacks();
@@ -39,9 +38,7 @@ trait CallbacksTestTrait
         $this->assertSame($result, $normalizer->normalize($obj, 'any', ['callbacks' => $callbacks]));
     }
 
-    /**
-     * @dataProvider provideNormalizeCallbacks
-     */
+    #[DataProvider('provideNormalizeCallbacks')]
     public function testNormalizeCallbacksWithTypedProperty($callbacks, $valueBar, $result)
     {
         $normalizer = $this->getNormalizerForCallbacksWithPropertyTypeExtractor();
@@ -52,9 +49,7 @@ trait CallbacksTestTrait
         $this->assertSame($result, $normalizer->normalize($obj, 'any', ['callbacks' => $callbacks]));
     }
 
-    /**
-     * @dataProvider provideNormalizeCallbacks
-     */
+    #[DataProvider('provideNormalizeCallbacks')]
     public function testNormalizeCallbacksWithNoConstructorArgument($callbacks, $valueBar, $result)
     {
         $normalizer = $this->getNormalizerForCallbacksWithPropertyTypeExtractor();
@@ -70,9 +65,7 @@ trait CallbacksTestTrait
         $this->assertSame($result, $normalizer->normalize($obj, 'any', ['callbacks' => $callbacks]));
     }
 
-    /**
-     * @dataProvider provideDenormalizeCallbacks
-     */
+    #[DataProvider('provideDenormalizeCallbacks')]
     public function testDenormalizeCallbacks($callbacks, $valueBar, $result)
     {
         $normalizer = $this->getNormalizerForCallbacks();
@@ -82,9 +75,7 @@ trait CallbacksTestTrait
         $this->assertEquals($result, $obj);
     }
 
-    /**
-     * @dataProvider providerDenormalizeCallbacksWithTypedProperty
-     */
+    #[DataProvider('providerDenormalizeCallbacksWithTypedProperty')]
     public function testDenormalizeCallbacksWithTypedProperty($callbacks, $valueBar, $result)
     {
         $normalizer = $this->getNormalizerForCallbacksWithPropertyTypeExtractor();
@@ -94,9 +85,7 @@ trait CallbacksTestTrait
         $this->assertEquals($result, $obj);
     }
 
-    /**
-     * @dataProvider providerDenormalizeCallbacksWithTypedProperty
-     */
+    #[DataProvider('providerDenormalizeCallbacksWithTypedProperty')]
     public function testDenormalizeCallbacksWithNoConstructorArgument($callbacks, $valueBar, $result)
     {
         $normalizer = $this->getNormalizerForCallbacksWithPropertyTypeExtractor();
@@ -112,9 +101,7 @@ trait CallbacksTestTrait
         $this->assertEquals($result->getBar(), $obj->getBar());
     }
 
-    /**
-     * @dataProvider provideInvalidCallbacks
-     */
+    #[DataProvider('provideInvalidCallbacks')]
     public function testUncallableCallbacks($callbacks)
     {
         $normalizer = $this->getNormalizerForCallbacks();
diff --git a/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CircularReferenceTestTrait.php b/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CircularReferenceTestTrait.php
index 85720bc..14709c4 100644
--- a/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CircularReferenceTestTrait.php
+++ b/src/Symfony/Component/Serializer/Tests/Normalizer/Features/CircularReferenceTestTrait.php
@@ -11,6 +11,7 @@
 
 namespace Symfony\Component\Serializer\Tests\Normalizer\Features;
 
+use PHPUnit\Framework\Attributes\DataProvider;
 use Symfony\Component\Serializer\Exception\CircularReferenceException;
 use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
 
@@ -32,9 +33,7 @@ trait CircularReferenceTestTrait
         ];
     }
 
-    /**
-     * @dataProvider provideUnableToNormalizeCircularReference
-     */
+    #[DataProvider('provideUnableToNormalizeCircularReference')]
     public function testUnableToNormalizeCircularReference(array $defaultContext, array $context, int $expectedLimit)
     {
         $normalizer = $this->getNormalizerForCircularReference($defaultContext);
diff --git a/src/Symfony/Component/Serializer/Tests/Normalizer/Features/ContextMetadataTestTrait.php b/src/Symfony/Component/Serializer/Tests/Normalizer/Features/ContextMetadataTestTrait.php
index 7871576..a7d4b2b 100644
--- a/src/Symfony/Component/Serializer/Tests/Normalizer/Features/ContextMetadataTestTrait.php
+++ b/src/Symfony/Component/Serializer/Tests/Normalizer/Features/ContextMetadataTestTrait.php
@@ -11,6 +11,7 @@
 
 namespace Symfony\Component\Serializer\Tests\Normalizer\Features;
 
+use PHPUnit\Framework\Attributes\DataProvider;
 use Symfony\Component\PropertyInfo\Extractor\PhpDocExtractor;
 use Symfony\Component\Serializer\Attribute\Context;
 use Symfony\Component\Serializer\Attribute\Groups;
@@ -28,9 +29,7 @@ use Symfony\Component\Serializer\Serializer;
  */
 trait ContextMetadataTestTrait
 {
-    /**
-     * @dataProvider contextMetadataDummyProvider
-     */
+    #[DataProvider('contextMetadataDummyProvider')]
     public function testContextMetadataNormalize(string $contextMetadataDummyClass)
     {
         $classMetadataFactory = new ClassMetadataFactory(new AttributeLoader());
@@ -51,9 +50,7 @@ trait ContextMetadataTestTrait
         ]), 'base denormalization context is unchanged for this group');
     }
 
-    /**
-     * @dataProvider contextMetadataDummyProvider
-     */
+    #[DataProvider('contextMetadataDummyProvider')]
     public function testContextMetadataContextDenormalize(string $contextMetadataDummyClass)
     {
         $classMetadataFactory = new ClassMetadataFactory(new AttributeLoader());
diff --git a/src/Symfony/Component/Serializer/Tests/Normalizer/Features/SkipUninitializedValuesTestTrait.php b/src/Symfony/Component/Serializer/Tests/Normalizer/Features/SkipUninitializedValuesTestTrait.php
index 3a424fa..feba737 100644
--- a/src/Symfony/Component/Serializer/Tests/Normalizer/Features/SkipUninitializedValuesTestTrait.php
+++ b/src/Symfony/Component/Serializer/Tests/Normalizer/Features/SkipUninitializedValuesTestTrait.php
@@ -11,6 +11,7 @@
 
 namespace Symfony\Component\Serializer\Tests\Normalizer\Features;
 
+use PHPUnit\Framework\Attributes\DataProvider;
 use Symfony\Component\PropertyAccess\Exception\UninitializedPropertyException;
 use Symfony\Component\Serializer\Normalizer\AbstractObjectNormalizer;
 
@@ -21,9 +22,7 @@ trait SkipUninitializedValuesTestTrait
 {
     abstract protected function getNormalizerForSkipUninitializedValues(): AbstractObjectNormalizer;
 
-    /**
-     * @dataProvider skipUninitializedValuesFlagProvider
-     */
+    #[DataProvider('skipUninitializedValuesFlagProvider')]
     public function testSkipUninitializedValues(array $context)
     {
         $object = new TypedPropertiesObjectWithGetters();
diff --git a/src/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php b/src/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php
index e493afa..8465891 100644
--- a/src/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php
+++ b/src/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php
@@ -350,7 +350,6 @@ class GetSetMethodNormalizerTest extends TestCase
         return $normalizer;
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testRejectInvalidKey()
     {
         $this->markTestSkipped('This test makes no sense with the GetSetMethodNormalizer');
diff --git a/src/Symfony/Component/Serializer/Tests/Normalizer/PropertyNormalizerTest.php b/src/Symfony/Component/Serializer/Tests/Normalizer/PropertyNormalizerTest.php
index aa1b6eb..7e48f5e 100644
--- a/src/Symfony/Component/Serializer/Tests/Normalizer/PropertyNormalizerTest.php
+++ b/src/Symfony/Component/Serializer/Tests/Normalizer/PropertyNormalizerTest.php
@@ -378,7 +378,6 @@ class PropertyNormalizerTest extends TestCase
         return $normalizer;
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testIgnoredAttributesContextDenormalizeInherit()
     {
         $this->markTestSkipped('This has not been tested previously - did not manage to make the test work');
diff --git a/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php b/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php
index cc33fe3..11710d9 100644
--- a/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php
+++ b/src/Symfony/Component/String/Tests/AbstractAsciiTestCase.php
@@ -67,7 +67,7 @@ abstract class AbstractAsciiTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideIndexOf')]
-    public function testContainsAny(?int $result, string $string, $needle)
+    public function testContainsAny(?int $result, string $string, $needle, int $offset)
     {
         $instance = static::createFromString($string);
 
@@ -75,7 +75,7 @@ abstract class AbstractAsciiTestCase extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideIndexOfIgnoreCase')]
-    public function testContainsAnyIgnoreCase(?int $result, string $string, $needle)
+    public function testContainsAnyIgnoreCase(?int $result, string $string, $needle, int $offset)
     {
         $instance = static::createFromString($string);
 
diff --git a/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php
index 332d5a4..226ef76 100644
--- a/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php
+++ b/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php
@@ -52,6 +52,7 @@ class CsvFileLoaderTest extends TestCase
     public function testLoadNonLocalResource()
     {
         $this->expectException(InvalidResourceException::class);
+
         $loader = new CsvFileLoader();
         $resource = 'http://example.com/resources.csv';
         $loader->load($resource, 'en', 'domain1');
diff --git a/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanOrEqualValidatorWithPositiveOrZeroConstraintTest.php b/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanOrEqualValidatorWithPositiveOrZeroConstraintTest.php
index 8ae5968..fe6803a 100644
--- a/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanOrEqualValidatorWithPositiveOrZeroConstraintTest.php
+++ b/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanOrEqualValidatorWithPositiveOrZeroConstraintTest.php
@@ -79,7 +79,6 @@ class GreaterThanOrEqualValidatorWithPositiveOrZeroConstraintTest extends Greate
         $this->markTestSkipped('Value option is set for PositiveOrZero constraint automatically');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testInvalidValuePath()
     {
         $this->markTestSkipped('PropertyPath option is not used in PositiveOrZero constraint');
@@ -91,26 +90,22 @@ class GreaterThanOrEqualValidatorWithPositiveOrZeroConstraintTest extends Greate
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideValidComparisonsToPropertyPath')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testValidComparisonToPropertyPath($comparedValue)
     {
         $this->markTestSkipped('PropertyPath option is not used in PositiveOrZero constraint');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testNoViolationOnNullObjectWithPropertyPath()
     {
         $this->markTestSkipped('PropertyPath option is not used in PositiveOrZero constraint');
     }
 
     #[\PHPUnit\Framework\Attributes\Group('nophpunit11')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testThrowsOnInvalidStringDates(AbstractComparison $constraint, $expectedMessage, $value)
     {
         $this->markTestSkipped('The compared value cannot be an invalid string date because it is hardcoded to 0.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testInvalidComparisonToPropertyPathAddsPathAsParameter()
     {
         $this->markTestSkipped('PropertyPath option is not used in PositiveOrZero constraint');
diff --git a/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanValidatorWithPositiveConstraintTest.php b/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanValidatorWithPositiveConstraintTest.php
index 86290c0..925b6bb 100644
--- a/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanValidatorWithPositiveConstraintTest.php
+++ b/src/Symfony/Component/Validator/Tests/Constraints/GreaterThanValidatorWithPositiveConstraintTest.php
@@ -77,13 +77,11 @@ class GreaterThanValidatorWithPositiveConstraintTest extends GreaterThanValidato
         $this->markTestSkipped('Value option is set for Positive constraint automatically');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testNoViolationOnNullObjectWithPropertyPath()
     {
         $this->markTestSkipped('PropertyPath option is not used in Positive constraint');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testInvalidValuePath()
     {
         $this->markTestSkipped('PropertyPath option is not used in Positive constraint');
@@ -95,20 +93,17 @@ class GreaterThanValidatorWithPositiveConstraintTest extends GreaterThanValidato
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideValidComparisonsToPropertyPath')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testValidComparisonToPropertyPath($comparedValue)
     {
         $this->markTestSkipped('PropertyPath option is not used in Positive constraint');
     }
 
     #[\PHPUnit\Framework\Attributes\Group('nophpunit11')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testThrowsOnInvalidStringDates(AbstractComparison $constraint, $expectedMessage, $value)
     {
         $this->markTestSkipped('The compared value cannot be an invalid string date because it is hardcoded to 0.');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testInvalidComparisonToPropertyPathAddsPathAsParameter()
     {
         $this->markTestSkipped('PropertyPath option is not used in Positive constraint');
diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php
index b0f83d3..d3182b3 100644
--- a/src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php
+++ b/src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php
@@ -114,7 +114,7 @@ class LengthValidatorTest extends ConstraintValidatorTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getFiveOrMoreCharacters')]
-    public function testValidValuesMin($value)
+    public function testValidValuesMin($value, $valueLength)
     {
         $constraint = new Length(['min' => 5]);
         $this->validator->validate($value, $constraint);
@@ -123,7 +123,7 @@ class LengthValidatorTest extends ConstraintValidatorTestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getThreeOrLessCharacters')]
-    public function testValidValuesMax($value)
+    public function testValidValuesMax($value, $valueLength)
     {
         $constraint = new Length(['max' => 3]);
         $this->validator->validate($value, $constraint);
diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php
index 647425e..3127213 100644
--- a/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php
+++ b/src/Symfony/Component/Validator/Tests/Constraints/LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest.php
@@ -76,13 +76,11 @@ class LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest extends LessThanO
         $this->markTestSkipped('Value option is set for NegativeOrZero constraint automatically');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testNoViolationOnNullObjectWithPropertyPath()
     {
         $this->markTestSkipped('PropertyPath option is not used in NegativeOrZero constraint');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testInvalidValuePath()
     {
         $this->markTestSkipped('PropertyPath option is not used in NegativeOrZero constraint');
@@ -94,13 +92,11 @@ class LessThanOrEqualValidatorWithNegativeOrZeroConstraintTest extends LessThanO
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideValidComparisonsToPropertyPath')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testValidComparisonToPropertyPath($comparedValue)
     {
         $this->markTestSkipped('PropertyPath option is not used in NegativeOrZero constraint');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testInvalidComparisonToPropertyPathAddsPathAsParameter()
     {
         $this->markTestSkipped('PropertyPath option is not used in NegativeOrZero constraint');
diff --git a/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php b/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php
index bbfbb76..d568e82 100644
--- a/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php
+++ b/src/Symfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php
@@ -76,13 +76,11 @@ class LessThanValidatorWithNegativeConstraintTest extends LessThanValidatorTest
         $this->markTestSkipped('Value option is set for Negative constraint automatically');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testNoViolationOnNullObjectWithPropertyPath()
     {
         $this->markTestSkipped('PropertyPath option is not used in Negative constraint');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testInvalidValuePath()
     {
         $this->markTestSkipped('PropertyPath option is not used in Negative constraint');
@@ -94,7 +92,6 @@ class LessThanValidatorWithNegativeConstraintTest extends LessThanValidatorTest
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideValidComparisonsToPropertyPath')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testValidComparisonToPropertyPath($comparedValue)
     {
         $this->markTestSkipped('PropertyPath option is not used in Negative constraint');
@@ -106,20 +103,17 @@ class LessThanValidatorWithNegativeConstraintTest extends LessThanValidatorTest
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideComparisonsToNullValueAtPropertyPath')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCompareWithNullValueAtPropertyAt($dirtyValue, $dirtyValueAsString, $isValid)
     {
         $this->markTestSkipped('PropertyPath option is not used in Negative constraint');
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideComparisonsToNullValueAtPropertyPath')]
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testCompareWithUninitializedPropertyAtPropertyPath($dirtyValue, $dirtyValueAsString, $isValid)
     {
         $this->markTestSkipped('PropertyPath option is not used in Negative constraint');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testInvalidComparisonToPropertyPathAddsPathAsParameter()
     {
         $this->markTestSkipped('PropertyPath option is not used in Negative constraint');
diff --git a/src/Symfony/Component/Validator/Tests/Constraints/TimezoneTest.php b/src/Symfony/Component/Validator/Tests/Constraints/TimezoneTest.php
index 49be2df..9769118 100644
--- a/src/Symfony/Component/Validator/Tests/Constraints/TimezoneTest.php
+++ b/src/Symfony/Component/Validator/Tests/Constraints/TimezoneTest.php
@@ -22,7 +22,6 @@ use Symfony\Component\Validator\Mapping\Loader\AttributeLoader;
  */
 class TimezoneTest extends TestCase
 {
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testValidTimezoneConstraints()
     {
         new Timezone();
diff --git a/src/Symfony/Component/Validator/Tests/Constraints/WhenValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/WhenValidatorTest.php
index 99a7903..cba81b2 100644
--- a/src/Symfony/Component/Validator/Tests/Constraints/WhenValidatorTest.php
+++ b/src/Symfony/Component/Validator/Tests/Constraints/WhenValidatorTest.php
@@ -64,7 +64,6 @@ final class WhenValidatorTest extends ConstraintValidatorTestCase
         ]));
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testConstraintsAreExecutedWithObject()
     {
         $number = new \stdClass();
diff --git a/src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php b/src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php
index 418aaaa..7adc0fc 100644
--- a/src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php
+++ b/src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php
@@ -42,7 +42,7 @@ class DateCasterTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideDateTimes')]
-    public function testDumpDateTime($time, $timezone, $xDate, $xTimestamp)
+    public function testDumpDateTime($time, $timezone, $xDate, $xTimestamp, $xInfos)
     {
         $date = new \DateTime($time, new \DateTimeZone($timezone));
 
@@ -56,7 +56,7 @@ EODUMP;
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideDateTimes')]
-    public function testDumpDateTimeImmutable($time, $timezone, $xDate, $xTimestamp)
+    public function testDumpDateTimeImmutable($time, $timezone, $xDate, $xTimestamp, $xInfos)
     {
         $date = new \DateTimeImmutable($time, new \DateTimeZone($timezone));
 
@@ -197,7 +197,7 @@ EODUMP;
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideIntervals')]
-    public function testDumpInterval($intervalSpec, $ms, $invert, $expected)
+    public function testDumpInterval($intervalSpec, $ms, $invert, $expected, $xSeconds)
     {
         $interval = $this->createInterval($intervalSpec, $ms, $invert);
 
@@ -211,7 +211,7 @@ EODUMP;
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideIntervals')]
-    public function testDumpIntervalExcludingVerbosity($intervalSpec, $ms, $invert, $expected)
+    public function testDumpIntervalExcludingVerbosity($intervalSpec, $ms, $invert, $expected, $xSeconds)
     {
         $interval = $this->createInterval($intervalSpec, $ms, $invert);
 
@@ -294,7 +294,7 @@ EODUMP;
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideTimeZones')]
-    public function testDumpTimeZone($timezone, $expected)
+    public function testDumpTimeZone($timezone, $expected, $xRegion)
     {
         $timezone = new \DateTimeZone($timezone);
 
@@ -308,7 +308,7 @@ EODUMP;
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideTimeZones')]
-    public function testDumpTimeZoneExcludingVerbosity($timezone, $expected)
+    public function testDumpTimeZoneExcludingVerbosity($timezone, $expected, $xRegion)
     {
         $timezone = new \DateTimeZone($timezone);
 
@@ -381,7 +381,7 @@ EODUMP;
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('providePeriods')]
-    public function testDumpPeriod($start, $interval, $end, $options, $expected)
+    public function testDumpPeriod($start, $interval, $end, $options, $expected, $xDates)
     {
         $p = new \DatePeriod(new \DateTimeImmutable($start), new \DateInterval($interval), \is_int($end) ? $end : new \DateTime($end), $options);
 
diff --git a/src/Symfony/Component/VarDumper/Tests/Dumper/ContextualizedDumperTest.php b/src/Symfony/Component/VarDumper/Tests/Dumper/ContextualizedDumperTest.php
index 17e6ac8..a9a632c 100644
--- a/src/Symfony/Component/VarDumper/Tests/Dumper/ContextualizedDumperTest.php
+++ b/src/Symfony/Component/VarDumper/Tests/Dumper/ContextualizedDumperTest.php
@@ -20,7 +20,8 @@ use Symfony\Component\VarDumper\Dumper\ContextualizedDumper;
 /**
  * @author Kévin Thérage <therage.kevin@gmail.com>
  */
-#[\PHPUnit\Framework\Attributes\BackupGlobals(null)]
+#[\PHPUnit\Framework\Attributes\BackupGlobals(true)]
+#[\PHPUnit\Framework\Attributes\Group('nophpunit12')]
 class ContextualizedDumperTest extends TestCase
 {
     public function testContextualizedCliDumper()
diff --git a/src/Symfony/Component/Workflow/Tests/Attribute/AsListenerTest.php b/src/Symfony/Component/Workflow/Tests/Attribute/AsListenerTest.php
index 7b1d932..9c4de4b 100644
--- a/src/Symfony/Component/Workflow/Tests/Attribute/AsListenerTest.php
+++ b/src/Symfony/Component/Workflow/Tests/Attribute/AsListenerTest.php
@@ -57,7 +57,7 @@ class AsListenerTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('provideTransitionThrowException')]
-    public function testTransitionThrowException(string $class)
+    public function testTransitionThrowException(string $class, string $string)
     {
         $this->expectException(LogicException::class);
         $this->expectExceptionMessage(\sprintf('The "transition" argument of "%s" cannot be used without a "workflow" argument.', $class));
@@ -74,7 +74,7 @@ class AsListenerTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('providePlaceThrowException')]
-    public function testPlaceThrowException(string $class)
+    public function testPlaceThrowException(string $class, string $string)
     {
         $this->expectException(LogicException::class);
         $this->expectExceptionMessage(\sprintf('The "place" argument of "%s" cannot be used without a "workflow" argument.', $class));
diff --git a/src/Symfony/Component/Workflow/Tests/Validator/StateMachineValidatorTest.php b/src/Symfony/Component/Workflow/Tests/Validator/StateMachineValidatorTest.php
index a5d3534..e88408b 100644
--- a/src/Symfony/Component/Workflow/Tests/Validator/StateMachineValidatorTest.php
+++ b/src/Symfony/Component/Workflow/Tests/Validator/StateMachineValidatorTest.php
@@ -89,7 +89,6 @@ class StateMachineValidatorTest extends TestCase
         //           +----+
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testValid()
     {
         $places = ['a', 'b', 'c'];
diff --git a/src/Symfony/Component/Workflow/Tests/Validator/WorkflowValidatorTest.php b/src/Symfony/Component/Workflow/Tests/Validator/WorkflowValidatorTest.php
index d2478a2..50c3abd 100644
--- a/src/Symfony/Component/Workflow/Tests/Validator/WorkflowValidatorTest.php
+++ b/src/Symfony/Component/Workflow/Tests/Validator/WorkflowValidatorTest.php
@@ -39,7 +39,6 @@ class WorkflowValidatorTest extends TestCase
         (new WorkflowValidator())->validate($definition, 'foo');
     }
 
-    #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
     public function testSameTransitionNameButNotSamePlace()
     {
         $places = range('a', 'd');
diff --git a/src/Symfony/Component/Yaml/Tests/InlineTest.php b/src/Symfony/Component/Yaml/Tests/InlineTest.php
index 73d1871..ce19176 100644
--- a/src/Symfony/Component/Yaml/Tests/InlineTest.php
+++ b/src/Symfony/Component/Yaml/Tests/InlineTest.php
@@ -547,7 +547,7 @@ class InlineTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getTimestampTests')]
-    public function testParseTimestampAsUnixTimestampByDefault(string $yaml, int $year, int $month, int $day, int $hour, int $minute, int $second, int $microsecond)
+    public function testParseTimestampAsUnixTimestampByDefault(string $yaml, int $year, int $month, int $day, int $hour, int $minute, int $second, int $microsecond, string $timezone)
     {
         $expectedDate = (new \DateTimeImmutable($yaml, new \DateTimeZone('UTC')))->format('U');
         $this->assertSame($microsecond ? (float) "$expectedDate.$microsecond" : (int) $expectedDate, Inline::parse($yaml));
@@ -577,7 +577,7 @@ class InlineTest extends TestCase
     }
 
     #[\PHPUnit\Framework\Attributes\DataProvider('getTimestampTests')]
-    public function testParseNestedTimestampListAsDateTimeObject(string $yaml, int $year, int $month, int $day, int $hour, int $minute, int $second, int $microsecond)
+    public function testParseNestedTimestampListAsDateTimeObject(string $yaml, int $year, int $month, int $day, int $hour, int $minute, int $second, int $microsecond, string $timezone)
     {
         $expected = (new \DateTimeImmutable($yaml))
             ->setTimeZone(new \DateTimeZone('UTC'))
