• Walt Sorensen's avatar
    [CS] fix some doc comment types (#20522) · 8b49838b
    Walt Sorensen authored
    * PHPCS2 manual fixes
    
    - Variables passed by reference should not have the `&` prefixed in the doc comment
      - Joomla.Commenting.FunctionComment.MissingParamTag
      - Joomla.Commenting.FunctionComment.ParamNameNoMatch
    - correct return statement
    
    * exclude administrator/components/ folder
    
    "Having a "&" in the docblock (whether it's in front of the type or name) is not valid. References are to be expressed solely by the function/method declaration."
    
    so we need to exclude this sniff while we trasition to the PHPCS 2.x version
    8b49838b
banner.php 7.89 KB