Browse Source

minor: PhpdocAlignFixerTest - convert CUSTOM tags test to not rely on non-custom tag from TAGS_WITH_NAME (#7209)

Dariusz Rumiński 1 year ago
parent
commit
f68358139e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tests/Fixer/Phpdoc/PhpdocAlignFixerTest.php

+ 4 - 4
tests/Fixer/Phpdoc/PhpdocAlignFixerTest.php

@@ -1284,13 +1284,13 @@ class Foo {}
         ',
         ];
 
-        yield 'custom tags' => [
-            ['tags' => ['param', 'phpstan-param']],
+        yield 'CUSTOM tags' => [
+            ['tags' => ['param', 'xxx-xxxxxxxxx']],
             '<?php
     /**
      * @param         EngineInterface $templating
      * @param         string          $format
-     * @phpstan-param int             $code       An HTTP response status code
+     * @xxx-xxxxxxxxx int             $code       An HTTP response status code
      * @param         bool            $debug
      * @param         mixed           &$reference A parameter passed by reference
      */
@@ -1300,7 +1300,7 @@ class Foo {}
     /**
      * @param  EngineInterface $templating
      * @param string      $format
-     * @phpstan-param  int  $code       An HTTP response status code
+     * @xxx-xxxxxxxxx  int  $code       An HTTP response status code
      * @param    bool         $debug
      * @param  mixed    &$reference     A parameter passed by reference
      */