I'm dabbling with the idea of setting up PHP CodeSniffer on our continuous integration server in an effort to improve the quality of our code-base. After reading the documentation I'm very excited about the idea of normalizing and enforcing our coding standards. However, I'm left wondering about the actual improvement to our product. I'm...
I've set up phpUnderControl and it's all working very well, except that for a few projects that I have aren't getting any output in the PHP-CodeBrowser tab.
If I run the command manually I get:
phpcb --log projects/devvo/build/logs --source projects/devvo/source --output projects/devvo/build/php-code-browser
Generating PHP_CodeBrowser...
Hey.
I'd like to check code committed to my remote git repository with PHP CodeSniffer and reject it if there are any problems code standards. Does anyone have an example how to use it on git remote repository or maybe example how to use it with pre-receive hook? Thanks.
...
hi
i want a codesniff for php_codesniffer that checks for indentation using just tabs.
i tried to modify the generic codesniff that disallows tabs, but i cannot get it to work. it seems to highlight statements where i use spaces and tabs as well.
any advice?
...
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...
Hello all,
I am running XAMPP with windows XP. I just download PHP_CodeSniffer and cannot figure out how to run it.
Thank you
...