mirror of
https://github.com/symfony/ux-google-map.git
synced 2026-03-23 23:42:13 +01:00
Apply fabbot rules
This commit is contained in:
@@ -19,7 +19,7 @@ use Symfony\UX\Map\Bridge\Google\Option\MapTypeControlStyle;
|
||||
|
||||
class GoogleOptionsTest extends TestCase
|
||||
{
|
||||
public function testWithMinimalConfiguration(): void
|
||||
public function testWithMinimalConfiguration()
|
||||
{
|
||||
$options = new GoogleOptions();
|
||||
|
||||
@@ -47,7 +47,7 @@ class GoogleOptionsTest extends TestCase
|
||||
self::assertEquals($options, GoogleOptions::fromArray($options->toArray()));
|
||||
}
|
||||
|
||||
public function testWithMinimalConfigurationAndWithoutControls(): void
|
||||
public function testWithMinimalConfigurationAndWithoutControls()
|
||||
{
|
||||
$options = new GoogleOptions(
|
||||
mapId: 'abcdefgh12345678',
|
||||
|
||||
@@ -16,7 +16,7 @@ use Symfony\UX\Map\Bridge\Google\Option\ControlPosition;
|
||||
|
||||
class ControlPositionTest extends TestCase
|
||||
{
|
||||
public function testEnumValues(): void
|
||||
public function testEnumValues()
|
||||
{
|
||||
self::assertSame(24, ControlPosition::BLOCK_END_INLINE_CENTER->value);
|
||||
self::assertSame(25, ControlPosition::BLOCK_END_INLINE_END->value);
|
||||
|
||||
@@ -17,7 +17,7 @@ use Symfony\UX\Map\Bridge\Google\Option\FullscreenControlOptions;
|
||||
|
||||
class FullscreenControlOptionsTest extends TestCase
|
||||
{
|
||||
public function testToArray(): void
|
||||
public function testToArray()
|
||||
{
|
||||
$options = new FullscreenControlOptions(
|
||||
position: ControlPosition::BLOCK_END_INLINE_CENTER
|
||||
|
||||
@@ -16,7 +16,7 @@ use Symfony\UX\Map\Bridge\Google\Option\GestureHandling;
|
||||
|
||||
class GestureHandlingTest extends TestCase
|
||||
{
|
||||
public function testEnumValues(): void
|
||||
public function testEnumValues()
|
||||
{
|
||||
self::assertSame('cooperative', GestureHandling::COOPERATIVE->value);
|
||||
self::assertSame('greedy', GestureHandling::GREEDY->value);
|
||||
|
||||
@@ -18,7 +18,7 @@ use Symfony\UX\Map\Bridge\Google\Option\MapTypeControlStyle;
|
||||
|
||||
class MapTypeControlOptionsTest extends TestCase
|
||||
{
|
||||
public function testToArray(): void
|
||||
public function testToArray()
|
||||
{
|
||||
$options = new MapTypeControlOptions(
|
||||
mapTypeIds: ['satellite', 'hybrid'],
|
||||
|
||||
@@ -16,7 +16,7 @@ use Symfony\UX\Map\Bridge\Google\Option\MapTypeControlStyle;
|
||||
|
||||
class MapTypeControlStyleTest extends TestCase
|
||||
{
|
||||
public function testEnumValues(): void
|
||||
public function testEnumValues()
|
||||
{
|
||||
self::assertSame(0, MapTypeControlStyle::DEFAULT->value);
|
||||
self::assertSame(2, MapTypeControlStyle::DROPDOWN_MENU->value);
|
||||
|
||||
@@ -17,7 +17,7 @@ use Symfony\UX\Map\Bridge\Google\Option\StreetViewControlOptions;
|
||||
|
||||
class StreetViewControlOptionsTest extends TestCase
|
||||
{
|
||||
public function testToArray(): void
|
||||
public function testToArray()
|
||||
{
|
||||
$options = new StreetViewControlOptions(
|
||||
position: ControlPosition::INLINE_END_BLOCK_CENTER
|
||||
|
||||
@@ -17,7 +17,7 @@ use Symfony\UX\Map\Bridge\Google\Option\ZoomControlOptions;
|
||||
|
||||
class ZoomControlOptionsTest extends TestCase
|
||||
{
|
||||
public function testToArray(): void
|
||||
public function testToArray()
|
||||
{
|
||||
$options = new ZoomControlOptions(
|
||||
position: ControlPosition::BLOCK_START_INLINE_END,
|
||||
|
||||
Reference in New Issue
Block a user