Originally created by: kbcm...@gmail.com
The sample configuration shows this:
<!-- Tests that every function and class is immediately preceded by a docblock. A property "excludePrivateMembers" can be set if you want to disable docblocks for private member functions. -->
<test name="docBlocks">
<property name="excludePrivateMembers" value="true"/>
<property name="testReturn" value="true"/>
<property name="testParam" value="true"/>
<property name="testThrow" value="true"/>
</test>
I was expecting to be able to add <exception name="__toString"> to tell it that a docBlock is not required for functions with this name (since it's already pretty self-evident). If it's really that self-evident, maybe a docBlock shouldn't be required.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tch...@hotmail.com
(No comment was entered for this change.)
Status: Accepted
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tch...@hotmail.com
OK, added a test for exception.
Just, the config should be something like ("name" would have been easier to read but "value" is already used somewhere else) :
<exception value="__toString">
Status: Fixed