Question about Code Style
| From: | Jesús Espino | Date: | Mon, 16 Aug 2010 19:58:50 +0000 |
| Subject: | Question about Code Style | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-53672@lists.php.net to get a copy of this message | ||
Hi:
I have a problem to remove some (1137) Warnings of PHPCS on PHP_Shell package.
I have a file with prototypes of functions, builded like the example:
protected $prototype = array (
'XMLReader::close' => array (
'return' => 'boolean',
'params' => '',
'description' => 'Closes xmlreader - current frees
resources until xmlTextReaderClose is fixed in libxml',
),
'XMLReader::getAttribute' => array (
'return' => 'string',
'params' => 'string name',
'description' => 'Get value of an attribute from current
element',
),
...
);
The problem is the description field, i can't wrap to 80 characters
without changing the meaning.
I can't concatenate in various strings in various lines because is a
dictionary and not accept the "." operator.
Any eficient porpose?? Must be eficient, because the file is included
in the main Class and is really big (588K).
Greetings.