Skip to content

Commit

Permalink
Run CS Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Sep 2, 2024
1 parent 58eec8e commit 9f8f5dc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions Core/FieldType/ContentTypeList/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Ibexa\Core\Base\Exceptions\InvalidArgumentType;
use Ibexa\Core\FieldType\FieldType;
use Ibexa\Core\FieldType\Value as BaseValue;

use function is_array;
use function is_string;

Expand Down
1 change: 1 addition & 0 deletions Core/FieldType/ContentTypeList/Value.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Netgen\Bundle\ContentTypeListBundle\Core\FieldType\ContentTypeList;

use Ibexa\Core\FieldType\Value as BaseValue;

use function implode;

final class Value extends BaseValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Ibexa\Core\Persistence\Legacy\Content\FieldValue\Converter;
use Ibexa\Core\Persistence\Legacy\Content\StorageFieldDefinition;
use Ibexa\Core\Persistence\Legacy\Content\StorageFieldValue;

use function explode;
use function implode;
use function trim;
Expand All @@ -26,13 +27,9 @@ public function toFieldValue(StorageFieldValue $value, FieldValue $fieldValue):
$fieldValue->data = empty($data) ? [] : explode(',', $data);
}

public function toStorageFieldDefinition(FieldDefinition $fieldDef, StorageFieldDefinition $storageDef): void
{
}
public function toStorageFieldDefinition(FieldDefinition $fieldDef, StorageFieldDefinition $storageDef): void {}

public function toFieldDefinition(StorageFieldDefinition $storageDef, FieldDefinition $fieldDef): void
{
}
public function toFieldDefinition(StorageFieldDefinition $storageDef, FieldDefinition $fieldDef): void {}

public function getIndexColumn()
{
Expand Down
1 change: 1 addition & 0 deletions DependencyInjection/NetgenContentTypeListExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Yaml\Yaml;

use function file_get_contents;

final class NetgenContentTypeListExtension extends Extension implements PrependExtensionInterface
Expand Down
4 changes: 1 addition & 3 deletions NetgenContentTypeListBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@

use Symfony\Component\HttpKernel\Bundle\Bundle;

final class NetgenContentTypeListBundle extends Bundle
{
}
final class NetgenContentTypeListBundle extends Bundle {}
1 change: 1 addition & 0 deletions Tests/Core/FieldType/ContentTypeList/TypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Netgen\Bundle\ContentTypeListBundle\Core\FieldType\ContentTypeList\Type;
use Netgen\Bundle\ContentTypeListBundle\Core\FieldType\ContentTypeList\Value;
use PHPUnit\Framework\TestCase;

use function implode;

final class TypeTest extends TestCase
Expand Down

0 comments on commit 9f8f5dc

Please sign in to comment.