mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -17,6 +17,7 @@ use Symfony\Component\Serializer\Exception\UnexpectedValueException;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class DocGenEncoderTest extends TestCase
|
||||
|
@@ -18,6 +18,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
class CollectionDocGenNormalizerTest extends KernelTestCase
|
||||
@@ -38,7 +39,7 @@ class CollectionDocGenNormalizerTest extends KernelTestCase
|
||||
(object) ['v' => 'baz'],
|
||||
]);
|
||||
|
||||
//filter to get non continuous indexes
|
||||
// filter to get non continuous indexes
|
||||
$criteria = new Criteria();
|
||||
$criteria->where(Criteria::expr()->neq('v', 'bar'));
|
||||
|
||||
|
@@ -24,6 +24,7 @@ use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class DocGenObjectNormalizerTest extends KernelTestCase
|
||||
@@ -238,6 +239,7 @@ class TestableParentClass
|
||||
{
|
||||
/**
|
||||
* @Serializer\Groups("docgen:read")
|
||||
*
|
||||
* @Serializer\Context(normalizationContext={"groups": "docgen:read:foo"}, groups={"docgen:read"})
|
||||
*/
|
||||
public ?TestableChildClass $child;
|
||||
|
Reference in New Issue
Block a user