Tagged articles
3 articles
Page 1 of 1
360 Quality & Efficiency
360 Quality & Efficiency
Nov 13, 2019 · Backend Development

Creating a Custom PHP_CodeSniffer Rule to Disallow Hash Comments

This tutorial explains how to build a custom PHP_CodeSniffer standard that forbids the use of hash (#) for single‑line comments, covering directory setup, rule implementation in PHP, detailed code walkthrough, execution commands, and interpreting the generated XML report.

coding standardscustom sniffphpcs
0 likes · 8 min read
Creating a Custom PHP_CodeSniffer Rule to Disallow Hash Comments
360 Tech Engineering
360 Tech Engineering
Jun 19, 2018 · Backend Development

Improving PHP Code Quality with PHING, PHPCS, PHPCPD, and Phan

This article explains how to set up a PHP project with Composer, PHING, and a suite of quality‑checking tools—including PHPCS for coding standards, PHPCPD for duplicate detection, and Phan for deep static analysis—to automatically enforce code quality and reduce manual review effort.

PHINGPHPPHPCPD
0 likes · 7 min read
Improving PHP Code Quality with PHING, PHPCS, PHPCPD, and Phan