MySource Matrix Developer

Main Content

An Introduction to Snoopy

Snoopy is a PHP script that tokenises PHP code and detects violations of the MySource Matrix coding standards.

Being an open source project, Squiz strives to ensure that all code produced for MySource Matrix meets a defined coding standard, be it developed by one of our own developers or contributed by another member of the open source community.

Snoopy, the core result of this on-going effort, is an essential development tool that ensures that MySource Matrix remains code-clean and consistent. Snoopy detects any PHP code which violates the MySource Matrix coding standard and helps prevent some common semantic errors easily made by developers.

The MySource Matrix development team hopes that Snoopy can help other developers improve the cleanness of their PHP code as well.

List of snoopy features