This tool is currently proof-of-concept. Your feedback and evaluation is valuable in helping to improve it and ensure its reports are meaninful.

Please click here to complete a short survey to tell us what you think. It should take less than 5 minutes and help further this research project!


Detected issues

Issue Method Line number


Click highlighted lines for details

<?php/* @description     Transformation Style Sheets - Revolutionising PHP templating    * * @author          Tom Butler                                             * * @copyright       2017 Tom Butler <> |                      * * @license  BSD License * * @version         1.2                                                             */namespace Transphporm\TSSFunction;/* Handles constant() function in the TSS stlyesheet */class Constant implements \Transphporm\TSSFunction {	public function run(array $args, \DomElement $element) {		$const_name = strtoupper(trim($args[0]));		if (!defined($const_name)) {			throw new \Exception($const_name . ' is not a defined constant');		}		return constant($const_name);	}}