2 declare(strict_types = 1);
36 'DECIMAL without precision and scale' => [
38 DecimalDataType::class,
42 'DECIMAL with precision' => [
44 DecimalDataType::class,
48 'DECIMAL with precision and scale' => [
50 DecimalDataType::class,
54 'NUMERIC without length' => [
56 NumericDataType::class,
60 'NUMERIC with length' => [
62 NumericDataType::class,
66 'NUMERIC with length and precision' => [
68 NumericDataType::class,
84 string $columnDefinition,
86 int $precision =
null,
91 $this->assertInstanceOf($className, $subject->dataType);
92 $this->assertSame($precision, $subject->dataType->getPrecision());
93 $this->assertSame($scale, $subject->dataType->getScale());