FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18566&edit=1

ID: 18566
Updated by: daniel.oconnor@gmail.com
Reported By: cweiske at php dot net
Summary: Option to run syntax check
Status: Open
Type: Feature/Change Request
Package: PHP_CodeSniffer
Package Version: 1.3.0
PHP Version: 5.3.6
Roadmap Versions:
New Comment:

I don't suppose you'd want to run it as a separate step in the build
process? I mean,
a syntax error isn't exactly a coding style violation - it's more like
"fail the entire
build".

Phing, for instance, provides a phplint task -
http://www.hermanradtke.com/blog/phing-phplint-task/


Previous Comments:
------------------------------------------------------------------------

[2011-05-26 10:09:37] cweiske

Description:
------------
It would be nice if there was an option in phpcs to run the syntax check
before validating the file.

While it's possible to run "php -l $file && phpcs $file", this does not
integrate nicely with the phpcs report formats.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMay 29, '11 at 12:47p
activeMay 29, '11 at 12:47p
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase