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 37§
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 36
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsConnectedTablesTestcallsOverrideSpecsTestcallsRelationCountsTestcallsRelationProjectionTestcallsRowMaterializerTestcallsGenerationRunTestcallsPlanGeneratorTestcallsPlanSchemaValidatorTestcallsEndpointValidatorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsColumnRefTestcallsCompositeArityMismatchExceptionTestcallsEmptyPlanExceptionTestcallsEmptyTableNameExceptionTestcallsInvalidTableNameExceptionTestcallsMissingEndpointColumnsExceptionTestcallsUnbalancedBracketsExceptionTestcallsUnsupportedManyToManyExceptionTestcallsFixturePlanTestcallsPlanStatementsTestcallsRelationCursorTestcallsRelationReaderTestcallsPlanParserTestcallsPlanPrinterTestcallsPlanSyntaxExceptionTest::testUnexpectedReportsTheOffsetAndWhatWasWantedcallsPlanTablesTestcallsRelationGroupsTestcallsStatementPrinterTestcallsRelationTestcallsPlanValidationTestcallsTableNameTestcallsSqlSchemaProviderTestcalls
Relations§
Instantiated in 9
- 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