The code-quality tag has no wiki summary.
1
vote
1answer
149 views
PHP CodeSniffer: indentation of 2 is ignored, it just checks 4
# phpcs --version
PHP_CodeSniffer version 1.3.3 (stable) by Squiz Pty Ltd. (http://www.squiz.net)
#
Trying to do this:
phpcs --tab-width=2 includes/json/item/categorie.php
FOUND 29 ERROR(S) AND 3 ...
1
vote
0answers
134 views
HTML Code Editor - conditional find & replace [closed]
The Dreamweaver find and replace tool was very handy. (I no longer use Dreamweaver.)
You could perform conditional search and replace on tags and/or tag attributes, which was very effective for ...
4
votes
1answer
96 views
How to promote the quality/security of your a website to your its customers?
Our organization is building a Drupal web platform that we aim at reselling as a cloud service. In order to provide our customers with maximum confidence in our solution, we're looking at ways of ...
1
vote
2answers
52 views
How do you handle bad scripts or plugins
As web developers obviously we don't want to reinvent the wheel with everything we do so best practice would dictate when necessary we should use third party scripts and plugins.
Recently I have ...
3
votes
1answer
364 views
How can I automatically clean, beautify, and autoindent dynamic HTML code?
Using content management systems to build dynamic sites invariably results in ugly HTML. Indent levels are often wrong, white space litters the page, and a host of other tiny annoyances plague anyone ...
1
vote
1answer
141 views
What are best practices for Drupal QA? For example, how would you check for hard coded broken links?
Looking for suggestions on how to QA a Drupal website. Thanks!
4
votes
3answers
3k views
How to ignore certain coding standard errors in PHP CodeSniffer
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 without causing too much of a headache. If it ...