diff --git a/composer.json b/composer.json
index 1c0c3c45b8ac5bc4f6657fdb17e732e3c7662ce2..e676386da3dfd17e7825531b10924a1741333020 100644
--- a/composer.json
+++ b/composer.json
@@ -32,7 +32,7 @@
         "phpspec/prophecy-phpunit": "^2",
         "phpstan/extension-installer": "^1.1",
         "phpstan/phpstan": "^1.10.62",
-        "phpstan/phpstan-phpunit": "^1.3.11",
+        "phpstan/phpstan-phpunit": "^1.3.16",
         "phpunit/phpunit": "^9.6.13",
         "symfony/browser-kit": "^6.4",
         "symfony/css-selector": "^6.4",
diff --git a/composer.lock b/composer.lock
index 3b946253cc9fe3009e62249a69e174289d75c074..74d95e19bb0f1f54bbbe678cd0438ecd7481a4f3 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "ac0aabafd36d9d9dd8469c44109f73cd",
+    "content-hash": "479da193f70d9ec14eb448a2d7360a05",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -7199,16 +7199,16 @@
         },
         {
             "name": "phpstan/phpstan-phpunit",
-            "version": "1.3.15",
+            "version": "1.3.16",
             "source": {
                 "type": "git",
                 "url": "https://github.com/phpstan/phpstan-phpunit.git",
-                "reference": "70ecacc64fe8090d8d2a33db5a51fe8e88acd93a"
+                "reference": "d5242a59d035e46774f2e634b374bc39ff62cb95"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/70ecacc64fe8090d8d2a33db5a51fe8e88acd93a",
-                "reference": "70ecacc64fe8090d8d2a33db5a51fe8e88acd93a",
+                "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/d5242a59d035e46774f2e634b374bc39ff62cb95",
+                "reference": "d5242a59d035e46774f2e634b374bc39ff62cb95",
                 "shasum": ""
             },
             "require": {
@@ -7245,9 +7245,9 @@
             "description": "PHPUnit extensions and rules for PHPStan",
             "support": {
                 "issues": "https://github.com/phpstan/phpstan-phpunit/issues",
-                "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.15"
+                "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.16"
             },
-            "time": "2023-10-09T18:58:39+00:00"
+            "time": "2024-02-23T09:51:20+00:00"
         },
         {
             "name": "phpunit/php-code-coverage",
diff --git a/composer/Metapackage/DevDependencies/composer.json b/composer/Metapackage/DevDependencies/composer.json
index a4ac872af8860a275874341e8fcc3b1e657ace4f..727217eef9c648ff302f9ee4b7c0696f26e8a469 100644
--- a/composer/Metapackage/DevDependencies/composer.json
+++ b/composer/Metapackage/DevDependencies/composer.json
@@ -24,7 +24,7 @@
         "phpspec/prophecy-phpunit": "^2",
         "phpstan/extension-installer": "^1.1",
         "phpstan/phpstan": "^1.10.62",
-        "phpstan/phpstan-phpunit": "^1.3.11",
+        "phpstan/phpstan-phpunit": "^1.3.16",
         "phpunit/phpunit": "^9.6.13",
         "symfony/browser-kit": "^6.4",
         "symfony/css-selector": "^6.4",
diff --git a/composer/Metapackage/PinnedDevDependencies/composer.json b/composer/Metapackage/PinnedDevDependencies/composer.json
index c97a80544acffea22e4f3e593d0c0d405cc22cfd..755744e6652cb26128e9d2b12e206d36d2331ac8 100644
--- a/composer/Metapackage/PinnedDevDependencies/composer.json
+++ b/composer/Metapackage/PinnedDevDependencies/composer.json
@@ -51,7 +51,7 @@
         "phpstan/phpdoc-parser": "1.24.4",
         "phpstan/phpstan": "1.10.62",
         "phpstan/phpstan-deprecation-rules": "1.1.4",
-        "phpstan/phpstan-phpunit": "1.3.15",
+        "phpstan/phpstan-phpunit": "1.3.16",
         "phpunit/php-code-coverage": "9.2.29",
         "phpunit/php-file-iterator": "3.0.6",
         "phpunit/php-invoker": "3.1.1",
diff --git a/core/.phpstan-baseline.php b/core/.phpstan-baseline.php
index 5b0e6bbe32613948f184ad7f73441bf29c57c54c..8503a727d9f844b51c64c9174b3baedbc18057d0 100644
--- a/core/.phpstan-baseline.php
+++ b/core/.phpstan-baseline.php
@@ -1593,6 +1593,11 @@
 	'count' => 3,
 	'path' => __DIR__ . '/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php',
 ];
+$ignoreErrors[] = [
+	'message' => '#^Variable \\$test_meta in empty\\(\\) always exists and is not falsy\\.$#',
+	'count' => 2,
+	'path' => __DIR__ . '/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php',
+];
 $ignoreErrors[] = [
 	'message' => '#^Variable \\$expected_required_list_items might not be defined\\.$#',
 	'count' => 2,
@@ -1633,11 +1638,6 @@
 	'count' => 1,
 	'path' => __DIR__ . '/modules/taxonomy/src/VocabularyForm.php',
 ];
-$ignoreErrors[] = [
-	'message' => '#^Variable \\$depth_count might not be defined\\.$#',
-	'count' => 4,
-	'path' => __DIR__ . '/modules/taxonomy/tests/src/Kernel/TermKernelTest.php',
-];
 $ignoreErrors[] = [
 	'message' => '#^Method Drupal\\\\tour\\\\TipPluginBase\\:\\:get\\(\\) should return string but return statement is missing\\.$#',
 	'count' => 1,
@@ -2152,11 +2152,6 @@
 	'count' => 1,
 	'path' => __DIR__ . '/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php',
 ];
-$ignoreErrors[] = [
-	'message' => '#^Variable \\$entity might not be defined\\.$#',
-	'count' => 1,
-	'path' => __DIR__ . '/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php',
-];
 $ignoreErrors[] = [
 	'message' => '#^Variable \\$new_field_schema_data might not be defined\\.$#',
 	'count' => 1,