Browse Source

Remove useless priority comments

Kuba Werłos 5 years ago
parent
commit
e1456d69ee

+ 0 - 1
src/Fixer/Import/NoLeadingImportSlashFixer.php

@@ -44,7 +44,6 @@ final class NoLeadingImportSlashFixer extends AbstractFixer
      */
     public function getPriority()
     {
-        // should be run after the SingleImportPerStatementFixer (for fix separated use statements as well) and NoUnusedImportsFixer (just for save performance)
         return -20;
     }
 

+ 0 - 2
src/Fixer/Operator/StandardizeIncrementFixer.php

@@ -59,8 +59,6 @@ final class StandardizeIncrementFixer extends AbstractFixer
      */
     public function getPriority()
     {
-        // Must be run before IncrementStyleFixer in case user wants to
-        // post-increment instead
         return 1;
     }
 

+ 0 - 8
src/Fixer/Phpdoc/PhpdocIndentFixer.php

@@ -53,14 +53,6 @@ class DocBlocks
      */
     public function getPriority()
     {
-        /*
-         * Should be run before all other docblock fixers apart from the
-         * phpdoc_to_comment fixer to make sure all fixers apply correct
-         * indentation to new code they add, and the phpdoc_params fixer only
-         * works on correctly indented docblocks. We also need to be running
-         * after the psr2 indentation fixer for obvious reasons.
-         * comments.
-         */
         return 20;
     }
 

+ 0 - 2
src/Fixer/Phpdoc/PhpdocNoEmptyReturnFixer.php

@@ -69,8 +69,6 @@ function foo() {}
      */
     public function getPriority()
     {
-        // must be run before the PhpdocSeparationFixer, PhpdocOrderFixer
-        // must be run after the PhpdocAddMissingParamAnnotationFixer
         return 10;
     }
 

+ 0 - 5
src/Fixer/Phpdoc/PhpdocOrderFixer.php

@@ -65,11 +65,6 @@ final class PhpdocOrderFixer extends AbstractFixer
      */
     public function getPriority()
     {
-        /*
-         * Should be run before the php_doc_separation fixer so that if we
-         * create incorrect annotation grouping while moving the annotations
-         * about, we're still ok.
-         */
         return -2;
     }
 

+ 0 - 1
src/Fixer/Phpdoc/PhpdocReturnSelfReferenceFixer.php

@@ -109,7 +109,6 @@ class Sample
      */
     public function getPriority()
     {
-        // must run before NoSuperfluousPhpdocTagsFixer
         return 10;
     }
 

+ 0 - 5
src/Fixer/Phpdoc/PhpdocTrimFixer.php

@@ -51,11 +51,6 @@ final class Foo {}
      */
     public function getPriority()
     {
-        /*
-         * Should be run after all phpdoc fixers that add or remove tags, or
-         * alter descriptions. This is so that they don't leave behind blank
-         * lines this fixer would have otherwise cleaned up.
-         */
         return -5;
     }
 

+ 0 - 2
src/Fixer/Whitespace/MethodChainingIndentationFixer.php

@@ -45,8 +45,6 @@ final class MethodChainingIndentationFixer extends AbstractFixer implements Whit
      */
     public function getPriority()
     {
-        // Should run after BracesFixer
-        // Should run before ArrayIndentationFixer
         return -29;
     }