cvs: phpdoc /scripts/docgen docgen.php
| From: | Philip Olson | Date: | Wed, 31 Dec 2008 02:28:24 +0000 |
| Subject: | cvs: phpdoc /scripts/docgen docgen.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2875@lists.php.net to get a copy of this message | ||
philip Wed Dec 31 02:28:24 2008 UTC
Modified files:
/phpdoc/scripts/docgen docgen.php
Log:
grammar and typo
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/docgen/docgen.php?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/scripts/docgen/docgen.php
diff -u phpdoc/scripts/docgen/docgen.php:1.11 phpdoc/scripts/docgen/docgen.php:1.12
--- phpdoc/scripts/docgen/docgen.php:1.11 Fri Dec 5 13:24:01 2008
+++ phpdoc/scripts/docgen/docgen.php Wed Dec 31 02:28:24 2008
@@ -16,11 +16,11 @@
| Authors: Felipe Pena <felipe@php.net> |
+----------------------------------------------------------------------+
- $Id: docgen.php,v 1.11 2008/12/05 13:24:01 vrana Exp $
+ $Id: docgen.php,v 1.12 2008/12/31 02:28:24 philip Exp $
*/
if (!(extension_loaded('reflection') & extension_loaded('pcre'))) {
- die("To run this script is necessary the Reflection and PCRE extensions\n");
+ die("ERROR: Docgen requires the Reflection and PCRE extensions.\n");
}
/* Constants */
@@ -665,7 +665,7 @@
if ($extname = get_extension_name((string) $function)) {
$INFO['actual_extension'] = $extname;
} else {
- add_warning("The function {$name} has not information in Reflection about their
extension");
+ add_warning("The function {$name} lacks Reflection information");
}
}
@@ -681,7 +681,7 @@
if ($extname = get_extension_name((string) $class)) {
$INFO['actual_extension'] = $extname;
} else {
- add_warning("The class {$name} has not information in Reflection about their
extension");
+ add_warning("The method {$name} lacks Reflection information");
}
}
@@ -704,7 +704,7 @@
if ($extname = get_extension_name((string) $class)) {
$INFO['actual_extension'] = $extname;
} else {
- add_warning("The class {$name} has not information in Reflection about their
extension");
+ add_warning("The class {$name} lacks Reflection information");
}
}
write_doc($class, DOC_CLASS);
@@ -756,7 +756,7 @@
switch ($opt) {
case 'v':
case 'version':
- printf("%s\n", '$Revision: 1.11 $');
+ printf("%s\n", '$Revision: 1.12 $');
break;
case 'V':
case 'verbose':