diff --git a/bootstrap/backends.php b/bootstrap/backends.php index 0e7182cb..d9d32bb9 100644 --- a/bootstrap/backends.php +++ b/bootstrap/backends.php @@ -35,17 +35,9 @@ * @license BSD License */ namespace TheSeer\phpDox { - /** - * @var BootstrapApi $phpDox - */ - // nikic's PHPParser - if (!class_exists('PhpParser\Autoloader', true)) { - require __DIR__ . '/../vendor/nikic/php-parser/lib/bootstrap.php'; - } + /** @var BootstrapApi $phpDox */ - if (class_exists('PhpParser\Autoloader', false)) { - $phpDox->registerBackend('parser', 'PHP Parser'); - } + $phpDox->registerBackend('parser', 'PHP Parser'); } diff --git a/build.xml b/build.xml index b4e70839..26740176 100644 --- a/build.xml +++ b/build.xml @@ -18,9 +18,16 @@ - + + + + + + + + @@ -184,7 +191,7 @@ - + diff --git a/build/phpab/vendor.tpl b/build/phpab/vendor.tpl new file mode 100644 index 00000000..a394a5e7 --- /dev/null +++ b/build/phpab/vendor.tpl @@ -0,0 +1,20 @@ +getCLI()->run( new TheSeer\phpDox\CLIOptions($_SERVER['argv']) ); diff --git a/src/CLI.php b/src/CLI.php index e328f175..3344688f 100644 --- a/src/CLI.php +++ b/src/CLI.php @@ -245,23 +245,17 @@ private function preBootstrap() { xdebug_disable(); } - try { - date_default_timezone_set(date_default_timezone_get()); - } catch (\ErrorException $e) { - date_default_timezone_set('UTC'); - throw new CLIEnvironmentException( - "No default date.timezone configured in php.ini.", - CLIEnvironmentException::DateTimeZoneMissing, - $e - ); + if (!ini_get('date.timezone')) { + ini_set('date.timezone', 'UTC'); } + } } class CLIEnvironmentException extends \Exception { const ExtensionMissing = 1; - const DateTimeZoneMissing = 2; + const VendorMissing = 2; } } diff --git a/src/autoload.php b/src/autoload.php index a0825e59..19557c86 100644 --- a/src/autoload.php +++ b/src/autoload.php @@ -7,29 +7,6 @@ function($class) { static $classes = null; if ($classes === null) { $classes = array( - 'php_timer' => '/../vendor/phpunit/php-timer/PHP/Timer.php', - 'theseer\\directoryscanner\\directoryscanner' => '/../vendor/theseer/directoryscanner/src/directoryscanner.php', - 'theseer\\directoryscanner\\exception' => '/../vendor/theseer/directoryscanner/src/directoryscanner.php', - 'theseer\\directoryscanner\\filesonlyfilteriterator' => '/../vendor/theseer/directoryscanner/src/filesonlyfilter.php', - 'theseer\\directoryscanner\\includeexcludefilteriterator' => '/../vendor/theseer/directoryscanner/src/includeexcludefilter.php', - 'theseer\\directoryscanner\\phpfilteriterator' => '/../vendor/theseer/directoryscanner/src/phpfilter.php', - 'theseer\\fdom\\css\\dollarequalrule' => '/../vendor/theseer/fdomdocument/src/css/DollarEqualRule.php', - 'theseer\\fdom\\css\\notrule' => '/../vendor/theseer/fdomdocument/src/css/NotRule.php', - 'theseer\\fdom\\css\\nthchildrule' => '/../vendor/theseer/fdomdocument/src/css/NthChildRule.php', - 'theseer\\fdom\\css\\regexrule' => '/../vendor/theseer/fdomdocument/src/css/RegexRule.php', - 'theseer\\fdom\\css\\ruleinterface' => '/../vendor/theseer/fdomdocument/src/css/RuleInterface.php', - 'theseer\\fdom\\css\\translator' => '/../vendor/theseer/fdomdocument/src/css/Translator.php', - 'theseer\\fdom\\fdomdocument' => '/../vendor/theseer/fdomdocument/src/fDOMDocument.php', - 'theseer\\fdom\\fdomdocumentfragment' => '/../vendor/theseer/fdomdocument/src/fDOMDocumentFragment.php', - 'theseer\\fdom\\fdomelement' => '/../vendor/theseer/fdomdocument/src/fDOMElement.php', - 'theseer\\fdom\\fdomexception' => '/../vendor/theseer/fdomdocument/src/fDOMException.php', - 'theseer\\fdom\\fdomnode' => '/../vendor/theseer/fdomdocument/src/fDOMNode.php', - 'theseer\\fdom\\fdomxpath' => '/../vendor/theseer/fdomdocument/src/fDOMXPath.php', - 'theseer\\fdom\\xpathquery' => '/../vendor/theseer/fdomdocument/src/XPathQuery.php', - 'theseer\\fdom\\xpathqueryexception' => '/../vendor/theseer/fdomdocument/src/XPathQueryException.php', - 'theseer\\fxsl\\fxslcallback' => '/../vendor/theseer/fxsl/src/fxslcallback.php', - 'theseer\\fxsl\\fxsltprocessor' => '/../vendor/theseer/fxsl/src/fxsltprocessor.php', - 'theseer\\fxsl\\fxsltprocessorexception' => '/../vendor/theseer/fxsl/src/fxsltprocessor.php', 'theseer\\phpdox\\application' => '/Application.php', 'theseer\\phpdox\\applicationexception' => '/Application.php', 'theseer\\phpdox\\backendbootstrapapi' => '/bootstrap/BackendBootstrapApi.php', diff --git a/src/vendor.php b/src/vendor.php new file mode 100644 index 00000000..14450dca --- /dev/null +++ b/src/vendor.php @@ -0,0 +1,221 @@ + '/phpunit/php-timer/PHP/Timer.php', + 'phpparser\\autoloader' => '/nikic/php-parser/lib/PhpParser/Autoloader.php', + 'phpparser\\builder' => '/nikic/php-parser/lib/PhpParser/Builder.php', + 'phpparser\\builder\\class_' => '/nikic/php-parser/lib/PhpParser/Builder/Class_.php', + 'phpparser\\builder\\function_' => '/nikic/php-parser/lib/PhpParser/Builder/Function_.php', + 'phpparser\\builder\\interface_' => '/nikic/php-parser/lib/PhpParser/Builder/Interface_.php', + 'phpparser\\builder\\method' => '/nikic/php-parser/lib/PhpParser/Builder/Method.php', + 'phpparser\\builder\\param' => '/nikic/php-parser/lib/PhpParser/Builder/Param.php', + 'phpparser\\builder\\property' => '/nikic/php-parser/lib/PhpParser/Builder/Property.php', + 'phpparser\\builderabstract' => '/nikic/php-parser/lib/PhpParser/BuilderAbstract.php', + 'phpparser\\builderfactory' => '/nikic/php-parser/lib/PhpParser/BuilderFactory.php', + 'phpparser\\comment' => '/nikic/php-parser/lib/PhpParser/Comment.php', + 'phpparser\\comment\\doc' => '/nikic/php-parser/lib/PhpParser/Comment/Doc.php', + 'phpparser\\error' => '/nikic/php-parser/lib/PhpParser/Error.php', + 'phpparser\\lexer' => '/nikic/php-parser/lib/PhpParser/Lexer.php', + 'phpparser\\lexer\\emulative' => '/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php', + 'phpparser\\node' => '/nikic/php-parser/lib/PhpParser/Node.php', + 'phpparser\\node\\arg' => '/nikic/php-parser/lib/PhpParser/Node/Arg.php', + 'phpparser\\node\\const_' => '/nikic/php-parser/lib/PhpParser/Node/Const_.php', + 'phpparser\\node\\expr' => '/nikic/php-parser/lib/PhpParser/Node/Expr.php', + 'phpparser\\node\\expr\\array_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Array_.php', + 'phpparser\\node\\expr\\arraydimfetch' => '/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayDimFetch.php', + 'phpparser\\node\\expr\\arrayitem' => '/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayItem.php', + 'phpparser\\node\\expr\\assign' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Assign.php', + 'phpparser\\node\\expr\\assignop' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp.php', + 'phpparser\\node\\expr\\assignop\\bitwiseand' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseAnd.php', + 'phpparser\\node\\expr\\assignop\\bitwiseor' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseOr.php', + 'phpparser\\node\\expr\\assignop\\bitwisexor' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseXor.php', + 'phpparser\\node\\expr\\assignop\\concat' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Concat.php', + 'phpparser\\node\\expr\\assignop\\div' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Div.php', + 'phpparser\\node\\expr\\assignop\\minus' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Minus.php', + 'phpparser\\node\\expr\\assignop\\mod' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mod.php', + 'phpparser\\node\\expr\\assignop\\mul' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mul.php', + 'phpparser\\node\\expr\\assignop\\plus' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Plus.php', + 'phpparser\\node\\expr\\assignop\\pow' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Pow.php', + 'phpparser\\node\\expr\\assignop\\shiftleft' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftLeft.php', + 'phpparser\\node\\expr\\assignop\\shiftright' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftRight.php', + 'phpparser\\node\\expr\\assignref' => '/nikic/php-parser/lib/PhpParser/Node/Expr/AssignRef.php', + 'phpparser\\node\\expr\\binaryop' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp.php', + 'phpparser\\node\\expr\\binaryop\\bitwiseand' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseAnd.php', + 'phpparser\\node\\expr\\binaryop\\bitwiseor' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseOr.php', + 'phpparser\\node\\expr\\binaryop\\bitwisexor' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseXor.php', + 'phpparser\\node\\expr\\binaryop\\booleanand' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanAnd.php', + 'phpparser\\node\\expr\\binaryop\\booleanor' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanOr.php', + 'phpparser\\node\\expr\\binaryop\\concat' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Concat.php', + 'phpparser\\node\\expr\\binaryop\\div' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Div.php', + 'phpparser\\node\\expr\\binaryop\\equal' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Equal.php', + 'phpparser\\node\\expr\\binaryop\\greater' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Greater.php', + 'phpparser\\node\\expr\\binaryop\\greaterorequal' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/GreaterOrEqual.php', + 'phpparser\\node\\expr\\binaryop\\identical' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Identical.php', + 'phpparser\\node\\expr\\binaryop\\logicaland' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalAnd.php', + 'phpparser\\node\\expr\\binaryop\\logicalor' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalOr.php', + 'phpparser\\node\\expr\\binaryop\\logicalxor' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalXor.php', + 'phpparser\\node\\expr\\binaryop\\minus' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Minus.php', + 'phpparser\\node\\expr\\binaryop\\mod' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mod.php', + 'phpparser\\node\\expr\\binaryop\\mul' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mul.php', + 'phpparser\\node\\expr\\binaryop\\notequal' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotEqual.php', + 'phpparser\\node\\expr\\binaryop\\notidentical' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotIdentical.php', + 'phpparser\\node\\expr\\binaryop\\plus' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Plus.php', + 'phpparser\\node\\expr\\binaryop\\pow' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Pow.php', + 'phpparser\\node\\expr\\binaryop\\shiftleft' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftLeft.php', + 'phpparser\\node\\expr\\binaryop\\shiftright' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftRight.php', + 'phpparser\\node\\expr\\binaryop\\smaller' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Smaller.php', + 'phpparser\\node\\expr\\binaryop\\smallerorequal' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/SmallerOrEqual.php', + 'phpparser\\node\\expr\\bitwisenot' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BitwiseNot.php', + 'phpparser\\node\\expr\\booleannot' => '/nikic/php-parser/lib/PhpParser/Node/Expr/BooleanNot.php', + 'phpparser\\node\\expr\\cast' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast.php', + 'phpparser\\node\\expr\\cast\\array_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Array_.php', + 'phpparser\\node\\expr\\cast\\bool' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Bool.php', + 'phpparser\\node\\expr\\cast\\double' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Double.php', + 'phpparser\\node\\expr\\cast\\int' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Int.php', + 'phpparser\\node\\expr\\cast\\object' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Object.php', + 'phpparser\\node\\expr\\cast\\string' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/String.php', + 'phpparser\\node\\expr\\cast\\unset_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Unset_.php', + 'phpparser\\node\\expr\\classconstfetch' => '/nikic/php-parser/lib/PhpParser/Node/Expr/ClassConstFetch.php', + 'phpparser\\node\\expr\\clone_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Clone_.php', + 'phpparser\\node\\expr\\closure' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Closure.php', + 'phpparser\\node\\expr\\closureuse' => '/nikic/php-parser/lib/PhpParser/Node/Expr/ClosureUse.php', + 'phpparser\\node\\expr\\constfetch' => '/nikic/php-parser/lib/PhpParser/Node/Expr/ConstFetch.php', + 'phpparser\\node\\expr\\empty_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Empty_.php', + 'phpparser\\node\\expr\\errorsuppress' => '/nikic/php-parser/lib/PhpParser/Node/Expr/ErrorSuppress.php', + 'phpparser\\node\\expr\\eval_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Eval_.php', + 'phpparser\\node\\expr\\exit_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Exit_.php', + 'phpparser\\node\\expr\\funccall' => '/nikic/php-parser/lib/PhpParser/Node/Expr/FuncCall.php', + 'phpparser\\node\\expr\\include_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php', + 'phpparser\\node\\expr\\instanceof_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Instanceof_.php', + 'phpparser\\node\\expr\\isset_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Isset_.php', + 'phpparser\\node\\expr\\list_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/List_.php', + 'phpparser\\node\\expr\\methodcall' => '/nikic/php-parser/lib/PhpParser/Node/Expr/MethodCall.php', + 'phpparser\\node\\expr\\new_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/New_.php', + 'phpparser\\node\\expr\\postdec' => '/nikic/php-parser/lib/PhpParser/Node/Expr/PostDec.php', + 'phpparser\\node\\expr\\postinc' => '/nikic/php-parser/lib/PhpParser/Node/Expr/PostInc.php', + 'phpparser\\node\\expr\\predec' => '/nikic/php-parser/lib/PhpParser/Node/Expr/PreDec.php', + 'phpparser\\node\\expr\\preinc' => '/nikic/php-parser/lib/PhpParser/Node/Expr/PreInc.php', + 'phpparser\\node\\expr\\print_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Print_.php', + 'phpparser\\node\\expr\\propertyfetch' => '/nikic/php-parser/lib/PhpParser/Node/Expr/PropertyFetch.php', + 'phpparser\\node\\expr\\shellexec' => '/nikic/php-parser/lib/PhpParser/Node/Expr/ShellExec.php', + 'phpparser\\node\\expr\\staticcall' => '/nikic/php-parser/lib/PhpParser/Node/Expr/StaticCall.php', + 'phpparser\\node\\expr\\staticpropertyfetch' => '/nikic/php-parser/lib/PhpParser/Node/Expr/StaticPropertyFetch.php', + 'phpparser\\node\\expr\\ternary' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Ternary.php', + 'phpparser\\node\\expr\\unaryminus' => '/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryMinus.php', + 'phpparser\\node\\expr\\unaryplus' => '/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryPlus.php', + 'phpparser\\node\\expr\\variable' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php', + 'phpparser\\node\\expr\\yield_' => '/nikic/php-parser/lib/PhpParser/Node/Expr/Yield_.php', + 'phpparser\\node\\name' => '/nikic/php-parser/lib/PhpParser/Node/Name.php', + 'phpparser\\node\\name\\fullyqualified' => '/nikic/php-parser/lib/PhpParser/Node/Name/FullyQualified.php', + 'phpparser\\node\\name\\relative' => '/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php', + 'phpparser\\node\\param' => '/nikic/php-parser/lib/PhpParser/Node/Param.php', + 'phpparser\\node\\scalar' => '/nikic/php-parser/lib/PhpParser/Node/Scalar.php', + 'phpparser\\node\\scalar\\dnumber' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/DNumber.php', + 'phpparser\\node\\scalar\\encapsed' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/Encapsed.php', + 'phpparser\\node\\scalar\\lnumber' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/LNumber.php', + 'phpparser\\node\\scalar\\magicconst' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst.php', + 'phpparser\\node\\scalar\\magicconst\\class_' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Class_.php', + 'phpparser\\node\\scalar\\magicconst\\dir' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Dir.php', + 'phpparser\\node\\scalar\\magicconst\\file' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/File.php', + 'phpparser\\node\\scalar\\magicconst\\function_' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Function_.php', + 'phpparser\\node\\scalar\\magicconst\\line' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Line.php', + 'phpparser\\node\\scalar\\magicconst\\method' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Method.php', + 'phpparser\\node\\scalar\\magicconst\\namespace_' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Namespace_.php', + 'phpparser\\node\\scalar\\magicconst\\trait_' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Trait_.php', + 'phpparser\\node\\scalar\\string' => '/nikic/php-parser/lib/PhpParser/Node/Scalar/String.php', + 'phpparser\\node\\stmt' => '/nikic/php-parser/lib/PhpParser/Node/Stmt.php', + 'phpparser\\node\\stmt\\break_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Break_.php', + 'phpparser\\node\\stmt\\case_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Case_.php', + 'phpparser\\node\\stmt\\catch_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Catch_.php', + 'phpparser\\node\\stmt\\class_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php', + 'phpparser\\node\\stmt\\classconst' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassConst.php', + 'phpparser\\node\\stmt\\classmethod' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassMethod.php', + 'phpparser\\node\\stmt\\const_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Const_.php', + 'phpparser\\node\\stmt\\continue_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Continue_.php', + 'phpparser\\node\\stmt\\declare_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Declare_.php', + 'phpparser\\node\\stmt\\declaredeclare' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/DeclareDeclare.php', + 'phpparser\\node\\stmt\\do_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Do_.php', + 'phpparser\\node\\stmt\\echo_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Echo_.php', + 'phpparser\\node\\stmt\\else_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Else_.php', + 'phpparser\\node\\stmt\\elseif_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/ElseIf_.php', + 'phpparser\\node\\stmt\\for_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/For_.php', + 'phpparser\\node\\stmt\\foreach_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Foreach_.php', + 'phpparser\\node\\stmt\\function_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Function_.php', + 'phpparser\\node\\stmt\\global_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Global_.php', + 'phpparser\\node\\stmt\\goto_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Goto_.php', + 'phpparser\\node\\stmt\\haltcompiler' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php', + 'phpparser\\node\\stmt\\if_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/If_.php', + 'phpparser\\node\\stmt\\inlinehtml' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/InlineHTML.php', + 'phpparser\\node\\stmt\\interface_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Interface_.php', + 'phpparser\\node\\stmt\\label' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Label.php', + 'phpparser\\node\\stmt\\namespace_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Namespace_.php', + 'phpparser\\node\\stmt\\property' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php', + 'phpparser\\node\\stmt\\propertyproperty' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/PropertyProperty.php', + 'phpparser\\node\\stmt\\return_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Return_.php', + 'phpparser\\node\\stmt\\static_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Static_.php', + 'phpparser\\node\\stmt\\staticvar' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/StaticVar.php', + 'phpparser\\node\\stmt\\switch_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Switch_.php', + 'phpparser\\node\\stmt\\throw_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Throw_.php', + 'phpparser\\node\\stmt\\trait_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Trait_.php', + 'phpparser\\node\\stmt\\traituse' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUse.php', + 'phpparser\\node\\stmt\\traituseadaptation' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation.php', + 'phpparser\\node\\stmt\\traituseadaptation\\alias' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php', + 'phpparser\\node\\stmt\\traituseadaptation\\precedence' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php', + 'phpparser\\node\\stmt\\trycatch' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/TryCatch.php', + 'phpparser\\node\\stmt\\unset_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Unset_.php', + 'phpparser\\node\\stmt\\use_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/Use_.php', + 'phpparser\\node\\stmt\\useuse' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/UseUse.php', + 'phpparser\\node\\stmt\\while_' => '/nikic/php-parser/lib/PhpParser/Node/Stmt/While_.php', + 'phpparser\\nodeabstract' => '/nikic/php-parser/lib/PhpParser/NodeAbstract.php', + 'phpparser\\nodedumper' => '/nikic/php-parser/lib/PhpParser/NodeDumper.php', + 'phpparser\\nodetraverser' => '/nikic/php-parser/lib/PhpParser/NodeTraverser.php', + 'phpparser\\nodetraverserinterface' => '/nikic/php-parser/lib/PhpParser/NodeTraverserInterface.php', + 'phpparser\\nodevisitor' => '/nikic/php-parser/lib/PhpParser/NodeVisitor.php', + 'phpparser\\nodevisitor\\nameresolver' => '/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php', + 'phpparser\\nodevisitorabstract' => '/nikic/php-parser/lib/PhpParser/NodeVisitorAbstract.php', + 'phpparser\\parser' => '/nikic/php-parser/lib/PhpParser/Parser.php', + 'phpparser\\parserabstract' => '/nikic/php-parser/lib/PhpParser/ParserAbstract.php', + 'phpparser\\prettyprinter\\standard' => '/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php', + 'phpparser\\prettyprinterabstract' => '/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php', + 'phpparser\\serializer' => '/nikic/php-parser/lib/PhpParser/Serializer.php', + 'phpparser\\serializer\\xml' => '/nikic/php-parser/lib/PhpParser/Serializer/XML.php', + 'phpparser\\unserializer' => '/nikic/php-parser/lib/PhpParser/Unserializer.php', + 'phpparser\\unserializer\\xml' => '/nikic/php-parser/lib/PhpParser/Unserializer/XML.php', + 'theseer\\directoryscanner\\directoryscanner' => '/theseer/directoryscanner/src/directoryscanner.php', + 'theseer\\directoryscanner\\exception' => '/theseer/directoryscanner/src/directoryscanner.php', + 'theseer\\directoryscanner\\filesonlyfilteriterator' => '/theseer/directoryscanner/src/filesonlyfilter.php', + 'theseer\\directoryscanner\\includeexcludefilteriterator' => '/theseer/directoryscanner/src/includeexcludefilter.php', + 'theseer\\directoryscanner\\phpfilteriterator' => '/theseer/directoryscanner/src/phpfilter.php', + 'theseer\\fdom\\css\\dollarequalrule' => '/theseer/fdomdocument/src/css/DollarEqualRule.php', + 'theseer\\fdom\\css\\notrule' => '/theseer/fdomdocument/src/css/NotRule.php', + 'theseer\\fdom\\css\\nthchildrule' => '/theseer/fdomdocument/src/css/NthChildRule.php', + 'theseer\\fdom\\css\\regexrule' => '/theseer/fdomdocument/src/css/RegexRule.php', + 'theseer\\fdom\\css\\ruleinterface' => '/theseer/fdomdocument/src/css/RuleInterface.php', + 'theseer\\fdom\\css\\translator' => '/theseer/fdomdocument/src/css/Translator.php', + 'theseer\\fdom\\fdomdocument' => '/theseer/fdomdocument/src/fDOMDocument.php', + 'theseer\\fdom\\fdomdocumentfragment' => '/theseer/fdomdocument/src/fDOMDocumentFragment.php', + 'theseer\\fdom\\fdomelement' => '/theseer/fdomdocument/src/fDOMElement.php', + 'theseer\\fdom\\fdomexception' => '/theseer/fdomdocument/src/fDOMException.php', + 'theseer\\fdom\\fdomnode' => '/theseer/fdomdocument/src/fDOMNode.php', + 'theseer\\fdom\\fdomxpath' => '/theseer/fdomdocument/src/fDOMXPath.php', + 'theseer\\fdom\\xpathquery' => '/theseer/fdomdocument/src/XPathQuery.php', + 'theseer\\fdom\\xpathqueryexception' => '/theseer/fdomdocument/src/XPathQueryException.php', + 'theseer\\fxsl\\fxslcallback' => '/theseer/fxsl/src/fxslcallback.php', + 'theseer\\fxsl\\fxsltprocessor' => '/theseer/fxsl/src/fxsltprocessor.php', + 'theseer\\fxsl\\fxsltprocessorexception' => '/theseer/fxsl/src/fxsltprocessor.php' + ); + } + $cn = strtolower($class); + if (isset($classes[$cn])) { + require $vendor . '/' . $classes[$cn]; + } + } +); +// @codeCoverageIgnoreEnd +