PHP CODE SNIFFER VIOLATION SOURCE SUMMARY ---------------------------------------------------------------------------------------- STANDARD CATEGORY SNIFF COUNT ---------------------------------------------------------------------------------------- Ecg PHP Private class member private class member error 42 Ecg Security Forbidden function found 20 Generic Code analysis Unused function parameter found 14 Ecg Security Language construct exit usage 7 Generic PHP No silenced errors discouraged 6 Ecg Performance Get first item found 5 Ecg Performance Loop array size 3 Squiz Functions Global function found 2 Ecg Sql Slow query slow sql 2 Ecg Classes Object instantiation direct instantiation 2 Squiz Scope Method scope missing 1 Generic Metrics Cyclomatic complexity too high 1 Generic Metrics Cyclomatic complexity max exceeded 1 Generic Code analysis Useless overriding method found 1 Generic Code analysis For loop with test function call not allowed 1 Ecg Security Include file include file detected 1 Ecg Security Acl missing acl method 1 Ecg Performance Loop model LSD 1 ---------------------------------------------------------------------------------------- A TOTAL OF 111 SNIFF VIOLATIONS WERE FOUND IN 18 SOURCES ---------------------------------------------------------------------------------------- Time: 5.98 secs; Memory: 6.75Mb