Re: Re: PHP_CodeSniffer warning suggestion for phpdoc @version tag
| From: | Greg Sherwood | Date: | Mon, 26 Nov 2007 22:05:46 +0000 |
| Subject: | Re: Re: PHP_CodeSniffer warning suggestion for phpdoc @version tag | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48613@lists.php.net to get a copy of this message | ||
Carsten Wiedmann wrote:
Two additional questions. a) What's about the @license tag? Currently I use:| * @license http://www.freebsd.org/copyright/freebsd-license.html \| FreeBSD License That's exactly 85 chars. But in the manual [1] I'm adviced to use:| * @license http://www.freebsd.org/copyright/freebsd-license.html \| BSD License (2 Clause) Now I have 92 chars. I'll ignore that tag as well.
b) Between the lincense URI and the license name, how many spaces are allowed/necessary? In the manual [1] the examples have 2 spaces. But 1 space seems also ok with phpcs. PHP_CodeSniffer doesn't check that. It just makes sure you have both a licence name and a URL. It doesn't check what they are or how many spaces are between.Greg