$ ./phanalist --src /tmp/php_demo/src --output-format text
[E0002] Empty catch block detected in user::processData
[E0005] Class name 'user' should be capitalized
[E0007] Method 'processData' has 6 parameters (max: 5)
[E0013] Private method 'unusedMethod' is never used

Total violations: 4