| Q | A
| ---------------- | -----
| Bug report? | no
| Feature request? | yes
| Library version | 1.3.1
It would be nice if the Insight class would be output along with the issues as to know exactly which insight is evaluating to an error (and make it easier to add it to the exceptions in the config file).
Example:
Improve this:
• [Code] No setter:
src/ValueObject.php:63: Setters are not allowed. Use constructor injection and behavior naming instead, e.g. changeName() instead of setName().
Like this:
• [Code] No setter:
Insight: ObjectCalisthenics\Sniffs\NamingConventions\NoSetterSniff
src/ValueObject.php:63: Setters are not allowed. Use constructor injection and behavior naming instead, e.g. changeName() instead of setName().