DX: fix cs

This commit is contained in:
2023-02-28 22:39:33 +01:00
parent b1d4334c0f
commit c35ca3dbeb
16 changed files with 134 additions and 20 deletions

View File

@@ -1,5 +1,14 @@
<?php
declare(strict_types=1);
/*
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\DocGeneratorBundle\tests\Service\Context\Generator;
use Chill\DocGeneratorBundle\Context\ContextManagerInterface;
@@ -17,6 +26,10 @@ use Prophecy\Argument;
use Prophecy\PhpUnit\ProphecyTrait;
use Psr\Log\NullLogger;
/**
* @internal
* @coversNothing
*/
class GeneratorTest extends TestCase
{
use ProphecyTrait;
@@ -29,7 +42,7 @@ class GeneratorTest extends TestCase
$reflection = new \ReflectionClass($destinationStoredObject);
$reflection->getProperty('id')->setAccessible(true);
$reflection->getProperty('id')->setValue($destinationStoredObject, 1);
$entity = new class {};
$entity = new class () {};
$data = [];
$context = $this->prophesize(DocGeneratorContextInterface::class);