@@ -0,0 +1,15 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Tests\CodingStandards\Unit\CsFixer\Phpdoc\NoUselessAccessFixer;
+
+class Simple
+{
+    /**
+     * @access public
+     */
+    public const A = 'value';
+    /** @access protected */
+    protected const B = 'value';
+}
This test case expresses that the fixer `NoUselessAccessFixer` removes annotation when there is a visibility specified. But it removes the annotation even if it is different from the visibility. Shouldn't the fixer in this scenario "different annotation and visibility" only show error? Because something is fishy in that case - either annotation or visibility is wrong and it could happen that the visibility is the wrong part