Branch: refs/heads/master Home: https://github.com/phpmyadmin/sql-parser Commit: 9f16b246ba0752b0cbf568e469cb2559cb3ace4a https://github.com/phpmyadmin/sql-parser/commit/9f16b246ba0752b0cbf568e469cb... Author: William Desportes williamdes@wdes.fr Date: 2021-05-20 (Thu, 05 May 2021) +02:00
Changed paths: M composer.json M phpstan-baseline.neon M src/Tools/TestGenerator.php M tests/TestCase.php M tests/data/bugs/gh14.out M tests/data/bugs/gh16.out M tests/data/bugs/gh317.out M tests/data/bugs/gh9.out M tests/data/bugs/pma11800.out M tests/data/bugs/pma11836.out M tests/data/bugs/pma11843.out M tests/data/bugs/pma11867.out M tests/data/bugs/pma11879.out M tests/data/lexer/lex.out M tests/data/lexer/lexBool.out M tests/data/lexer/lexComment.out M tests/data/lexer/lexCommentEnd.out M tests/data/lexer/lexDelimiter.out M tests/data/lexer/lexDelimiter2.out M tests/data/lexer/lexDelimiterErr1.out M tests/data/lexer/lexDelimiterErr2.out M tests/data/lexer/lexDelimiterErr3.out M tests/data/lexer/lexDelimiterLen.out M tests/data/lexer/lexKeyword.out M tests/data/lexer/lexKeyword2.out M tests/data/lexer/lexLabel1.out M tests/data/lexer/lexLabel2.out M tests/data/lexer/lexNoLabel.out M tests/data/lexer/lexNumber.out M tests/data/lexer/lexOperator.out M tests/data/lexer/lexOperatorStarIsArithmetic.out M tests/data/lexer/lexOperatorStarIsWildcard.out M tests/data/lexer/lexString.out M tests/data/lexer/lexStringErr1.out M tests/data/lexer/lexSymbol.out M tests/data/lexer/lexSymbolErr1.out M tests/data/lexer/lexSymbolErr2.out M tests/data/lexer/lexSymbolErr3.out M tests/data/lexer/lexSymbolUser.out M tests/data/lexer/lexUtf8.out M tests/data/lexer/lexWhitespace.out M tests/data/lexer/lexWildcardThenComment.out M tests/data/misc/parseParameter.out M tests/data/parser/parse.out M tests/data/parser/parse2.out M tests/data/parser/parseAlter.out M tests/data/parser/parseAlter10.out M tests/data/parser/parseAlter11.out M tests/data/parser/parseAlter12.out M tests/data/parser/parseAlter2.out M tests/data/parser/parseAlter3.out M tests/data/parser/parseAlter4.out M tests/data/parser/parseAlter5.out M tests/data/parser/parseAlter6.out M tests/data/parser/parseAlter7.out M tests/data/parser/parseAlter8.out M tests/data/parser/parseAlter9.out M tests/data/parser/parseAlterErr.out M tests/data/parser/parseAlterErr2.out M tests/data/parser/parseAlterErr3.out M tests/data/parser/parseAlterTableSetAutoIncrementError.out M tests/data/parser/parseAlterWithInvisible.out M tests/data/parser/parseArrayErr1.out M tests/data/parser/parseArrayErr3.out M tests/data/parser/parseCall.out M tests/data/parser/parseCall2.out M tests/data/parser/parseCall3.out M tests/data/parser/parseCreateDatabase.out M tests/data/parser/parseCreateDatabaseErr.out M tests/data/parser/parseCreateFunction.out M tests/data/parser/parseCreateFunctionErr1.out M tests/data/parser/parseCreateFunctionErr2.out M tests/data/parser/parseCreateFunctionErr3.out M tests/data/parser/parseCreateProcedure.out M tests/data/parser/parseCreateProcedure2.out M tests/data/parser/parseCreateSchema.out M tests/data/parser/parseCreateSchemaErr.out M tests/data/parser/parseCreateTable.out M tests/data/parser/parseCreateTable2.out M tests/data/parser/parseCreateTable3.out M tests/data/parser/parseCreateTable4.out M tests/data/parser/parseCreateTable5.out M tests/data/parser/parseCreateTable6.out M tests/data/parser/parseCreateTable7.out M tests/data/parser/parseCreateTableAsSelect.out M tests/data/parser/parseCreateTableErr1.out M tests/data/parser/parseCreateTableErr2.out M tests/data/parser/parseCreateTableErr3.out M tests/data/parser/parseCreateTableErr4.out M tests/data/parser/parseCreateTableErr5.out M tests/data/parser/parseCreateTableLike.out M tests/data/parser/parseCreateTableSelect.out M tests/data/parser/parseCreateTableSpatial.out M tests/data/parser/parseCreateTableTimestampWithPrecision.out M tests/data/parser/parseCreateTrigger.out M tests/data/parser/parseCreateUser.out M tests/data/parser/parseCreateView.out M tests/data/parser/parseCreateView2.out M tests/data/parser/parseCreateViewWithQuotes.out M tests/data/parser/parseCreateViewWithWrongSyntax.out M tests/data/parser/parseCreateViewWithoutQuotes.out M tests/data/parser/parseDelete.out M tests/data/parser/parseDelete10.out M tests/data/parser/parseDelete11.out M tests/data/parser/parseDelete12.out M tests/data/parser/parseDelete2.out M tests/data/parser/parseDelete3.out M tests/data/parser/parseDelete4.out M tests/data/parser/parseDelete5.out M tests/data/parser/parseDelete6.out M tests/data/parser/parseDelete7.out M tests/data/parser/parseDelete8.out M tests/data/parser/parseDelete9.out M tests/data/parser/parseDeleteErr1.out M tests/data/parser/parseDeleteErr10.out M tests/data/parser/parseDeleteErr11.out M tests/data/parser/parseDeleteErr12.out M tests/data/parser/parseDeleteErr2.out M tests/data/parser/parseDeleteErr3.out M tests/data/parser/parseDeleteErr4.out M tests/data/parser/parseDeleteErr5.out M tests/data/parser/parseDeleteErr6.out M tests/data/parser/parseDeleteErr7.out M tests/data/parser/parseDeleteErr8.out M tests/data/parser/parseDeleteErr9.out M tests/data/parser/parseDeleteJoin.out M tests/data/parser/parseDelimiter.out M tests/data/parser/parseDrop.out M tests/data/parser/parseDrop2.out M tests/data/parser/parseExplain.out M tests/data/parser/parseInsert.out M tests/data/parser/parseInsertErr.out M tests/data/parser/parseInsertErr2.out M tests/data/parser/parseInsertIntoErr.out M tests/data/parser/parseInsertIntoSet.out M tests/data/parser/parseInsertOnDuplicateKey.out M tests/data/parser/parseInsertOnDuplicateKeyErr.out M tests/data/parser/parseInsertSelect.out M tests/data/parser/parseInsertSelectOnDuplicateKey.out M tests/data/parser/parseInsertSet.out M tests/data/parser/parseInsertSetOnDuplicateKey.out M tests/data/parser/parseLimitErr1.out M tests/data/parser/parseLimitErr2.out M tests/data/parser/parseLoad1.out M tests/data/parser/parseLoad2.out M tests/data/parser/parseLoad3.out M tests/data/parser/parseLoad4.out M tests/data/parser/parseLoad5.out M tests/data/parser/parseLoad6.out M tests/data/parser/parseLoadErr1.out M tests/data/parser/parseLoadErr2.out M tests/data/parser/parseLoadErr3.out M tests/data/parser/parseLoadErr4.out M tests/data/parser/parseLoadErr5.out M tests/data/parser/parseLoadErr6.out M tests/data/parser/parseLock1.out M tests/data/parser/parseLock2.out M tests/data/parser/parseLock3.out M tests/data/parser/parseLock4.out M tests/data/parser/parseLock5.out M tests/data/parser/parseLock6.out M tests/data/parser/parseLockErr1.out M tests/data/parser/parseLockErr10.out M tests/data/parser/parseLockErr2.out M tests/data/parser/parseLockErr3.out M tests/data/parser/parseLockErr4.out M tests/data/parser/parseLockErr5.out M tests/data/parser/parseLockErr6.out M tests/data/parser/parseLockErr7.out M tests/data/parser/parseLockErr8.out M tests/data/parser/parseLockErr9.out M tests/data/parser/parsePurge.out M tests/data/parser/parsePurge2.out M tests/data/parser/parsePurge3.out M tests/data/parser/parsePurge4.out M tests/data/parser/parsePurgeErr.out M tests/data/parser/parsePurgeErr2.out M tests/data/parser/parsePurgeErr3.out M tests/data/parser/parseRename.out M tests/data/parser/parseRename2.out M tests/data/parser/parseRenameErr1.out M tests/data/parser/parseRenameErr2.out M tests/data/parser/parseRenameErr3.out M tests/data/parser/parseRenameErr4.out M tests/data/parser/parseRenameErr5.out M tests/data/parser/parseReplace.out M tests/data/parser/parseReplace2.out M tests/data/parser/parseReplaceErr.out M tests/data/parser/parseReplaceErr2.out M tests/data/parser/parseReplaceErr3.out M tests/data/parser/parseReplaceIntoErr.out M tests/data/parser/parseReplaceSelect.out M tests/data/parser/parseReplaceSet.out M tests/data/parser/parseReplaceValues.out M tests/data/parser/parseRestore.out M tests/data/parser/parseSelect.out M tests/data/parser/parseSelect10.out M tests/data/parser/parseSelect11.out M tests/data/parser/parseSelect2.out M tests/data/parser/parseSelect3.out M tests/data/parser/parseSelect4.out M tests/data/parser/parseSelect5.out M tests/data/parser/parseSelect6.out M tests/data/parser/parseSelect7.out M tests/data/parser/parseSelect8.out M tests/data/parser/parseSelect9.out M tests/data/parser/parseSelectCase1.out M tests/data/parser/parseSelectCase2.out M tests/data/parser/parseSelectCase3.out M tests/data/parser/parseSelectCase4.out M tests/data/parser/parseSelectCase5.out M tests/data/parser/parseSelectCaseAlias1.out M tests/data/parser/parseSelectCaseAlias2.out M tests/data/parser/parseSelectCaseAlias3.out M tests/data/parser/parseSelectCaseAlias4.out M tests/data/parser/parseSelectCaseAlias5.out M tests/data/parser/parseSelectCaseAlias6.out M tests/data/parser/parseSelectCaseAliasErr1.out M tests/data/parser/parseSelectCaseAliasErr2.out M tests/data/parser/parseSelectCaseAliasErr3.out M tests/data/parser/parseSelectCaseAliasErr4.out M tests/data/parser/parseSelectCaseErr1.out M tests/data/parser/parseSelectCaseErr2.out M tests/data/parser/parseSelectCaseErr3.out M tests/data/parser/parseSelectCaseErr4.out M tests/data/parser/parseSelectCaseErr5.out M tests/data/parser/parseSelectEndOptions1.out M tests/data/parser/parseSelectEndOptions2.out M tests/data/parser/parseSelectEndOptionsErr.out M tests/data/parser/parseSelectErr1.out M tests/data/parser/parseSelectErr2.out M tests/data/parser/parseSelectExists.out M tests/data/parser/parseSelectIndexHint1.out M tests/data/parser/parseSelectIndexHint2.out M tests/data/parser/parseSelectIndexHintErr1.out M tests/data/parser/parseSelectIndexHintErr2.out M tests/data/parser/parseSelectIndexHintErr3.out M tests/data/parser/parseSelectIndexHintErr4.out M tests/data/parser/parseSelectIntoOptions1.out M tests/data/parser/parseSelectIntoOptions2.out M tests/data/parser/parseSelectIntoOptions3.out M tests/data/parser/parseSelectJoinCross.out M tests/data/parser/parseSelectJoinMultiple.out M tests/data/parser/parseSelectJoinMultiple2.out M tests/data/parser/parseSelectJoinNatural.out M tests/data/parser/parseSelectJoinNaturalLeft.out M tests/data/parser/parseSelectJoinNaturalLeftOuter.out M tests/data/parser/parseSelectJoinNaturalRight.out M tests/data/parser/parseSelectJoinNaturalRightOuter.out M tests/data/parser/parseSelectJoinStraight.out M tests/data/parser/parseSelectNested.out M tests/data/parser/parseSelectUnion.out M tests/data/parser/parseSelectUnion2.out M tests/data/parser/parseSelectWithParenthesis.out M tests/data/parser/parseSelectWrongOrder.out M tests/data/parser/parseSelectWrongOrder2.out M tests/data/parser/parseSetCharacterSet.out M tests/data/parser/parseSetCharacterSetError.out M tests/data/parser/parseSetCharset.out M tests/data/parser/parseSetCharsetError.out M tests/data/parser/parseSetError1.out M tests/data/parser/parseSetNames.out M tests/data/parser/parseSetNames2.out M tests/data/parser/parseSetNames3.out M tests/data/parser/parseSetNamesError.out M tests/data/parser/parseSetNamesError2.out M tests/data/parser/parseSetNamesError3.out M tests/data/parser/parseTransaction.out M tests/data/parser/parseTransaction2.out M tests/data/parser/parseTransaction3.out M tests/data/parser/parseTransactionErr1.out M tests/data/parser/parseUnlock1.out M tests/data/parser/parseUnlockErr1.out M tests/data/parser/parseUpdate.out M tests/data/parser/parseUpdate2.out M tests/data/parser/parseUpdate3.out M tests/data/parser/parseUpdateErr.out
Log Message: ----------- Use zumba/json-serializer for tests data output
Ref: https://github.com/zumba/json-serializer/issues/46 (for why the JSON pretty print hack is needed)
Signed-off-by: William Desportes williamdes@wdes.fr