[PEPr] Comment on PHP::PHP_CodeSniffer
| From: | Laurent Laville | Date: | Wed, 26 Jul 2006 08:46:54 +0000 |
| Subject: | [PEPr] Comment on PHP::PHP_CodeSniffer | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-43578@lists.php.net to get a copy of this message | ||
Laurent Laville (http://pear.php.net/user/farell) has commented on the proposal for
PHP::PHP_CodeSniffer.
Comment:
Another case of strange error indentation
here are a bit of code analysed:
<pre>
</head>
<body>
<?php
if ($form->validate()) {
$safe = $form->getSubmitValues();
//...
}
</pre>
Line 212 is the form->validate call
I get this result with CodeSniffer 0.0.2
[LINE 213] ERROR: Line indented incorrectly. Expected atleast 27 spaces,
but found 4.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=426
--
Sent by PEPr, the automatic proposal system at http://pear.php.net