Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
11 | public static function new(string $name) : self |
||
12 | { |
||
13 | return new self( |
||
14 | sprintf( |
||
15 | 'Unknown column type "%s" requested. Any Doctrine type that you use has ' |
||
16 | . 'to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list of all the ' |
||
17 | . 'known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database ' |
||
18 | . 'introspection then you might have forgotten to register all database types for a Doctrine Type. ' |
||
19 | . 'Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement ' |
||
20 | . 'Type#getMappedDatabaseTypes(). If the type name is empty you might ' |
||
21 | . 'have a problem with the cache or forgot some mapping information.', |
||
22 | $name |
||
23 | ) |
||
27 |