jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Sonar Plugins
  • Sonar Plugins
  • SONARPLUGINS-1255

Typo Error

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: PHP-0.5
  • Component/s: PHP
  • Labels:
    None
  • Environment:
    sonar-2.7
  • Number of attachments :
    0

Description

Hello,
there are two typo errors on the names of the rules :

  • CodeSniffer :
    ValidClassNameStartWithCaptial ==> ValidClassNameStartWithCapital
  • PHPpmd :
    Variable name lenght exceeds maximum ==> Variable name length exceeds maximum

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Khalil KHOUJA added a comment - 11/Jul/11 7:22 AM

There are other rules with the same typo error ("Captial") :

BlockCommentNoCaptial
ClassCommentLongNotCaptial
FileCommentLongNotCaptial
ValidFunctionNameFunctionNoCaptial

Show
Khalil KHOUJA added a comment - 11/Jul/11 7:22 AM There are other rules with the same typo error ("Captial") : BlockCommentNoCaptial ClassCommentLongNotCaptial FileCommentLongNotCaptial ValidFunctionNameFunctionNoCaptial
Hide
Permalink
Fabrice Bellingard added a comment - 30/Sep/11 10:42 AM

If you don't mind, Gennadiy, as you've just worked on the rules

Show
Fabrice Bellingard added a comment - 30/Sep/11 10:42 AM If you don't mind, Gennadiy, as you've just worked on the rules
Hide
Permalink
Gennadiy Litvinyuk added a comment - 03/Oct/11 3:56 PM

ValidClassNameStartWithCaptial is not an error. At least not a plugin error, but a PHP_CodeSniffer's error

See:
http://svn.php.net/viewvc/pear/packages/PHP_CodeSniffer/trunk/CodeSniffer/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php?view=markup row 71.
http://svn.php.net/viewvc/pear/packages/PHP_CodeSniffer/trunk/CodeSniffer/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php?view=markup row 229.
etc.

PHPpmd lenght => length is fixed.

Show
Gennadiy Litvinyuk added a comment - 03/Oct/11 3:56 PM ValidClassNameStartWithCaptial is not an error. At least not a plugin error, but a PHP_CodeSniffer's error See: http://svn.php.net/viewvc/pear/packages/PHP_CodeSniffer/trunk/CodeSniffer/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php?view=markup row 71. http://svn.php.net/viewvc/pear/packages/PHP_CodeSniffer/trunk/CodeSniffer/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php?view=markup row 229. etc. PHPpmd lenght => length is fixed.

People

  • Assignee:
    Gennadiy Litvinyuk
    Reporter:
    Khalil KHOUJA
Vote (0)
Watch (0)

Dates

  • Created:
    11/Jul/11 7:01 AM
    Updated:
    10/Oct/11 3:26 AM
    Resolved:
    03/Oct/11 4:06 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.