phpca icon indicating copy to clipboard operation
phpca copied to clipboard

Experimental static code analyzer for PHP

Results 5 phpca issues
Sort by recently updated
recently updated
newest added

Wanting to use your lib and it would be much easier if the namespacing was all sorted and could just include it via composer.

Hi there! This is WhitespaceBot. I'm an [open-source](https://github.com/Gunio/LightWrite) robot that removes trailing white space in your code, and gives you a gitignore file if you didn't have one! Why whitespace?...

It's unclear if this is the intended behavior or not but the rule requires anonymous functions to have docblocks. One could argue that anonymous functions have to be treated documentation...

`MethodsMustHaveVisibilityOperatorRule` does not ignore anonymous functions defined within methods and requires those to have a visibility operator, too. class Xy { public function test() { function() {}; } }

When trying to to invoke the `phpca` command like this `phpca [...] --standard /path/to/other/standard.ini [...]`, the standard is not recognized because the wrong part of the path is checked for...