tests/unit/table/DecimalColumnTest.php
/**
     * @test
     * @dataProvider providerForGettingLengthWithoutScale
     * @param string $schema
     * @param string|null $expected
     */
@test
@dataProvider providerForGettingLengthWithoutScale
@param string $schema
@param string|null $expected
@test @dataProvider providerForGettingLengthWithoutScale @param string $schema @param string|null $expected
public function shouldReturnProperLengthWithoutScale(string $schema, ?string $expected): void
    {
        $this->column->setPrecision(1);
        self::assertSame($expected, $this->column->getLength($schema));
    }
public function shouldReturnProperLengthWithoutScale ( string $ schema , ? string $ expected ) : void { $ this -> column -> setPrecision ( 1 ) ; self :: assertSame ( $ expected , $ this -> column -> getLength ( $ schema ) ) ; }
@test
 @dataProvider providerForGettingLengthWithoutScale
 @param string $schema
 @param string|null $expected
@test @dataProvider providerForGettingLengthWithoutScale @param string $schema @param string|null $expected