diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index d956ff6fdd5..23e215e2b46 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -20,7 +20,6 @@
-
@@ -49,6 +48,10 @@
*/src/*
+
+ */src/*
+
+
*/src/*
diff --git a/tests/ConnectionTest.php b/tests/ConnectionTest.php
index 8422cbb1ab6..ba5fc74c07d 100644
--- a/tests/ConnectionTest.php
+++ b/tests/ConnectionTest.php
@@ -39,7 +39,7 @@ class ConnectionTest extends TestCase
private Connection $connection;
/** @var array{wrapperClass?: class-string} */
- protected $params = [
+ protected array $params = [
'driver' => 'pdo_mysql',
'host' => 'localhost',
'user' => 'root',