├── application ├── tests │ ├── hooks │ │ └── .gitkeep │ ├── models │ │ └── .gitkeep │ ├── helpers │ │ └── .gitkeep │ ├── libraries │ │ └── .gitkeep │ ├── .gitignore │ ├── _ci_phpunit_test │ │ ├── replacing │ │ │ ├── core │ │ │ │ └── old │ │ │ │ │ ├── 3.1.13-Input.php │ │ │ │ │ ├── 3.1.13-Common.php │ │ │ │ │ ├── 3.1.13-Loader.php │ │ │ │ │ ├── 3.1.13-Output.php │ │ │ │ │ └── 3.1.13-CodeIgniter.php │ │ │ ├── libraries │ │ │ │ └── old │ │ │ │ │ └── 3.1.13-Upload.php │ │ │ ├── helpers │ │ │ │ └── old │ │ │ │ │ ├── 3.1.13-url_helper.php │ │ │ │ │ └── 3.1.13-download_helper.php │ │ │ ├── make-links.sh │ │ │ └── mv-current.sh │ │ ├── alias │ │ │ ├── MonkeyPatch.php │ │ │ └── ReflectionHelper.php │ │ ├── patcher │ │ │ ├── third_party │ │ │ │ ├── PHP-Parser-2.1.1 │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── test │ │ │ │ │ │ ├── code │ │ │ │ │ │ │ ├── prettyPrinter │ │ │ │ │ │ │ │ ├── stmt │ │ │ │ │ │ │ │ │ ├── throw.test │ │ │ │ │ │ │ │ │ ├── goto.test │ │ │ │ │ │ │ │ │ ├── while.test │ │ │ │ │ │ │ │ │ ├── do_while.test │ │ │ │ │ │ │ │ │ ├── break_continue.test │ │ │ │ │ │ │ │ │ ├── if.test │ │ │ │ │ │ │ │ │ ├── const.test │ │ │ │ │ │ │ │ │ ├── global_static_variables.test │ │ │ │ │ │ │ │ │ ├── declare.test │ │ │ │ │ │ │ │ │ ├── tryCatch.test │ │ │ │ │ │ │ │ │ ├── haltCompiler.file-test │ │ │ │ │ │ │ │ │ ├── for.test │ │ │ │ │ │ │ │ │ ├── groupUse.test │ │ │ │ │ │ │ │ │ ├── alias.test │ │ │ │ │ │ │ │ │ ├── foreach.test │ │ │ │ │ │ │ │ │ ├── traitUse.test │ │ │ │ │ │ │ │ │ └── namespaces.test │ │ │ │ │ │ │ │ ├── expr │ │ │ │ │ │ │ │ │ ├── include.test │ │ │ │ │ │ │ │ │ ├── call.test │ │ │ │ │ │ │ │ │ ├── shortArraySyntax.test │ │ │ │ │ │ │ │ │ ├── constant_deref.test │ │ │ │ │ │ │ │ │ ├── numbers.test │ │ │ │ │ │ │ │ │ ├── uvs.test │ │ │ │ │ │ │ │ │ ├── list.test │ │ │ │ │ │ │ │ │ ├── intrinsics.test │ │ │ │ │ │ │ │ │ ├── closure.test │ │ │ │ │ │ │ │ │ ├── anonymousClass.test │ │ │ │ │ │ │ │ │ └── stringEscaping.test │ │ │ │ │ │ │ │ ├── onlyInlineHTML.file-test │ │ │ │ │ │ │ │ ├── onlyPHP.file-test │ │ │ │ │ │ │ │ └── inlineHTMLandPHPtest.file-test │ │ │ │ │ │ │ └── parser │ │ │ │ │ │ │ │ ├── expr │ │ │ │ │ │ │ │ ├── newWithoutClass.test │ │ │ │ │ │ │ │ ├── print.test │ │ │ │ │ │ │ │ ├── clone.test │ │ │ │ │ │ │ │ ├── errorSuppress.test │ │ │ │ │ │ │ │ ├── uvs │ │ │ │ │ │ │ │ │ └── globalNonSimpleVarError.test │ │ │ │ │ │ │ │ ├── exit.test │ │ │ │ │ │ │ │ └── fetchAndCall │ │ │ │ │ │ │ │ │ └── constFetch.test │ │ │ │ │ │ │ │ ├── stmt │ │ │ │ │ │ │ │ ├── tryWithoutCatch.test │ │ │ │ │ │ │ │ ├── haltCompilerInvalidSyntax.test │ │ │ │ │ │ │ │ ├── function │ │ │ │ │ │ │ │ │ └── variadicDefaultValue.test │ │ │ │ │ │ │ │ ├── namespace │ │ │ │ │ │ │ │ │ ├── nested.test │ │ │ │ │ │ │ │ │ ├── mix.test │ │ │ │ │ │ │ │ │ ├── nsAfterHashbang.test │ │ │ │ │ │ │ │ │ └── outsideStmtInvalid.test │ │ │ │ │ │ │ │ ├── haltCompilerOutermostScope.test │ │ │ │ │ │ │ │ ├── loop │ │ │ │ │ │ │ │ │ ├── do.test │ │ │ │ │ │ │ │ │ └── while.test │ │ │ │ │ │ │ │ ├── class │ │ │ │ │ │ │ │ │ ├── final.test │ │ │ │ │ │ │ │ │ └── conditional.test │ │ │ │ │ │ │ │ ├── inlineHTML.test │ │ │ │ │ │ │ │ ├── hashbang.test │ │ │ │ │ │ │ │ ├── unset.test │ │ │ │ │ │ │ │ └── echo.test │ │ │ │ │ │ │ │ ├── scalar │ │ │ │ │ │ │ │ ├── invalidOctal.test │ │ │ │ │ │ │ │ ├── unicodeEscape.test │ │ │ │ │ │ │ │ └── magicConst.test │ │ │ │ │ │ │ │ ├── blockComments.test │ │ │ │ │ │ │ │ └── errorHandling │ │ │ │ │ │ │ │ └── eofError.test │ │ │ │ │ │ ├── PhpParser │ │ │ │ │ │ │ ├── Parser │ │ │ │ │ │ │ │ ├── Php5Test.php │ │ │ │ │ │ │ │ └── Php7Test.php │ │ │ │ │ │ │ └── AutoloaderTest.php │ │ │ │ │ │ └── bootstrap.php │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── PhpParser │ │ │ │ │ │ │ ├── Node │ │ │ │ │ │ │ │ ├── Scalar.php │ │ │ │ │ │ │ │ ├── Expr.php │ │ │ │ │ │ │ │ ├── Stmt.php │ │ │ │ │ │ │ │ ├── Expr │ │ │ │ │ │ │ │ │ ├── Cast │ │ │ │ │ │ │ │ │ │ ├── Array_.php │ │ │ │ │ │ │ │ │ │ ├── Unset_.php │ │ │ │ │ │ │ │ │ │ ├── Int_.php │ │ │ │ │ │ │ │ │ │ ├── Bool_.php │ │ │ │ │ │ │ │ │ │ ├── Double.php │ │ │ │ │ │ │ │ │ │ ├── Object_.php │ │ │ │ │ │ │ │ │ │ └── String_.php │ │ │ │ │ │ │ │ │ ├── AssignOp │ │ │ │ │ │ │ │ │ │ ├── Div.php │ │ │ │ │ │ │ │ │ │ ├── Mod.php │ │ │ │ │ │ │ │ │ │ ├── Mul.php │ │ │ │ │ │ │ │ │ │ ├── Pow.php │ │ │ │ │ │ │ │ │ │ ├── Concat.php │ │ │ │ │ │ │ │ │ │ ├── Minus.php │ │ │ │ │ │ │ │ │ │ ├── Plus.php │ │ │ │ │ │ │ │ │ │ ├── BitwiseAnd.php │ │ │ │ │ │ │ │ │ │ ├── BitwiseOr.php │ │ │ │ │ │ │ │ │ │ ├── BitwiseXor.php │ │ │ │ │ │ │ │ │ │ ├── ShiftLeft.php │ │ │ │ │ │ │ │ │ │ └── ShiftRight.php │ │ │ │ │ │ │ │ │ ├── BinaryOp │ │ │ │ │ │ │ │ │ │ ├── Div.php │ │ │ │ │ │ │ │ │ │ ├── Mod.php │ │ │ │ │ │ │ │ │ │ ├── Mul.php │ │ │ │ │ │ │ │ │ │ ├── Pow.php │ │ │ │ │ │ │ │ │ │ ├── Concat.php │ │ │ │ │ │ │ │ │ │ ├── Equal.php │ │ │ │ │ │ │ │ │ │ ├── Minus.php │ │ │ │ │ │ │ │ │ │ ├── Plus.php │ │ │ │ │ │ │ │ │ │ ├── Greater.php │ │ │ │ │ │ │ │ │ │ ├── NotEqual.php │ │ │ │ │ │ │ │ │ │ ├── Smaller.php │ │ │ │ │ │ │ │ │ │ ├── BitwiseAnd.php │ │ │ │ │ │ │ │ │ │ ├── BitwiseOr.php │ │ │ │ │ │ │ │ │ │ ├── BitwiseXor.php │ │ │ │ │ │ │ │ │ │ ├── BooleanAnd.php │ │ │ │ │ │ │ │ │ │ ├── BooleanOr.php │ │ │ │ │ │ │ │ │ │ ├── Identical.php │ │ │ │ │ │ │ │ │ │ ├── LogicalAnd.php │ │ │ │ │ │ │ │ │ │ ├── LogicalOr.php │ │ │ │ │ │ │ │ │ │ ├── LogicalXor.php │ │ │ │ │ │ │ │ │ │ ├── ShiftLeft.php │ │ │ │ │ │ │ │ │ │ ├── ShiftRight.php │ │ │ │ │ │ │ │ │ │ ├── NotIdentical.php │ │ │ │ │ │ │ │ │ │ ├── Coalesce.php │ │ │ │ │ │ │ │ │ │ ├── GreaterOrEqual.php │ │ │ │ │ │ │ │ │ │ ├── SmallerOrEqual.php │ │ │ │ │ │ │ │ │ │ └── Spaceship.php │ │ │ │ │ │ │ │ │ ├── PreDec.php │ │ │ │ │ │ │ │ │ ├── PreInc.php │ │ │ │ │ │ │ │ │ ├── Cast.php │ │ │ │ │ │ │ │ │ ├── Clone_.php │ │ │ │ │ │ │ │ │ ├── Empty_.php │ │ │ │ │ │ │ │ │ ├── Eval_.php │ │ │ │ │ │ │ │ │ ├── Isset_.php │ │ │ │ │ │ │ │ │ ├── PostDec.php │ │ │ │ │ │ │ │ │ ├── PostInc.php │ │ │ │ │ │ │ │ │ ├── Print_.php │ │ │ │ │ │ │ │ │ ├── BitwiseNot.php │ │ │ │ │ │ │ │ │ ├── UnaryMinus.php │ │ │ │ │ │ │ │ │ ├── ErrorSuppress.php │ │ │ │ │ │ │ │ │ ├── UnaryPlus.php │ │ │ │ │ │ │ │ │ ├── Variable.php │ │ │ │ │ │ │ │ │ ├── BooleanNot.php │ │ │ │ │ │ │ │ │ ├── YieldFrom.php │ │ │ │ │ │ │ │ │ ├── ConstFetch.php │ │ │ │ │ │ │ │ │ ├── ShellExec.php │ │ │ │ │ │ │ │ │ └── List_.php │ │ │ │ │ │ │ │ ├── Scalar │ │ │ │ │ │ │ │ │ ├── MagicConst │ │ │ │ │ │ │ │ │ │ ├── Dir.php │ │ │ │ │ │ │ │ │ │ ├── File.php │ │ │ │ │ │ │ │ │ │ ├── Line.php │ │ │ │ │ │ │ │ │ │ ├── Class_.php │ │ │ │ │ │ │ │ │ │ ├── Method.php │ │ │ │ │ │ │ │ │ │ ├── Trait_.php │ │ │ │ │ │ │ │ │ │ ├── Function_.php │ │ │ │ │ │ │ │ │ │ └── Namespace_.php │ │ │ │ │ │ │ │ │ ├── Encapsed.php │ │ │ │ │ │ │ │ │ ├── MagicConst.php │ │ │ │ │ │ │ │ │ └── EncapsedStringPart.php │ │ │ │ │ │ │ │ └── Stmt │ │ │ │ │ │ │ │ │ ├── Nop.php │ │ │ │ │ │ │ │ │ ├── TraitUseAdaptation.php │ │ │ │ │ │ │ │ │ ├── Label.php │ │ │ │ │ │ │ │ │ ├── InlineHTML.php │ │ │ │ │ │ │ │ │ ├── Else_.php │ │ │ │ │ │ │ │ │ ├── Throw_.php │ │ │ │ │ │ │ │ │ ├── Goto_.php │ │ │ │ │ │ │ │ │ ├── Echo_.php │ │ │ │ │ │ │ │ │ ├── Unset_.php │ │ │ │ │ │ │ │ │ ├── Return_.php │ │ │ │ │ │ │ │ │ ├── Trait_.php │ │ │ │ │ │ │ │ │ ├── Global_.php │ │ │ │ │ │ │ │ │ ├── Static_.php │ │ │ │ │ │ │ │ │ ├── Break_.php │ │ │ │ │ │ │ │ │ ├── Const_.php │ │ │ │ │ │ │ │ │ ├── ClassConst.php │ │ │ │ │ │ │ │ │ └── Continue_.php │ │ │ │ │ │ │ ├── Comment │ │ │ │ │ │ │ │ └── Doc.php │ │ │ │ │ │ │ ├── Builder.php │ │ │ │ │ │ │ ├── Serializer.php │ │ │ │ │ │ │ ├── Unserializer.php │ │ │ │ │ │ │ ├── NodeVisitorAbstract.php │ │ │ │ │ │ │ └── Parser.php │ │ │ │ │ │ └── bootstrap.php │ │ │ │ │ ├── test_old │ │ │ │ │ │ └── run-php-src.sh │ │ │ │ │ ├── grammar │ │ │ │ │ │ └── tokens.template │ │ │ │ │ └── composer.json │ │ │ │ └── PHP-Parser-3.1.5 │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── test │ │ │ │ │ ├── code │ │ │ │ │ │ ├── prettyPrinter │ │ │ │ │ │ │ ├── stmt │ │ │ │ │ │ │ │ ├── throw.test │ │ │ │ │ │ │ │ ├── goto.test │ │ │ │ │ │ │ │ ├── while.test │ │ │ │ │ │ │ │ ├── do_while.test │ │ │ │ │ │ │ │ ├── break_continue.test │ │ │ │ │ │ │ │ ├── if.test │ │ │ │ │ │ │ │ ├── const.test │ │ │ │ │ │ │ │ ├── nullable_types.test │ │ │ │ │ │ │ │ ├── global_static_variables.test │ │ │ │ │ │ │ │ ├── declare.test │ │ │ │ │ │ │ │ ├── multiCatch.test │ │ │ │ │ │ │ │ ├── tryCatch.test │ │ │ │ │ │ │ │ ├── haltCompiler.file-test │ │ │ │ │ │ │ │ ├── for.test │ │ │ │ │ │ │ │ ├── groupUse.test │ │ │ │ │ │ │ │ ├── alias.test │ │ │ │ │ │ │ │ ├── class_const.test │ │ │ │ │ │ │ │ ├── foreach.test │ │ │ │ │ │ │ │ ├── traitUse.test │ │ │ │ │ │ │ │ └── namespaces.test │ │ │ │ │ │ │ ├── expr │ │ │ │ │ │ │ │ ├── include.test │ │ │ │ │ │ │ │ ├── call.test │ │ │ │ │ │ │ │ ├── shortArraySyntax.test │ │ │ │ │ │ │ │ ├── constant_deref.test │ │ │ │ │ │ │ │ ├── arrayDestructuring.test │ │ │ │ │ │ │ │ ├── numbers.test │ │ │ │ │ │ │ │ ├── uvs.test │ │ │ │ │ │ │ │ ├── list.test │ │ │ │ │ │ │ │ ├── intrinsics.test │ │ │ │ │ │ │ │ ├── closure.test │ │ │ │ │ │ │ │ ├── anonymousClass.test │ │ │ │ │ │ │ │ └── stringEscaping.test │ │ │ │ │ │ │ ├── onlyPHP.file-test │ │ │ │ │ │ │ ├── onlyInlineHTML.file-test │ │ │ │ │ │ │ ├── inlineHTMLandPHPtest.file-test │ │ │ │ │ │ │ └── commentsInCommaList.test │ │ │ │ │ │ └── parser │ │ │ │ │ │ │ ├── stmt │ │ │ │ │ │ │ ├── haltCompilerInvalidSyntax.test │ │ │ │ │ │ │ ├── haltCompilerOutermostScope.test │ │ │ │ │ │ │ ├── loop │ │ │ │ │ │ │ │ ├── do.test │ │ │ │ │ │ │ │ └── while.test │ │ │ │ │ │ │ ├── class │ │ │ │ │ │ │ │ ├── final.test │ │ │ │ │ │ │ │ └── conditional.test │ │ │ │ │ │ │ ├── inlineHTML.test │ │ │ │ │ │ │ ├── namespace │ │ │ │ │ │ │ │ ├── nsAfterHashbang.test │ │ │ │ │ │ │ │ ├── commentAfterNamespace.test │ │ │ │ │ │ │ │ └── nested.test │ │ │ │ │ │ │ ├── hashbang.test │ │ │ │ │ │ │ ├── unset.test │ │ │ │ │ │ │ ├── tryWithoutCatch.test │ │ │ │ │ │ │ ├── echo.test │ │ │ │ │ │ │ └── function │ │ │ │ │ │ │ │ └── variadicDefaultValue.test │ │ │ │ │ │ │ ├── expr │ │ │ │ │ │ │ ├── print.test │ │ │ │ │ │ │ ├── clone.test │ │ │ │ │ │ │ ├── errorSuppress.test │ │ │ │ │ │ │ ├── newWithoutClass.test │ │ │ │ │ │ │ ├── exit.test │ │ │ │ │ │ │ ├── uvs │ │ │ │ │ │ │ │ └── globalNonSimpleVarError.test │ │ │ │ │ │ │ └── fetchAndCall │ │ │ │ │ │ │ │ └── constFetch.test │ │ │ │ │ │ │ ├── scalar │ │ │ │ │ │ │ ├── invalidOctal.test │ │ │ │ │ │ │ ├── unicodeEscape.test │ │ │ │ │ │ │ └── magicConst.test │ │ │ │ │ │ │ ├── blockComments.test │ │ │ │ │ │ │ └── errorHandling │ │ │ │ │ │ │ └── eofError.test │ │ │ │ │ ├── PhpParser │ │ │ │ │ │ ├── Parser │ │ │ │ │ │ │ ├── Php5Test.php │ │ │ │ │ │ │ └── Php7Test.php │ │ │ │ │ │ ├── ErrorHandler │ │ │ │ │ │ │ └── ThrowingTest.php │ │ │ │ │ │ └── AutoloaderTest.php │ │ │ │ │ └── bootstrap.php │ │ │ │ │ ├── lib │ │ │ │ │ ├── PhpParser │ │ │ │ │ │ ├── Node │ │ │ │ │ │ │ ├── Scalar.php │ │ │ │ │ │ │ ├── Expr.php │ │ │ │ │ │ │ ├── Stmt.php │ │ │ │ │ │ │ ├── Expr │ │ │ │ │ │ │ │ ├── Cast │ │ │ │ │ │ │ │ │ ├── Array_.php │ │ │ │ │ │ │ │ │ ├── Unset_.php │ │ │ │ │ │ │ │ │ ├── Int_.php │ │ │ │ │ │ │ │ │ ├── Bool_.php │ │ │ │ │ │ │ │ │ ├── Double.php │ │ │ │ │ │ │ │ │ ├── Object_.php │ │ │ │ │ │ │ │ │ └── String_.php │ │ │ │ │ │ │ │ ├── AssignOp │ │ │ │ │ │ │ │ │ ├── Div.php │ │ │ │ │ │ │ │ │ ├── Mod.php │ │ │ │ │ │ │ │ │ ├── Mul.php │ │ │ │ │ │ │ │ │ ├── Pow.php │ │ │ │ │ │ │ │ │ ├── Concat.php │ │ │ │ │ │ │ │ │ ├── Minus.php │ │ │ │ │ │ │ │ │ ├── Plus.php │ │ │ │ │ │ │ │ │ ├── BitwiseAnd.php │ │ │ │ │ │ │ │ │ ├── BitwiseOr.php │ │ │ │ │ │ │ │ │ ├── BitwiseXor.php │ │ │ │ │ │ │ │ │ ├── ShiftLeft.php │ │ │ │ │ │ │ │ │ └── ShiftRight.php │ │ │ │ │ │ │ │ ├── BinaryOp │ │ │ │ │ │ │ │ │ ├── Div.php │ │ │ │ │ │ │ │ │ ├── Mod.php │ │ │ │ │ │ │ │ │ ├── Mul.php │ │ │ │ │ │ │ │ │ ├── Pow.php │ │ │ │ │ │ │ │ │ ├── Concat.php │ │ │ │ │ │ │ │ │ ├── Equal.php │ │ │ │ │ │ │ │ │ ├── Minus.php │ │ │ │ │ │ │ │ │ ├── Plus.php │ │ │ │ │ │ │ │ │ ├── Greater.php │ │ │ │ │ │ │ │ │ ├── NotEqual.php │ │ │ │ │ │ │ │ │ ├── Smaller.php │ │ │ │ │ │ │ │ │ ├── BitwiseAnd.php │ │ │ │ │ │ │ │ │ ├── BitwiseOr.php │ │ │ │ │ │ │ │ │ ├── BitwiseXor.php │ │ │ │ │ │ │ │ │ ├── BooleanAnd.php │ │ │ │ │ │ │ │ │ ├── BooleanOr.php │ │ │ │ │ │ │ │ │ ├── Identical.php │ │ │ │ │ │ │ │ │ ├── LogicalAnd.php │ │ │ │ │ │ │ │ │ ├── LogicalOr.php │ │ │ │ │ │ │ │ │ ├── LogicalXor.php │ │ │ │ │ │ │ │ │ ├── ShiftLeft.php │ │ │ │ │ │ │ │ │ ├── ShiftRight.php │ │ │ │ │ │ │ │ │ ├── NotIdentical.php │ │ │ │ │ │ │ │ │ ├── Coalesce.php │ │ │ │ │ │ │ │ │ ├── GreaterOrEqual.php │ │ │ │ │ │ │ │ │ ├── SmallerOrEqual.php │ │ │ │ │ │ │ │ │ └── Spaceship.php │ │ │ │ │ │ │ │ ├── PreDec.php │ │ │ │ │ │ │ │ ├── PreInc.php │ │ │ │ │ │ │ │ ├── Cast.php │ │ │ │ │ │ │ │ ├── Clone_.php │ │ │ │ │ │ │ │ ├── Empty_.php │ │ │ │ │ │ │ │ ├── Eval_.php │ │ │ │ │ │ │ │ ├── Isset_.php │ │ │ │ │ │ │ │ ├── PostDec.php │ │ │ │ │ │ │ │ ├── PostInc.php │ │ │ │ │ │ │ │ ├── Print_.php │ │ │ │ │ │ │ │ ├── BitwiseNot.php │ │ │ │ │ │ │ │ ├── UnaryMinus.php │ │ │ │ │ │ │ │ ├── ErrorSuppress.php │ │ │ │ │ │ │ │ ├── UnaryPlus.php │ │ │ │ │ │ │ │ ├── Variable.php │ │ │ │ │ │ │ │ ├── BooleanNot.php │ │ │ │ │ │ │ │ ├── YieldFrom.php │ │ │ │ │ │ │ │ ├── ConstFetch.php │ │ │ │ │ │ │ │ ├── ShellExec.php │ │ │ │ │ │ │ │ └── List_.php │ │ │ │ │ │ │ ├── Scalar │ │ │ │ │ │ │ │ ├── MagicConst │ │ │ │ │ │ │ │ │ ├── Dir.php │ │ │ │ │ │ │ │ │ ├── File.php │ │ │ │ │ │ │ │ │ ├── Line.php │ │ │ │ │ │ │ │ │ ├── Class_.php │ │ │ │ │ │ │ │ │ ├── Method.php │ │ │ │ │ │ │ │ │ ├── Trait_.php │ │ │ │ │ │ │ │ │ ├── Function_.php │ │ │ │ │ │ │ │ │ └── Namespace_.php │ │ │ │ │ │ │ │ ├── MagicConst.php │ │ │ │ │ │ │ │ ├── Encapsed.php │ │ │ │ │ │ │ │ └── EncapsedStringPart.php │ │ │ │ │ │ │ ├── Stmt │ │ │ │ │ │ │ │ ├── Nop.php │ │ │ │ │ │ │ │ ├── TraitUseAdaptation.php │ │ │ │ │ │ │ │ ├── Label.php │ │ │ │ │ │ │ │ ├── InlineHTML.php │ │ │ │ │ │ │ │ ├── Else_.php │ │ │ │ │ │ │ │ ├── Throw_.php │ │ │ │ │ │ │ │ ├── Goto_.php │ │ │ │ │ │ │ │ ├── Echo_.php │ │ │ │ │ │ │ │ ├── Finally_.php │ │ │ │ │ │ │ │ ├── Unset_.php │ │ │ │ │ │ │ │ ├── Return_.php │ │ │ │ │ │ │ │ ├── Global_.php │ │ │ │ │ │ │ │ ├── Static_.php │ │ │ │ │ │ │ │ ├── Break_.php │ │ │ │ │ │ │ │ ├── Const_.php │ │ │ │ │ │ │ │ └── Continue_.php │ │ │ │ │ │ │ └── NullableType.php │ │ │ │ │ │ ├── Comment │ │ │ │ │ │ │ └── Doc.php │ │ │ │ │ │ ├── Builder.php │ │ │ │ │ │ ├── ErrorHandler.php │ │ │ │ │ │ ├── Serializer.php │ │ │ │ │ │ ├── Unserializer.php │ │ │ │ │ │ ├── NodeVisitorAbstract.php │ │ │ │ │ │ ├── ErrorHandler │ │ │ │ │ │ │ └── Throwing.php │ │ │ │ │ │ ├── Parser.php │ │ │ │ │ │ └── NodeTraverserInterface.php │ │ │ │ │ └── bootstrap.php │ │ │ │ │ ├── test_old │ │ │ │ │ └── run-php-src.sh │ │ │ │ │ └── grammar │ │ │ │ │ └── tokens.template │ │ │ ├── 2.x │ │ │ │ └── Exception │ │ │ │ │ └── ExitException.php │ │ │ ├── 3.x │ │ │ │ └── Exception │ │ │ │ │ └── ExitException.php │ │ │ ├── 4.5 │ │ │ │ └── Exception │ │ │ │ │ └── ExitException.php │ │ │ └── 4.x │ │ │ │ └── Exception │ │ │ │ └── ExitException.php │ │ ├── exceptions │ │ │ ├── CIPHPUnitTestShow404Exception.php │ │ │ ├── CIPHPUnitTestRedirectException.php │ │ │ ├── CIPHPUnitTestShowErrorException.php │ │ │ └── CIPHPUnitTestExitException.php │ │ ├── CIPHPUnitTestDbConnectionStore.php │ │ └── CIPHPUnitTestNullCodeIgniter.php │ ├── TestCase.php │ ├── DbTestCase.php │ └── UnitTestCase.php └── libraries │ └── Session │ └── MY_Session.php ├── docs ├── ChangeLog.md ├── imgs │ └── netbeans-8.1.png └── Tips.md ├── bin ├── switch-to-1.x.sh ├── filelist.sh ├── check-diff.sh └── check-ci-diff.sh ├── .scrutinizer.yml ├── .gitignore ├── .editorconfig ├── install.php ├── update.php └── CONTRIBUTING.md /application/tests/hooks/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/tests/models/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/tests/helpers/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/tests/libraries/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/tests/.gitignore: -------------------------------------------------------------------------------- 1 | _ci_phpunit_test/tmp/ 2 | -------------------------------------------------------------------------------- /docs/ChangeLog.md: -------------------------------------------------------------------------------- 1 | ../application/tests/_ci_phpunit_test/ChangeLog.md -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/replacing/core/old/3.1.13-Input.php: -------------------------------------------------------------------------------- 1 | ../Input.php -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/replacing/core/old/3.1.13-Common.php: -------------------------------------------------------------------------------- 1 | ../Common.php -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/replacing/core/old/3.1.13-Loader.php: -------------------------------------------------------------------------------- 1 | ../Loader.php -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/replacing/core/old/3.1.13-Output.php: -------------------------------------------------------------------------------- 1 | ../Output.php -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/replacing/libraries/old/3.1.13-Upload.php: -------------------------------------------------------------------------------- 1 | ../Upload.php -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/replacing/core/old/3.1.13-CodeIgniter.php: -------------------------------------------------------------------------------- 1 | ../CodeIgniter.php -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/replacing/helpers/old/3.1.13-url_helper.php: -------------------------------------------------------------------------------- 1 | ../url_helper.php -------------------------------------------------------------------------------- /application/tests/TestCase.php: -------------------------------------------------------------------------------- 1 | 'b', 'c' => 'd']; 8 | ----- 9 | []; 10 | array(1, 2, 3); 11 | ['a' => 'b', 'c' => 'd']; -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/prettyPrinter/expr/shortArraySyntax.test: -------------------------------------------------------------------------------- 1 | Short array syntax 2 | ----- 3 | 'b', 'c' => 'd']; 8 | ----- 9 | []; 10 | array(1, 2, 3); 11 | ['a' => 'b', 'c' => 'd']; -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/prettyPrinter/stmt/if.test: -------------------------------------------------------------------------------- 1 | if/elseif/else 2 | ----- 3 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | require __DIR__.'/lib/Installer.php'; 12 | 13 | $installer = new Installer($argv); 14 | $installer->install(); 15 | -------------------------------------------------------------------------------- /update.php: -------------------------------------------------------------------------------- 1 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | require __DIR__ . '/lib/Installer.php'; 12 | 13 | $installer = new Installer($argv); 14 | $installer->update(); 15 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/TraitUseAdaptation.php: -------------------------------------------------------------------------------- 1 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | class CIPHPUnitTestShow404Exception extends RuntimeException 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/exceptions/CIPHPUnitTestRedirectException.php: -------------------------------------------------------------------------------- 1 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | class CIPHPUnitTestRedirectException extends RuntimeException 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/exceptions/CIPHPUnitTestShowErrorException.php: -------------------------------------------------------------------------------- 1 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | class CIPHPUnitTestShowErrorException extends RuntimeException 12 | { 13 | } 14 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Serializer.php: -------------------------------------------------------------------------------- 1 | $b, 'b' => $a] = $baz; 9 | ----- 10 | !!php7 11 | [$a, $b] = [$c, $d]; 12 | [, $a, , , $b, ] = $foo; 13 | [, [[$a]], $b] = $bar; 14 | ['a' => $b, 'b' => $a] = $baz; -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Unserializer.php: -------------------------------------------------------------------------------- 1 | semValue 4 | #semval($,%t) $this->semValue 5 | #semval(%n) $this->stackPos-(%l-%n) 6 | #semval(%n,%t) $this->stackPos-(%l-%n) 7 | 8 | namespace PhpParser\Parser; 9 | #include; 10 | 11 | /* GENERATED file based on grammar/tokens.y */ 12 | final class Tokens 13 | { 14 | #tokenval 15 | const %s = %n; 16 | #endtokenval 17 | } 18 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/grammar/tokens.template: -------------------------------------------------------------------------------- 1 | semValue 4 | #semval($,%t) $this->semValue 5 | #semval(%n) $this->stackPos-(%l-%n) 6 | #semval(%n,%t) $this->stackPos-(%l-%n) 7 | 8 | namespace PhpParser\Parser; 9 | #include; 10 | 11 | /* GENERATED file based on grammar/tokens.y */ 12 | final class Tokens 13 | { 14 | #tokenval 15 | const %s = %n; 16 | #endtokenval 17 | } 18 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/parser/stmt/namespace/mix.test: -------------------------------------------------------------------------------- 1 | Namespace types cannot be mixed 2 | ----- 3 | 6 | B 7 | 10 | 6 | B 7 | 10 | bar; 5 | ----- 6 | !!php7 7 | Syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' from 2:13 to 2:14 8 | array( 9 | 0: Expr_ConstFetch( 10 | name: Name( 11 | parts: array( 12 | 0: bar 13 | ) 14 | ) 15 | ) 16 | ) 17 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/prettyPrinter/expr/uvs.test: -------------------------------------------------------------------------------- 1 | Uniform variable syntax 2 | ----- 3 | b)(); 12 | (A::$b)(); 13 | ----- 14 | !!php7 15 | (function () { 16 | })(); 17 | array('a', 'b')()(); 18 | A::$b::$c; 19 | $A::$b[$c](); 20 | $A::{$b[$c]}(); 21 | A::${$b}[$c](); 22 | ($a->b)(); 23 | (A::$b)(); 24 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/prettyPrinter/expr/uvs.test: -------------------------------------------------------------------------------- 1 | Uniform variable syntax 2 | ----- 3 | b)(); 12 | (A::$b)(); 13 | ----- 14 | !!php7 15 | (function () { 16 | })(); 17 | array('a', 'b')()(); 18 | A::$b::$c; 19 | $A::$b[$c](); 20 | $A::{$b[$c]}(); 21 | A::${$b}[$c](); 22 | ($a->b)(); 23 | (A::$b)(); 24 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/prettyPrinter/stmt/alias.test: -------------------------------------------------------------------------------- 1 | Aliases (namespacing) 2 | ----- 3 | " 6 | echo " eg: $0 3.1.3" 7 | } 8 | 9 | if [ $# -eq 0 ]; then 10 | usage 11 | exit 12 | fi 13 | 14 | version="$1" 15 | 16 | . ../../../../bin/filelist.sh 17 | 18 | for i in $list 19 | do 20 | (cd `dirname $i` 21 | ln -sf "../`basename $i`" "old/$version-`basename $i`" 22 | echo "$i -> old/$version-`basename $i`") 23 | done 24 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/replacing/mv-current.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | usage() { 4 | echo "Move current files to \"old/\"" 5 | echo " usage: $0 " 6 | echo " eg: $0 3.1.3" 7 | } 8 | 9 | if [ $# -eq 0 ]; then 10 | usage 11 | exit 12 | fi 13 | 14 | version="$1" 15 | 16 | . ../../../../bin/filelist.sh 17 | 18 | for i in $list 19 | do 20 | (cd `dirname $i` 21 | mv -i "`basename $i`" "old/$version-`basename $i`" 22 | echo "$i -> old/$version-`basename $i`") 23 | done 24 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/ErrorHandler/Throwing.php: -------------------------------------------------------------------------------- 1 | $val) { 14 | 15 | } 16 | 17 | foreach ($arr as $key => &$val) { 18 | 19 | } 20 | ----- 21 | foreach ($arr as $val) { 22 | } 23 | foreach ($arr as &$val) { 24 | } 25 | foreach ($arr as $key => $val) { 26 | } 27 | foreach ($arr as $key => &$val) { 28 | } -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/parser/stmt/loop/while.test: -------------------------------------------------------------------------------- 1 | While loop 2 | ----- 3 | $val) { 14 | 15 | } 16 | 17 | foreach ($arr as $key => &$val) { 18 | 19 | } 20 | ----- 21 | foreach ($arr as $val) { 22 | } 23 | foreach ($arr as &$val) { 24 | } 25 | foreach ($arr as $key => $val) { 26 | } 27 | foreach ($arr as $key => &$val) { 28 | } -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/parser/stmt/namespace/nsAfterHashbang.test: -------------------------------------------------------------------------------- 1 | Hashbang followed by namespace declaration 2 | ----- 3 | #!/usr/bin/env php 4 | handleError(new Error('Test')); 15 | } 16 | } -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/parser/stmt/namespace/nsAfterHashbang.test: -------------------------------------------------------------------------------- 1 | Hashbang followed by namespace declaration 2 | ----- 3 | #!/usr/bin/env php 4 | 9 | #!/usr/bin/env php 10 | ----- 11 | array( 12 | 0: Stmt_InlineHTML( 13 | value: #!/usr/bin/env php 14 | 15 | ) 16 | 1: Stmt_Echo( 17 | exprs: array( 18 | 0: Scalar_String( 19 | value: foobar 20 | ) 21 | ) 22 | ) 23 | 2: Stmt_InlineHTML( 24 | value: #!/usr/bin/env php 25 | ) 26 | ) 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/parser/stmt/hashbang.test: -------------------------------------------------------------------------------- 1 | Hashbang line 2 | ----- 3 | #!/usr/bin/env php 4 | 9 | #!/usr/bin/env php 10 | ----- 11 | array( 12 | 0: Stmt_InlineHTML( 13 | value: #!/usr/bin/env php 14 | 15 | ) 16 | 1: Stmt_Echo( 17 | exprs: array( 18 | 0: Scalar_String( 19 | value: foobar 20 | ) 21 | ) 22 | ) 23 | 2: Stmt_InlineHTML( 24 | value: #!/usr/bin/env php 25 | ) 26 | ) 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/parser/stmt/unset.test: -------------------------------------------------------------------------------- 1 | Unset 2 | ----- 3 | a = $a; 11 | } 12 | }; 13 | ----- 14 | new class 15 | { 16 | }; 17 | new class extends A implements B, C 18 | { 19 | }; 20 | new class($a) extends A 21 | { 22 | private $a; 23 | public function __construct($a) 24 | { 25 | $this->a = $a; 26 | } 27 | }; 28 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/prettyPrinter/expr/anonymousClass.test: -------------------------------------------------------------------------------- 1 | Anonymous classes 2 | ----- 3 | a = $a; 11 | } 12 | }; 13 | ----- 14 | new class 15 | { 16 | }; 17 | new class extends A implements B, C 18 | { 19 | }; 20 | new class($a) extends A 21 | { 22 | private $a; 23 | public function __construct($a) 24 | { 25 | $this->a = $a; 26 | } 27 | }; 28 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/bootstrap.php: -------------------------------------------------------------------------------- 1 | dsn !== 'sqlite::memory:' && $db->database !== ':memory:') { 24 | $db->close(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/CIPHPUnitTestNullCodeIgniter.php: -------------------------------------------------------------------------------- 1 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | /** 12 | * Represents CodeIgniter instance is null 13 | */ 14 | class CIPHPUnitTestNullCodeIgniter 15 | { 16 | public function __get($name) 17 | { 18 | throw new LogicException("CodeIgniter instance is not instantiated yet. You can't use `\$this->$name` at the moment. Please fix your test code."); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to ci-phpunit-test 2 | 3 | You must write commit logs and Pull Requests in English. 4 | Because most users could read English, but can't read most of other languages at all. 5 | 6 | ## Test code 7 | 8 | There are tests for ci-phpunit-test: https://github.com/kenjis/ci-app-for-ci-phpunit-test/tree/master/application/tests 9 | 10 | Please write test code for your code and send Pull Request to the repository above. I don't accept your Pull Request if the code coverage is down. 11 | 12 | ## Documentation 13 | 14 | Please update documentation if it is needed. 15 | 16 | * [README.md](README.md) 17 | * [docs](docs) 18 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/exceptions/CIPHPUnitTestExitException.php: -------------------------------------------------------------------------------- 1 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | class CIPHPUnitTestExitException extends RuntimeException 12 | { 13 | public $class; 14 | public $method; 15 | public $exit_status; 16 | 17 | public function setFile($file) 18 | { 19 | $this->file = $file; 20 | } 21 | 22 | public function setLine($line) 23 | { 24 | $this->line = $line; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/PhpParser/AutoloaderTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(class_exists('PhpParser\NodeVisitorAbstract')); 10 | $this->assertFalse(class_exists('PHPParser_NodeVisitor_NameResolver')); 11 | 12 | $this->assertFalse(class_exists('PhpParser\FooBar')); 13 | $this->assertFalse(class_exists('PHPParser_FooBar')); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/parser/expr/exit.test: -------------------------------------------------------------------------------- 1 | Exit 2 | ----- 3 | bar; 5 | ----- 6 | !!php7 7 | Syntax error, unexpected T_OBJECT_OPERATOR, expecting ';' from 2:13 to 2:14 8 | array( 9 | 0: Stmt_Global( 10 | vars: array( 11 | 0: Expr_Variable( 12 | name: Expr_Variable( 13 | name: foo 14 | ) 15 | ) 16 | ) 17 | ) 18 | 1: Expr_ConstFetch( 19 | name: Name( 20 | parts: array( 21 | 0: bar 22 | ) 23 | ) 24 | ) 25 | ) -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/parser/stmt/tryWithoutCatch.test: -------------------------------------------------------------------------------- 1 | Cannot use try without catch or finally 2 | ----- 3 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | namespace Kenjis\MonkeyPatch\Exception; 12 | 13 | use RuntimeException; 14 | 15 | class ExitException extends RuntimeException 16 | { 17 | public $class; 18 | public $method; 19 | public $exit_status; 20 | 21 | public function setFile($file) 22 | { 23 | $this->file = $file; 24 | } 25 | 26 | public function setLine($line) 27 | { 28 | $this->line = $line; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/3.x/Exception/ExitException.php: -------------------------------------------------------------------------------- 1 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | namespace Kenjis\MonkeyPatch\Exception; 12 | 13 | use RuntimeException; 14 | 15 | class ExitException extends RuntimeException 16 | { 17 | public $class; 18 | public $method; 19 | public $exit_status; 20 | 21 | public function setFile($file) 22 | { 23 | $this->file = $file; 24 | } 25 | 26 | public function setLine($line) 27 | { 28 | $this->line = $line; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/4.5/Exception/ExitException.php: -------------------------------------------------------------------------------- 1 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | namespace Kenjis\MonkeyPatch\Exception; 12 | 13 | use RuntimeException; 14 | 15 | class ExitException extends RuntimeException 16 | { 17 | public $class; 18 | public $method; 19 | public $exit_status; 20 | 21 | public function setFile($file) 22 | { 23 | $this->file = $file; 24 | } 25 | 26 | public function setLine($line) 27 | { 28 | $this->line = $line; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/4.x/Exception/ExitException.php: -------------------------------------------------------------------------------- 1 | 6 | * @license MIT License 7 | * @copyright 2015 Kenji Suzuki 8 | * @link https://github.com/kenjis/ci-phpunit-test 9 | */ 10 | 11 | namespace Kenjis\MonkeyPatch\Exception; 12 | 13 | use RuntimeException; 14 | 15 | class ExitException extends RuntimeException 16 | { 17 | public $class; 18 | public $method; 19 | public $exit_status; 20 | 21 | public function setFile($file) 22 | { 23 | $this->file = $file; 24 | } 25 | 26 | public function setLine($line) 27 | { 28 | $this->line = $line; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/prettyPrinter/stmt/namespaces.test: -------------------------------------------------------------------------------- 1 | Namespaces 2 | ----- 3 | 14 | HTML 15 | ----- 16 | 20 | HTML 21 | ----- 22 | HTML 23 | 26 | HTML 27 | ----- 28 | HTML 29 | 32 | HTML 33 | ----- 34 | HTML 35 | 38 | HTML 39 | 42 | HTML 43 | ----- 44 | HTML 45 | 48 | HTML 49 | 52 | HTML -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/Label.php: -------------------------------------------------------------------------------- 1 | name = $name; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('name'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/PhpParser/AutoloaderTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(class_exists('PhpParser\NodeVisitorAbstract')); 13 | $this->assertFalse(class_exists('PHPParser_NodeVisitor_NameResolver')); 14 | 15 | $this->assertFalse(class_exists('PhpParser\FooBar')); 16 | $this->assertFalse(class_exists('PHPParser_FooBar')); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Label.php: -------------------------------------------------------------------------------- 1 | name = $name; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('name'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/parser/expr/fetchAndCall/constFetch.test: -------------------------------------------------------------------------------- 1 | Constant fetches 2 | ----- 3 | var = $var; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('var'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/PreInc.php: -------------------------------------------------------------------------------- 1 | var = $var; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('var'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/PreDec.php: -------------------------------------------------------------------------------- 1 | var = $var; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('var'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/PreInc.php: -------------------------------------------------------------------------------- 1 | var = $var; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('var'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/Cast.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/Clone_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/Empty_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/Eval_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/Isset_.php: -------------------------------------------------------------------------------- 1 | vars = $vars; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('vars'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/PostDec.php: -------------------------------------------------------------------------------- 1 | var = $var; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('var'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/PostInc.php: -------------------------------------------------------------------------------- 1 | var = $var; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('var'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/Print_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/Cast.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/Clone_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/Empty_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/Eval_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/Isset_.php: -------------------------------------------------------------------------------- 1 | vars = $vars; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('vars'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/PostDec.php: -------------------------------------------------------------------------------- 1 | var = $var; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('var'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/PostInc.php: -------------------------------------------------------------------------------- 1 | var = $var; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('var'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/Print_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/BitwiseNot.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/UnaryMinus.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/InlineHTML.php: -------------------------------------------------------------------------------- 1 | value = $value; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('value'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/BitwiseNot.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/UnaryMinus.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/InlineHTML.php: -------------------------------------------------------------------------------- 1 | value = $value; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('value'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Parser.php: -------------------------------------------------------------------------------- 1 | stmts = $stmts; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('stmts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/Throw_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/parser/errorHandling/eofError.test: -------------------------------------------------------------------------------- 1 | Error positions 2 | ----- 3 | stmts = $stmts; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('stmts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Throw_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/parser/errorHandling/eofError.test: -------------------------------------------------------------------------------- 1 | Error positions 2 | ----- 3 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/UnaryPlus.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/Variable.php: -------------------------------------------------------------------------------- 1 | name = $name; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('name'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/Goto_.php: -------------------------------------------------------------------------------- 1 | name = $name; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('name'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/ErrorSuppress.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/UnaryPlus.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/Variable.php: -------------------------------------------------------------------------------- 1 | name = $name; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('name'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Goto_.php: -------------------------------------------------------------------------------- 1 | name = $name; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('name'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/BooleanNot.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/YieldFrom.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/Echo_.php: -------------------------------------------------------------------------------- 1 | exprs = $exprs; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('exprs'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/BooleanNot.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/YieldFrom.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Echo_.php: -------------------------------------------------------------------------------- 1 | exprs = $exprs; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('exprs'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Finally_.php: -------------------------------------------------------------------------------- 1 | stmts = $stmts; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('stmts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Scalar/Encapsed.php: -------------------------------------------------------------------------------- 1 | parts = $parts; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('parts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/parser/stmt/namespace/nested.test: -------------------------------------------------------------------------------- 1 | Nested namespaces are not allowed 2 | ----- 3 | vars = $vars; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('vars'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Unset_.php: -------------------------------------------------------------------------------- 1 | vars = $vars; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('vars'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/Return_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/Trait_.php: -------------------------------------------------------------------------------- 1 | name = $name; 19 | $this->stmts = $stmts; 20 | } 21 | 22 | public function getSubNodeNames() { 23 | return array('name', 'stmts'); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/NullableType.php: -------------------------------------------------------------------------------- 1 | type = $type; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('type'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Return_.php: -------------------------------------------------------------------------------- 1 | expr = $expr; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('expr'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Scalar/MagicConst.php: -------------------------------------------------------------------------------- 1 | vars = $vars; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('vars'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Scalar/MagicConst.php: -------------------------------------------------------------------------------- 1 | vars = $vars; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('vars'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /bin/check-ci-diff.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | usage() { 4 | echo "Get diff for CodeIgniter two versions" 5 | echo " usage: $0 " 6 | echo " eg: $0 CodeIgniter-3.0.0.zip CodeIgniter-3.0.1.zip" 7 | } 8 | 9 | if [ $# -eq 0 ]; then 10 | usage 11 | exit 12 | fi 13 | 14 | f1="$1" 15 | f2="$2" 16 | v1=${f1%.*} 17 | v2=${f2%.*} 18 | 19 | rm -rf "$v1" "$v2" 20 | 21 | unzip "$v1" 22 | unzip "$v2" 23 | 24 | rm -rf "$v1/user_guide" 25 | rm -rf "$v2/user_guide" 26 | diff -uwbrN "$v1" "$v2" > "$v1-$v2.diff" 27 | 28 | . bin/filelist.sh 29 | 30 | diff="$v1-$v2.ci-phpunit-test-only.diff" 31 | /bin/echo -n > "$diff" 32 | 33 | diff -uwb "$v1/index.php" "$v2/index.php" >> "$diff" 34 | 35 | for i in $list 36 | do 37 | diff -uwb "$v1/system/$i" "$v2/system/$i" >> "$diff" 38 | done 39 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/ConstFetch.php: -------------------------------------------------------------------------------- 1 | name = $name; 22 | } 23 | 24 | public function getSubNodeNames() { 25 | return array('name'); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/ShellExec.php: -------------------------------------------------------------------------------- 1 | parts = $parts; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('parts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/ConstFetch.php: -------------------------------------------------------------------------------- 1 | name = $name; 22 | } 23 | 24 | public function getSubNodeNames() { 25 | return array('name'); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/ShellExec.php: -------------------------------------------------------------------------------- 1 | parts = $parts; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('parts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Expr/List_.php: -------------------------------------------------------------------------------- 1 | vars = $vars; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('vars'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/Static_.php: -------------------------------------------------------------------------------- 1 | vars = $vars; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('vars'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/test/code/parser/stmt/echo.test: -------------------------------------------------------------------------------- 1 | Echo 2 | ----- 3 | vars = $vars; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('vars'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/parser/stmt/echo.test: -------------------------------------------------------------------------------- 1 | Echo 2 | ----- 3 | num = $num; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('num'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/Const_.php: -------------------------------------------------------------------------------- 1 | consts = $consts; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('consts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Break_.php: -------------------------------------------------------------------------------- 1 | num = $num; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('num'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Const_.php: -------------------------------------------------------------------------------- 1 | consts = $consts; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('consts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Expr/List_.php: -------------------------------------------------------------------------------- 1 | items = $items; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('items'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Scalar/Encapsed.php: -------------------------------------------------------------------------------- 1 | parts = $parts; 22 | } 23 | 24 | public function getSubNodeNames() { 25 | return array('parts'); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/ClassConst.php: -------------------------------------------------------------------------------- 1 | consts = $consts; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('consts'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Node/Stmt/Continue_.php: -------------------------------------------------------------------------------- 1 | num = $num; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('num'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/Node/Stmt/Continue_.php: -------------------------------------------------------------------------------- 1 | num = $num; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('num'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/lib/PhpParser/NodeTraverserInterface.php: -------------------------------------------------------------------------------- 1 | value = $value; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('value'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/lib/PhpParser/Parser.php: -------------------------------------------------------------------------------- 1 | value = $value; 21 | } 22 | 23 | public function getSubNodeNames() { 24 | return array('value'); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/parser/stmt/class/conditional.test: -------------------------------------------------------------------------------- 1 | Conditional class definition 2 | ----- 3 | 14 | HTML 15 | ----- 16 | 20 | HTML 21 | ----- 22 | HTML 23 | 26 | HTML 27 | ----- 28 | HTML 29 | 32 | HTML 33 | ----- 34 | HTML 35 | 38 | HTML 39 | 42 | HTML 43 | ----- 44 | HTML 45 | 48 | HTML 49 | 52 | HTML 53 | ----- 54 | HTMLHTML 55 | ----- 56 | HTMLHTML -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-2.1.1/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nikic/php-parser", 3 | "description": "A PHP parser written in PHP", 4 | "keywords": ["php", "parser"], 5 | "type": "library", 6 | "license": "BSD-3-Clause", 7 | "authors": [ 8 | { 9 | "name": "Nikita Popov" 10 | } 11 | ], 12 | "require": { 13 | "php": ">=5.4", 14 | "ext-tokenizer": "*" 15 | }, 16 | "require-dev": { 17 | "phpunit/phpunit": "~4.0" 18 | }, 19 | "autoload": { 20 | "psr-4": { 21 | "PhpParser\\": "lib/PhpParser" 22 | } 23 | }, 24 | "bin": ["bin/php-parse"], 25 | "extra": { 26 | "branch-alias": { 27 | "dev-master": "2.1-dev" 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /application/tests/_ci_phpunit_test/patcher/third_party/PHP-Parser-3.1.5/test/code/prettyPrinter/commentsInCommaList.test: -------------------------------------------------------------------------------- 1 | Comments in arrays and function calls 2 | ----- 3 |