Error handling for phpDocumentor
phpDocumentor :: automatic documentation generator
PHP versions 4 and 5
Copyright (c) 2001-2008 Gregory Beaver
LICENSE:
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Class | Description |
---|---|
RecordWarning | encapsulates warning information |
RecordError | encapsulates error information |
ErrorTracker | contains all the errors/warnings |
warning triggered when the arguments to @access are neither public nor private
warning triggered by an unterminated entity in a tutorial
warning triggered if someone brilliant tries "class X extends X {"
warning triggered when an inline tag is found inside an xml tag name
in a package page
warning triggered when another tag is nested in <b>
(not allowed in phpDocumentor)
warning triggered when a tutorial's child in the .ini file doesn't exist in the
package and subpackage of the parent
warning triggered when classes in the same package have the same name
warning triggered when inheritance could be from more than one class
warning triggered when a getClassByPackage is called and can't find the class
warning triggered when an entire page is ignored because of @access private
warning triggered when a converter is passed to
phpDocumentor_IntermediateParser::addConverter() that is not a class
warning triggered when a child converter doesn't override
getFormattedClassTrees()
warning triggered when the PHP version being used has dangerous bug/behavior
warning triggered when a docblock template is never turned off
with /**#@-* / (no space)
warning triggered by a page-level docblock preceding a source element
warning triggered when the first docblock in a file with a @package tag precedes a class. In this case, the class gets the docblock.
warning triggered by improper "@uses blah"
warning triggered when a duplicate element is encountered that will be
ignored by the documentor
warning triggered by @example path/to/example with no title
warning triggered when an example's path from @example /path/to/example.php
is not found
warning triggered by a function with no name
function ($params) { }triggers this error
warning triggered when there are multiple @name tags in a docblock
warning triggered when an id attribute in a tutorial docbook tag is not
an {@id} inline tag
warning triggered when an @ignore tag is used in a DocBlock preceding
a method, variable, include, or global variable
warning triggered when the package or subpackage name is illegal
warning triggered when inheritance could be from more than one class
warning triggered by {@inheritdoc} in a non-inheritable situation
warning triggered when an example's path from @example /path/to/example.php
is not found
warning triggered when an {@internal}} tag is not closed
warning triggered if a command line option does not have a valid value passed in
warning triggered when the a loop recursion tripwire has been tripped
warning triggered when there are multiple @name tags in a docblock
warning triggered by an empty tag
warning triggered when any of {@property}}, {@property-read}},
{@property-write}}, or {@method}} tag does not have name
warning triggered when there are multiple @access tags in a docblock
warning triggered by more than 1 @category tag
warning triggered when there are multiple @name tags in a docblock
warning triggered when there are multiple @name tags in a docblock
warning triggered when there are multiple @package tags in a docblock
warning triggered when inheritance could be from more than one class
warning triggered when there are multiple @return tags in a docblock
warning triggered when there are multiple @subpackage tags in a docblock
warning triggered when there are multiple @var tags in a docblock
warning triggered when the alias value in an page-level docblock's @name tag
is the same value as the target filename is it supposed to alias
warning triggered when an entire page is ignored because of @access private
warning triggered when {@internal}} is nested inside another {@internal}}
warning triggered when @todo is used on an include element
warning triggered when a converter is passed to
phpDocumentor_IntermediateParser::addConverter() that is not a class
warning triggered when an example's path from @example /path/to/example.php
is not found
warning triggered in tutorial parsing if there is a missing {@id} inline tag
warning triggered when no @package tag is used in a page-level
or class-level DocBlock
warning triggered when a file does not contain a page-level docblock
warning triggered when there a @package tag is used in a function,
define, method, var or include
warning triggered when there a @subpackage tag is used in a function,
define, method, var or include
warning triggered when a package is already associated with a category, and
a new association is found
warning triggered when there are multiple @name tags in a docblock
warning triggered when parent class doesn't exist
warning triggered when an entire page is ignored because of @access private
warning triggered when a <pdffunction:funcname /> tag is used in the PDF
Converter and no funcname is present (<pdffunction: />)
warning triggered when a <pdffunction:funcname /> tag is used in the PDF
Converter and funcname is not a Cezpdf method
warning triggered when a <pdffunction:funcname arg=$tempvar/> tag
is used in the PDF Converter and "tempvar" is not set from the return of a previous pdffunction tag
warning triggered when no @access private tag is used in a
global variable/method/var with _ as first char in name and --pear was specified
warning triggered by sourcecode="on", if PHP < 4.3.0
warning triggered when a { @source } inline tag is used in a docblock not
preceding a function
warning triggered when an {@source} tag is found in a short description
warning triggered by @filesource, if PHP < 4.3.0
warning triggered by non-existent template directory
warning triggered when text in a docblock list is not contained in
an <li> opening tag
warning triggered when a tutorial lists itself as a child tutorial
warning triggered when a tutorial's child lists the parent tutorial
as a child tutorial
warning triggered when a tutorial is referenced
via @tutorial/{ @tutorial} and is not found
warning triggered when a subsection's title is asked for, but the subsection
is not found
warning triggered if <ul> is nested inside <ul> and not <li>
warning triggered when a DocBlock html tag is unclosed
warning triggered when a class or method hasn't got docblock
warning triggered when an entire page is ignored because of @access private
warning triggered when classes in the same package have the same name
warning triggered when a docblock has an unmatched <ol> or <ul>
warning triggered when a docbook tag is not properly matched
warning triggered when a subsection's title is asked for, but the subsection
is not found
warning triggered by an unterminated entity in a tutorial
warning triggered when an {@inline tag} is not terminated
(no } before the * / ending the comment)
Error messages for phpDocumentor parser errors
Error messages for phpDocumentor parser warnings
add an Error
like addError() but exits parsing
add a Warning
Documentation generated on Mon, 05 Dec 2011 20:58:13 -0600 by phpDocumentor 1.4.4