diff --git a/composer.json b/composer.json
index 56f6640a..36b2ba4e 100644
--- a/composer.json
+++ b/composer.json
@@ -23,8 +23,7 @@
"require": {
"php": "^7.1 || ^8.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7",
- "slevomat/coding-standard": "^7.0.0",
- "squizlabs/php_codesniffer": "^3.6.0"
+ "slevomat/coding-standard": "^8"
},
"config": {
"sort-packages": true
diff --git a/lib/Doctrine/ruleset.xml b/lib/Doctrine/ruleset.xml
index d841c154..7c80f7a5 100644
--- a/lib/Doctrine/ruleset.xml
+++ b/lib/Doctrine/ruleset.xml
@@ -408,7 +408,7 @@
-
+
diff --git a/tests/expected_report.txt b/tests/expected_report.txt
index c6449260..476a58b9 100644
--- a/tests/expected_report.txt
+++ b/tests/expected_report.txt
@@ -28,7 +28,7 @@ tests/input/not_spacing.php 8 0
tests/input/null_coalesce_equal_operator.php 1 0
tests/input/null_coalesce_operator.php 3 0
tests/input/optimized-functions.php 1 0
-tests/input/PropertyTypeHintSpacing.php 6 0
+tests/input/PropertyDeclaration.php 6 0
tests/input/return_type_on_closures.php 21 0
tests/input/return_type_on_methods.php 17 0
tests/input/semicolon_spacing.php 3 0
diff --git a/tests/fixed/PropertyTypeHintSpacing.php b/tests/fixed/PropertyDeclaration.php
similarity index 85%
rename from tests/fixed/PropertyTypeHintSpacing.php
rename to tests/fixed/PropertyDeclaration.php
index 14219130..5c3f27b7 100644
--- a/tests/fixed/PropertyTypeHintSpacing.php
+++ b/tests/fixed/PropertyDeclaration.php
@@ -4,7 +4,7 @@
namespace Spacing;
-final class PropertyTypeHintSpacing
+final class PropertyDeclaration
{
public bool $boolPropertyWithDefaultValue = false;
public string $stringProperty;
diff --git a/tests/input/PropertyTypeHintSpacing.php b/tests/input/PropertyDeclaration.php
similarity index 86%
rename from tests/input/PropertyTypeHintSpacing.php
rename to tests/input/PropertyDeclaration.php
index 40475e96..0891e125 100644
--- a/tests/input/PropertyTypeHintSpacing.php
+++ b/tests/input/PropertyDeclaration.php
@@ -4,7 +4,7 @@
namespace Spacing;
-final class PropertyTypeHintSpacing
+final class PropertyDeclaration
{
public bool $boolPropertyWithDefaultValue = false;
public string $stringProperty;
diff --git a/tests/php74-compatibility.patch b/tests/php74-compatibility.patch
index 1301ea75..f9ca8be0 100644
--- a/tests/php74-compatibility.patch
+++ b/tests/php74-compatibility.patch
@@ -22,7 +22,7 @@ index fd5432c..233e24d 100644
+tests/input/null_coalesce_equal_operator.php 5 0
tests/input/null_coalesce_operator.php 3 0
tests/input/optimized-functions.php 1 0
- tests/input/PropertyTypeHintSpacing.php 6 0
+ tests/input/PropertyDeclaration.php 6 0
@@ -39,15 +39,15 @@ tests/input/superfluous-naming.php 11 0
tests/input/test-case.php 8 0
tests/input/trailing_comma_on_array.php 1 0
diff --git a/tests/php80-compatibility.patch b/tests/php80-compatibility.patch
index 7cceac94..9bfdfa1d 100644
--- a/tests/php80-compatibility.patch
+++ b/tests/php80-compatibility.patch
@@ -24,7 +24,7 @@ index c644926..d0f0a44 100644
tests/input/null_coalesce_operator.php 3 0
+tests/input/null_safe_operator.php 1 0
tests/input/optimized-functions.php 1 0
- tests/input/PropertyTypeHintSpacing.php 6 0
+ tests/input/PropertyDeclaration.php 6 0
tests/input/return_type_on_closures.php 21 0
@@ -39,15 +40,15 @@ tests/input/superfluous-naming.php 11 0
tests/input/test-case.php 8 0