Open agallou opened 8 years ago
@agallou I would say that each extension should expose its own stubs. I'll try to build one for an extension to see how we could make this.
Proposal :
Example : https://gist.github.com/agallou/1bde12b1f3bea9894b0a
This means we have to maintain a list of extensions in the asserters.php file of the stubs projets (it won't cause any problem if the trait does not exists). I'm not a fan of this but haven't found another way to do this.
+1 for me
well let's see atoum/atoum#753
Some extensions add new asserters.
Do you know how we could also add autocomplete on this asserters ?
(adding another atoum class causes problems for the autocompletion).
( plus, if we found there could be packaging questions, where do we put the stub ?