php_testability icon indicating copy to clipboard operation
php_testability copied to clipboard

Analyses and reports testability issues of a php codebase

Results 37 php_testability issues
Sort by recently updated
recently updated
newest added

For directory listings

enhancement
trivial

something like `--disable-default-exclude`

enhancement
trivial
minor

- Use different method separators ("::" for static, "->" for non static) - Display full argument list

enhancement
trivial

Is it necessary? ``` namespace Whatever { ... } ```

enhancement

Look at phpspec for inspiration

enhancement

Refactor the Dictionary class: - Remove the current full list minus blacklist method - Create a whitelist

trivial
Refactoring

These: ``` $externalObj->subObject->method(); $a = $externalObj->anotherObj->someproperty; ``` Violate the Law of Demeter. But this: ``` $query->select('*')->from('table')->where('1=1'); ``` Does not (methods instead of properties) Also this: ``` $this->internalObj->getSomething(); ``` Because it...

enhancement

in the wiki

enhancement
trivial
minor

Factories should not report `new` instances. (But maybe should complain about other behaviours (conditionals and statements)) So add support for an annotation that marks a class as a factory (@Factory).

enhancement
blocked