classUnexpectedPlanTokenException
final class UnexpectedPlanTokenException
extends PlanSyntaxException
A fixture plan token does not match the expected syntax.
Properties§
public string $planpublic int $offsetpublic string $expectedMethods§
public function __construct(public string $plan, public int $offset, public string $expected)A fixture plan token does not match the expected syntax.
Parameters
$plan | string | |
$offset | int | |
$expected | string |
Calls 2
- static-call PlanSyntaxException::__construct() line 22
- function-call
sprintfline 22
Test cases 53§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 52
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsCaseSelectionTestcallsChoiceBindingsTestcallsChoiceValueExceptionTestcallsInverseRelationsTestcallsResolvedRowTestcallsRowChoicesTestcallsConnectedTablesTestcallsOverrideSpecsTestcallsRecursiveRelationExceptionTestcallsRelationCountsTestcallsRelationProjectionTestcallsRelationValueExceptionTestcallsRowBindingsTestcallsRowMaterializerTestcallsGenerationRunTestcallsPlanGeneratorTestcallsPlanSchemaValidatorTestcallsEndpointValidatorTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsChoiceCaseTestcallsChoiceDefinitionExceptionTestcallsChoiceLiteralTestcallsChoiceSyntaxTestcallsChoiceValidationTestcallsPlanContentsTestcallsColumnRefTestcallsCompositeArityMismatchExceptionTestcallsEmptyPlanExceptionTestcallsEmptyTableNameExceptionTestcallsInvalidTableNameExceptionTestcallsMissingEndpointColumnsExceptionTestcallsUnbalancedBracketsExceptionTestcallsUnsupportedManyToManyExceptionTestcallsFixturePlanTestcallsPlanStatementsTestcallsRelationCursorTestcallsRelationReaderTestcallsPlanParserTestcallsPlanPrinterTestcallsPlanSyntaxExceptionTest::testUnexpectedReportsTheOffsetAndWhatWasWantedcallsPlanTablesTestcallsRelationGroupsTestcallsStatementPrinterTestcallsRelationChoiceTestcallsRelationTestcallsPlanValidationTestcallsTableNameTestcallsFixtureProviderTestcallsSqlSchemaProviderTestcalls
Relations§
Instantiated in 15
- new SqlFixture\Plan\Choice\ChoiceLiteral::read() packages/sql-fixture/src/Plan/Choice/ChoiceLiteral.php:30
- new SqlFixture\Plan\Choice\ChoiceLiteral::integer() packages/sql-fixture/src/Plan/Choice/ChoiceLiteral.php:49
- new SqlFixture\Plan\Choice\ChoiceSyntax::parse() packages/sql-fixture/src/Plan/Choice/ChoiceSyntax.php:28
- new SqlFixture\Plan\Choice\ChoiceSyntax::readRelations() packages/sql-fixture/src/Plan/Choice/ChoiceSyntax.php:60
- new SqlFixture\Plan\Choice\ChoiceSyntax::readRelations() packages/sql-fixture/src/Plan/Choice/ChoiceSyntax.php:70
- new SqlFixture\Plan\Choice\ChoiceSyntax::readRelations() packages/sql-fixture/src/Plan/Choice/ChoiceSyntax.php:79
- new SqlFixture\Plan\ColumnRef::from() packages/sql-fixture/src/Plan/ColumnRef.php:51
- new SqlFixture\Plan\ColumnRef::from() packages/sql-fixture/src/Plan/ColumnRef.php:59
- new SqlFixture\Plan\Parsing\RelationCursor::readIdentifier() packages/sql-fixture/src/Plan/Parsing/RelationCursor.php:33
- new SqlFixture\Plan\Parsing\RelationCursor::readIdentifier() packages/sql-fixture/src/Plan/Parsing/RelationCursor.php:44
- new SqlFixture\Plan\Parsing\RelationCursor::readOperator() packages/sql-fixture/src/Plan/Parsing/RelationCursor.php:57
- new SqlFixture\Plan\Parsing\RelationCursor::expectEnd() packages/sql-fixture/src/Plan/Parsing/RelationCursor.php:96
- new SqlFixture\Plan\Parsing\RelationReader::readTargets() packages/sql-fixture/src/Plan/Parsing/RelationReader.php:85
- new SqlFixture\Plan\Parsing\RelationReader::readEndpoint() packages/sql-fixture/src/Plan/Parsing/RelationReader.php:100
- new SqlFixture\Plan\Parsing\RelationReader::readEndpoint() packages/sql-fixture/src/Plan/Parsing/RelationReader.php:127