classMissingColumnDefinitionsException
final class MissingColumnDefinitionsException
extends SchemaParseException
A table definition has no usable columns.
Properties§
public string $tableNameMethods§
public function __construct(public string $tableName)A table definition has no usable columns.
Parameters
$tableName | string |
Calls 2
- static-call SchemaParseException::__construct() line 20
- function-call
sprintfline 20
Test cases 32§
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 31
PostgreSqlEndToEndTestcallsSqliteIntegrationTestcallsDatabaseFixtureProviderTestcallsFileFixtureProviderTestcallsRowMaterializerTestcallsPlanGeneratorTestcallsPlanSchemaValidatorTestcallsRowGenerationTestcallsFixtureGeneratorTestcallsFixtureProviderTestcallsConstructorHydrationTestcallsPropertyHydrationTestcallsMySqlSchemaFetcherTestcallsMySqlSchemaParserTest::testACreateTableWithNoDefinitionListIsReportedAsHavingNoColumnscallsDefinitionIntegrityTestcallsTableDefinitionTestcallsPlatformFactoryTestcallsPostgreSqlSchemaFetcherTestcallsPostgreSqlSchemaParserTest::testThrowsExceptionForEmptyTablecallsSqliteSchemaFetcherTestcallsSqliteSchemaParserTest::testThrowsExceptionForEmptyTablecallsDatabaseSchemaCacheTestcallsDdlDirectoryTestcallsDdlFileTestcallsSqlSchemaProviderTestcallsExpectedCreateTableExceptionTestcallsInvalidSqlExceptionTestcallsMySqlSchemaParserTestcallsSchemaFetcherInterfaceTestcallsSchemaParseExceptionTest::testNoColumnscallsSchemaParserInterfaceTestcalls
Relations§
Instantiated in 6
- new SqlFixture\Platform\MySql\Schema\TableDefinition::extractColumns() packages/sql-fixture/src/Platform/MySql/Schema/TableDefinition.php:40
- new SqlFixture\Platform\MySql\Schema\TableDefinition::extractColumns() packages/sql-fixture/src/Platform/MySql/Schema/TableDefinition.php:65
- new SqlFixture\Platform\PostgreSql\PostgreSqlSchemaParser::parse() packages/sql-fixture/src/Platform/PostgreSql/PostgreSqlSchemaParser.php:38
- new SqlFixture\Platform\PostgreSql\PostgreSqlSchemaParser::parse() packages/sql-fixture/src/Platform/PostgreSql/PostgreSqlSchemaParser.php:45
- new SqlFixture\Platform\Sqlite\SqliteSchemaParser::parse() packages/sql-fixture/src/Platform/Sqlite/SqliteSchemaParser.php:41
- new SqlFixture\Platform\Sqlite\SqliteSchemaParser::parse() packages/sql-fixture/src/Platform/Sqlite/SqliteSchemaParser.php:48