Hi,
I'm using Ant to build my project, generate docs and check coding strandard violations. I use some external tool through exec task. Exec prefixes the output lines with [exec]
This string messes my output up.
If I specify the -e switch in the command line, it remains quiet.
Is there a way to
specify the -e switch on every run in th...
Well, I'm getting a pretty bizarre error from PHPCS:
<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="1.2.2">
<file name="/var/lib/hudson/jobs/Goals/workspace/Goals/controllers/UserActivation.class.php">
<error line="1" column="1" severity="error" message="An error occurred during processing; checking has been aborted. The...
I've recently been trying to set up PHPUnderControl, a Continuous Integration server based on CruisControl. Part of the checks I'd like to run is the PHP CodeSniffer (PHPCS) to detect "code smell". However, letting this run on my codebase results in an extreme amount of problems being detected. Most of these are found in libraries that I...
We have a PHP 5 web application and we're currently evaluating PHP CodeSniffer in order to decide whether forcing code standards improves code quality.
We use subversion for our code repository and deployment base and I have added a SVN pre-commit hook to ensure all files committed are free from coding standard smells. The hook technica...
Hello,
How to configure Netbeans PHP to follow Zend Coding Standard?
I'm struggling with this quite a while, and still get phpcs errors on multi line function arguments.
Would you share your settings?
...
I'm trying to write an custom ruleset.xml for php code sniffer but calling it from the commandline without putting it in the default folder doesn't seem to work.
Since the documentations seems to state otherwise i'd like to ask if i'm doing something wrong here
:~/$ phpcs --standard=/home/edo/custom_ruleset.xml source/
===>
ERROR: the ...