phpat
phpat copied to clipboard
PHP Architecture Tester - Easy architecture testing for PHP :heavy_check_mark:
**Enhancement description** While defining my rules, I need to define some fine grained rules such as: * If class implements interface X, I want it to use trait `A or...
Right now only classes defined by PSR-0 or PSR-4 are extracted from composer.json We should also extract the ones defined by 'files' ``` "autoload": { "files": [ "src/SomeClass.php", "src/functions.php" ],...
**Enhancement description** This is loosely based on #142 and #140, expands on it after several days of real-world usage, and actual refactoring based on this tool's output. In no particular...
**Enhancement description** In case of errors being found while running, output also the number of errors, not only the fact that it errored. This is invaluable to see whether the...
**Enhancement description** It would be great to have the option of checking if a class has some dependency/inheritance/mixin/composition not only by itself but coming from a parent. **Suggested approach or...
**Enhancement description** My code is structured in such a way that the top level namespaces do not depend on each other, except for some strictly defined exceptions, e.g. assuming I...
**Enhancement description** At the moment, every assertion requires specifying another selector for a relation. There are no assertions which can assert a certain characteristic of the selected classes. For example,...
**Enhancement description** `phpat` provides assertion on dependencies which is very useful for ensuring loose coupling between different layers or domains in a project. I think would be useful to have...
**Enhancement description** It would be really useful if you can point `phpat` to certain classes like entities, repositories etc. when using Doctrine or another data mapper. It's usually easy with...