Skip to content

Commit

Permalink
Run php-cs-fixer with locked version 3.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
l-you committed Feb 29, 2024
1 parent c48f5f8 commit f773e12
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 15 deletions.
4 changes: 3 additions & 1 deletion src/Elastica/IndexTemplate.php
Expand Up @@ -18,4 +18,6 @@
*
* @author Dmitry Balabka <dmitry.balabka@intexsys.lv>
*/
class IndexTemplate extends BaseIndexTemplate {}
class IndexTemplate extends BaseIndexTemplate
{
}
4 changes: 3 additions & 1 deletion src/Event/PostIndexPopulateEvent.php
Expand Up @@ -11,4 +11,6 @@

namespace FOS\ElasticaBundle\Event;

final class PostIndexPopulateEvent extends AbstractIndexPopulateEvent {}
final class PostIndexPopulateEvent extends AbstractIndexPopulateEvent
{
}
4 changes: 3 additions & 1 deletion src/Event/PostIndexResetEvent.php
Expand Up @@ -11,4 +11,6 @@

namespace FOS\ElasticaBundle\Event;

final class PostIndexResetEvent extends AbstractIndexResetEvent {}
final class PostIndexResetEvent extends AbstractIndexResetEvent
{
}
4 changes: 3 additions & 1 deletion src/Event/PostTransformEvent.php
Expand Up @@ -11,4 +11,6 @@

namespace FOS\ElasticaBundle\Event;

final class PostTransformEvent extends AbstractTransformEvent {}
final class PostTransformEvent extends AbstractTransformEvent
{
}
4 changes: 3 additions & 1 deletion tests/Functional/TypeObjectRepository.php
Expand Up @@ -13,4 +13,6 @@

use FOS\ElasticaBundle\Repository;

class TypeObjectRepository extends Repository {}
class TypeObjectRepository extends Repository
{
}
8 changes: 6 additions & 2 deletions tests/Unit/Doctrine/RepositoryManagerTest.php
Expand Up @@ -18,9 +18,13 @@
use FOS\ElasticaBundle\Repository;
use PHPUnit\Framework\TestCase;

class CustomRepository {}
class CustomRepository
{
}

class NamespacedEntity {}
class NamespacedEntity
{
}

/**
* @author Richard Miller <info@limethinking.co.uk>
Expand Down
8 changes: 6 additions & 2 deletions tests/Unit/Manager/RepositoryManagerTest.php
Expand Up @@ -16,9 +16,13 @@
use FOS\ElasticaBundle\Repository;
use PHPUnit\Framework\TestCase;

class CustomRepository extends Repository {}
class CustomRepository extends Repository
{
}

class Entity {}
class Entity
{
}

/**
* @author Richard Miller <info@limethinking.co.uk>
Expand Down
4 changes: 3 additions & 1 deletion tests/Unit/Mocks/DoctrineMongoDBCustomRepositoryMock.php
Expand Up @@ -15,5 +15,7 @@

class DoctrineMongoDBCustomRepositoryMock extends DocumentRepository
{
public function createCustomQueryBuilder() {}
public function createCustomQueryBuilder()
{
}
}
4 changes: 3 additions & 1 deletion tests/Unit/Mocks/DoctrineORMCustomRepositoryMock.php
Expand Up @@ -15,5 +15,7 @@

class DoctrineORMCustomRepositoryMock extends EntityRepository
{
public function createCustomQueryBuilder() {}
public function createCustomQueryBuilder()
{
}
}
4 changes: 3 additions & 1 deletion tests/Unit/Mocks/DoctrinePHPCRCustomRepositoryMock.php
Expand Up @@ -15,5 +15,7 @@

class DoctrinePHPCRCustomRepositoryMock extends DocumentRepository
{
public function createCustomQueryBuilder() {}
public function createCustomQueryBuilder()
{
}
}
4 changes: 3 additions & 1 deletion tests/Unit/ProphecyTrait.php
Expand Up @@ -19,5 +19,7 @@ trait ProphecyTrait
use BaseProphecyTrait;
}
} else {
trait ProphecyTrait {}
trait ProphecyTrait
{
}
}
4 changes: 3 additions & 1 deletion tests/Unit/Provider/IndexableTest.php
Expand Up @@ -108,5 +108,7 @@ public function isIndexable(Entity $entity)
return !$entity->isIndexable();
}

protected function internalMethod() {}
protected function internalMethod()
{
}
}
4 changes: 3 additions & 1 deletion tests/Unit/Serializer/CallbackTest.php
Expand Up @@ -54,5 +54,7 @@ public function testSetGroupsFailsWithInvalidSerializer()

class FakeSerializer
{
public function serialize() {}
public function serialize()
{
}
}

0 comments on commit f773e12

Please sign in to comment.